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