Question: Which is shorter, The Fabulous Baker Boys or The Sum of All Fears (featuring Ben Affleck)?
Choices:
Talk to Her
Curse of the Golden Flower
Training Day
Rebecca
Pleasantville
The Fabulous Baker Boys
The Hunchback of Notre Dame
The Sum of All Fears
The Fifth Element
A Prairie Home Companion
Program:
function: Find
inputs: The Fabulous Baker Boys
function: Find
inputs: Ben Affleck
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Sum of All Fears
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fabulous Baker Boys" .  } UNION { ?e <pred:name> "The Sum of All Fears" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ben Affleck" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Fabulous Baker Boys