Question: Which movie is longer, Flags of Our Fathers or House of Sand and Fog?
Choices:
Pleasantville
The Fifth Element
House of Sand and Fog
Talk to Her
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Flags of Our Fathers
Program:
function: Find
inputs: Flags of Our Fathers
function: Find
inputs: House of Sand and Fog
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flags of Our Fathers" .  } UNION { ?e <pred:name> "House of Sand and Fog" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Flags of Our Fathers