Question: Which is longer in duration, the Don Siegel directed The Killers, or Superman II?
Choices:
Pleasantville
Training Day
Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
The Killers
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Superman II
Program:
function: Find
inputs: Don Siegel
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Killers
function: And
dependencies: 1
2
function: Find
inputs: Superman II
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Killers" . ?e <director> ?e_1 . ?e_1 <pred:name> "Don Siegel" .   } UNION { ?e <pred:name> "Superman II" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Superman II