Question: Does Traffic (that was nominated for a Golden Globe Award for Best Director) or The Others have the longer running time?
Choices:
The Fifth Element
Talk to Her
Curse of the Golden Flower
Rebecca
Pleasantville
Training Day
The Others
Traffic
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Golden Globe Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Traffic
function: And
dependencies: 1
2
function: Find
inputs: The Others
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Traffic" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Director" .   } UNION { ?e <pred:name> "The Others" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Traffic