Question: Which movie is longer, Platoon (nominated for National Society of Film Critics Award for Best Director) or Walk the Line?
Choices:
Pleasantville
Curse of the Golden Flower
Walk the Line
Platoon
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
The Fifth Element
The Towering Inferno
Rebecca
Program:
function: Find
inputs: National Society of Film Critics Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Platoon
function: And
dependencies: 1
2
function: Find
inputs: Walk the Line
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Platoon" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Director" .   } UNION { ?e <pred:name> "Walk the Line" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Walk the Line