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