Question: Which movie is shorter, X2 or Jane Eyre (the one whose production company is Miramax)?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
Pleasantville
Talk to Her
X2
The Towering Inferno
Curse of the Golden Flower
Jane Eyre
Training Day
Program:
function: Find
inputs: X2
function: Find
inputs: Miramax
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "X2" .  } UNION { ?e <pred:name> "Jane Eyre" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Miramax" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jane Eyre