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