Question: Which movie is longer, Grindhouse or Indiana Jones and the Temple of Doom (the one that is shot in Florida)?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Talk to Her
Rebecca
Grindhouse
Pleasantville
Indiana Jones and the Temple of Doom
The Towering Inferno
Training Day
Program:
function: Find
inputs: Grindhouse
function: Find
inputs: Florida
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Indiana Jones and the Temple of Doom
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grindhouse" .  } UNION { ?e <pred:name> "Indiana Jones and the Temple of Doom" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Florida" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Grindhouse