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