Question: Which movie is shorter, Primal Fear or Freddy vs. Jason?
Choices:
The Towering Inferno
Primal Fear
Training Day
Rebecca
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Pleasantville
A Prairie Home Companion
Freddy vs. Jason
Program:
function: Find
inputs: Primal Fear
function: Find
inputs: Freddy vs. Jason
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Primal Fear" .  } UNION { ?e <pred:name> "Freddy vs. Jason" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Freddy vs. Jason