Question: Which is shorter, Neighbours which was shot in Montreal or The Prize?
Choices:
Frankenstein
The Town
Robin Hood
The Prize
Eve
The Fugitive
Neighbours
The Animatrix
The Cure
Friends
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Neighbours
function: And
dependencies: 1
2
function: Find
inputs: The Prize
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Neighbours" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Montreal" .   } UNION { ?e <pred:name> "The Prize" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Neighbours