Question: Which has the greater duration, Life as We Know It or Dredd?
Choices:
Dredd
Rebecca
Life as We Know It
Curse of the Golden Flower
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
The Towering Inferno
Program:
function: Find
inputs: Life as We Know It
function: Find
inputs: Dredd
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Life as We Know It" .  } UNION { ?e <pred:name> "Dredd" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Life as We Know It