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