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