Question: Which movie is longer, The Last of the Mohicans (the one that was nominated for Golden Globe Award for Best Original Score) or Hamlet (the one that was nominated for Broadcast Film Critics Association Award for Best Film)?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Rebecca
The Last of the Mohicans
Talk to Her
The Fifth Element
Pleasantville
Hamlet
Program:
function: Find
inputs: Golden Globe Award for Best Original Score
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Last of the Mohicans
function: And
dependencies: 1
2
function: Find
inputs: Broadcast Film Critics Association Award for Best Film
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Hamlet
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Last of the Mohicans" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Original Score" .   } UNION { ?e <pred:name> "Hamlet" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Broadcast Film Critics Association Award for Best Film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hamlet