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