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