Question: Is Little Children or Spy Game (shot in Budapest) longer in duration?
Choices:
Talk to Her
Little Children
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Training Day
Rebecca
Curse of the Golden Flower
The Fifth Element
Spy Game
Program:
function: Find
inputs: Little Children
function: Find
inputs: Budapest
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Spy Game
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Children" .  } UNION { ?e <pred:name> "Spy Game" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Budapest" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Little Children