Question: Which movie is longer, The Smurfs (the one whose release region is France) or Piranha 3D?
Choices:
Avatar
Leyton Orient F.C.
The Smurfs
Elijah Wood
ParaNorman
Crash
Piranha 3D
Frankenweenie
John Corbett
Costa-Gavras
Answer: The Smurfs
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Smurfs" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "France" .   } UNION { ?e <pred:name> "Piranha 3D" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 1
2
function: Find
inputs: Piranha 3D
function: SelectBetween
dependencies: 3
4
inputs: duration
greater