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