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