Question: Were box office earnings lower for Prometheus or for Moonraker, which cost 34000000 USD?
Choices:
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
Moonraker
Training Day
Prometheus
Pleasantville
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Answer: Moonraker
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prometheus" . } UNION { ?e <pred:name> "Moonraker" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "34000000"^^xsd:double . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Prometheus
function: Find
inputs: Moonraker
function: FilterNum
dependencies: 1
inputs: cost
34000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: box office
less