Question: Mighty Aphrodite or Iron Man 3 which has longer duration.
Choices:
The Towering Inferno
Training Day
Curse of the Golden Flower
A Prairie Home Companion
The Fifth Element
Pleasantville
Rebecca
Mighty Aphrodite
The Hunchback of Notre Dame
Iron Man 3
Program:
function: Find
inputs: Mighty Aphrodite
function: Find
inputs: Iron Man 3
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mighty Aphrodite" .  } UNION { ?e <pred:name> "Iron Man 3" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Iron Man 3