Question: Did Godzilla (produced by Dean Devlin) or Stargate have lower box office proceeds?
Choices:
Godzilla
Talk to Her
The Fifth Element
Training Day
The Hunchback of Notre Dame
Stargate
Rebecca
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: Dean Devlin
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Godzilla
function: And
dependencies: 1
2
function: Find
inputs: Stargate
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Godzilla" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Dean Devlin" .   } UNION { ?e <pred:name> "Stargate" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Stargate