Question: Does the longer run-time belong to Mutiny on the Bounty, an Academy Award nominee for Best Visual Effects, or to Gigli?
Choices:
A Prairie Home Companion
Talk to Her
Training Day
Gigli
Mutiny on the Bounty
The Fifth Element
Rebecca
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Program:
function: Find
inputs: Academy Award for Best Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Mutiny on the Bounty
function: And
dependencies: 1
2
function: Find
inputs: Gigli
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mutiny on the Bounty" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Visual Effects" .   } UNION { ?e <pred:name> "Gigli" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mutiny on the Bounty