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