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