Question: Which is shorter, Julius Caesar shot in Spain or The Fisher King?
Choices:
Rebecca
Training Day
The Fisher King
The Fifth Element
A Prairie Home Companion
Talk to Her
Julius Caesar
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: The Fisher King
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Spain" .   } UNION { ?e <pred:name> "The Fisher King" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Julius Caesar