Question: Did the 20th Century Fox-produced Ice Age or the Puss in Boots released in the Ukraine perform better at the box office?
Choices:
Peter Pan
Shrek 2
Ice Age
Renaissance
WALL·E
Puss in Boots
Aladdin
Beauty and the Beast
The Rescuers
Lilo & Stitch
Answer: Puss in Boots
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ice Age" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "Puss in Boots" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Ukraine" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Ice Age
function: And
dependencies: 1
2
function: Find
inputs: Ukraine
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Puss in Boots
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
greater