Question: Is the run-time longer on The Smurfs, released in Bulgaria, or on Avatar, and MTV Movie Award nominee for Best Kiss?
Choices:
Piranha 3D
The Smurfs
Frankenweenie
ParaNorman
Sliema Wanderers F.C.
Avatar
George Miller
Colombo
Ian MacKaye
UTV Motion Pictures
Program:
function: Find
inputs: Bulgaria
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 1
2
function: Find
inputs: MTV Movie Award for Best Kiss
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Avatar
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Smurfs" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Bulgaria" .   } UNION { ?e <pred:name> "Avatar" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "MTV Movie Award for Best Kiss" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Avatar