Question: Which was cheaper to make: Algiers, with 951801 USD box office, or The Insider?
Choices:
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
The Insider
A Prairie Home Companion
Algiers
Rebecca
The Fifth Element
Pleasantville
Training Day
Answer: Algiers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Algiers" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "951801"^^xsd:double . } UNION { ?e <pred:name> "The Insider" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Algiers
function: FilterNum
dependencies: 0
inputs: box office
951801 United States dollar
=
function: Find
inputs: The Insider
function: SelectBetween
dependencies: 1
2
inputs: cost
less