Question: Does Algiers (whose cost is 691833 United States dollars) or Apollo 13 have the higher box office?
Choices:
Pleasantville
A Prairie Home Companion
The Fifth Element
Training Day
Rebecca
The Towering Inferno
Talk to Her
Algiers
Curse of the Golden Flower
Apollo 13
Answer: Apollo 13
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Algiers" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "691833"^^xsd:double . } UNION { ?e <pred:name> "Apollo 13" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Algiers
function: FilterNum
dependencies: 0
inputs: cost
691833 United States dollar
=
function: Find
inputs: Apollo 13
function: SelectBetween
dependencies: 1
2
inputs: box office
greater