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