Question: Which is shorter, The Thin Red Line, which was nominated for National Society of Film Critics Award for Best Director or Jaws, which was nominated for Golden Globe Award for Best Original Score?
Choices:
The Thin Red Line
The Towering Inferno
Jaws
Training Day
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Pleasantville
Answer: Jaws
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Thin Red Line" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Director" .   } UNION { ?e <pred:name> "Jaws" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Golden Globe Award for Best Original Score" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: National Society of Film Critics Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Thin Red Line
function: And
dependencies: 1
2
function: Find
inputs: Golden Globe Award for Best Original Score
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Jaws
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less