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