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