Question: Which movie is longer, The Runaways or Taxi (the one whose narrative location is Marseille)?
Choices:
The Fifth Element
Pleasantville
The Runaways
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Rebecca
Talk to Her
Taxi
Program:
function: Find
inputs: The Runaways
function: Find
inputs: Marseille
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Taxi
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Runaways" .  } UNION { ?e <pred:name> "Taxi" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Marseille" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Runaways