Question: Is there a greater box office for the adventure film Dune or Gladiator produced by Walter F. Parkes?
Choices:
The Towering Inferno
Dune
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Gladiator
The Fifth Element
Talk to Her
Answer: Gladiator
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dune" . ?e <genre> ?e_1 . ?e_1 <pred:name> "adventure film" .   } UNION { ?e <pred:name> "Gladiator" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Walter F. Parkes" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Dune
function: And
dependencies: 1
2
function: Find
inputs: Walter F. Parkes
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Gladiator
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
greater