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