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