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