Question: Which has more box office, Dogma or Unstoppable whose cost is 100000000 USD?
Choices:
Unstoppable
Talk to Her
Rebecca
Training Day
The Hunchback of Notre Dame
Dogma
Curse of the Golden Flower
Pleasantville
The Fifth Element
A Prairie Home Companion
Program:
function: Find
inputs: Dogma
function: Find
inputs: Unstoppable
function: FilterNum
dependencies: 1
inputs: cost
100000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dogma" . } UNION { ?e <pred:name> "Unstoppable" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "100000000"^^xsd:double . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Unstoppable