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