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