Question: Which movie is longer, Avatar (the one that was nominated for BAFTA Award for Best Film) or The Smurfs (the one whose release region is Norway)?
Choices: Mark Williams
All the President's Men
ParaNorman
Piranha 3D
New Orleans metropolitan area
Avatar
Frankenweenie
The Smurfs
riboflavin
Krista Allen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Avatar" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film" .   } UNION { ?e <pred:name> "The Smurfs" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Norway" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Avatar
function: And
dependencies: 1
2
function: Find
inputs: Norway
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Avatar