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