Question: Is the longer work Oh! What a Lovely War or Forrest Gump, an Academy Award nominee for Best Makeup and Hairstyling?
Choices:
Pleasantville
The Fifth Element
Rebecca
Training Day
Forrest Gump
A Prairie Home Companion
Curse of the Golden Flower
Oh! What a Lovely War
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Oh! What a Lovely War
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
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> "Oh! What a Lovely War" .  } UNION { ?e <pred:name> "Forrest Gump" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Makeup and Hairstyling" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Forrest Gump