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