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