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