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