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