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