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