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