Question: Which movie is longer, Exodus (the one whose genre is war film) or The World's Fastest Indian?
Choices:
Exodus
Training Day
Curse of the Golden Flower
Rebecca
Talk to Her
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
The World's Fastest Indian
Answer: Exodus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Exodus" . ?e <genre> ?e_1 . ?e_1 <pred:name> "war film" .   } UNION { ?e <pred:name> "The World's Fastest Indian" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: war film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Exodus
function: And
dependencies: 1
2
function: Find
inputs: The World's Fastest Indian
function: SelectBetween
dependencies: 3
4
inputs: duration
greater