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