Question: Which movie made less at the box office, Tangled (the one whose release region is Greece) or Shrek the Third (the one whose production company is Paramount Pictures)?
Choices:
Renaissance
Tangled
Beauty and the Beast
Aladdin
Lilo & Stitch
Shrek 2
WALL·E
Shrek the Third
Winnie the Pooh
Peter Pan
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Tangled
function: And
dependencies: 1
2
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Shrek the Third
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tangled" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Greece" .   } UNION { ?e <pred:name> "Shrek the Third" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Paramount Pictures" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tangled