Question: Did Star Trek: Nemesis or The Illusionist, a 20th Century Fox production, perform better at the box office?
Choices:
The Towering Inferno
Talk to Her
The Illusionist
A Prairie Home Companion
The Fifth Element
Training Day
Pleasantville
Star Trek: Nemesis
Curse of the Golden Flower
Rebecca
Answer: The Illusionist
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek: Nemesis" .  } UNION { ?e <pred:name> "The Illusionist" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Star Trek: Nemesis
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Illusionist
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater