Question: Which movie is longer, Pirates of the Caribbean: Dead Man's Chest (the one that was nominated for BAFTA Award for Best Special Visual Effects) or Back to the Future Part III?
Choices: The Flintstones
G-Force
The Flintstones in Viva Rock Vegas
Back to the Future Part III
Old Dogs
Alvin and the Chipmunks: Chipwrecked
Holes
John Carter
National Treasure: Book of Secrets
Pirates of the Caribbean: Dead Man's Chest
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Special Visual Effects" .   } UNION { ?e <pred:name> "Back to the Future Part III" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Special Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 1
2
function: Find
inputs: Back to the Future Part III
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Pirates of the Caribbean: Dead Man's Chest