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