Question: Does Days of Heaven or Giant (whose narrative location is Montevideo) have the shorter runtime?
Choices:
Giant
Rebecca
The Fifth Element
Talk to Her
Days of Heaven
Training Day
A Prairie Home Companion
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Days of Heaven
function: Find
inputs: Montevideo
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Giant
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Days of Heaven" .  } UNION { ?e <pred:name> "Giant" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Montevideo" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Giant