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