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