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