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