Question: Does Tango & Cash or The Mummy: Tomb of the Dragon Emperor (that originates in the People's Republic of China) have the higher box office?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Rebecca
The Mummy: Tomb of the Dragon Emperor
The Fifth Element
Talk to Her
Pleasantville
Tango & Cash
Curse of the Golden Flower
Answer: The Mummy: Tomb of the Dragon Emperor
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tango & Cash" .  } UNION { ?e <pred:name> "The Mummy: Tomb of the Dragon Emperor" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tango & Cash
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: The Mummy: Tomb of the Dragon Emperor
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater