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