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