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