Question: Which one has less total sales, Algiers (the one whose publication date is 1938-01-01) or Mission: Impossible III?
Choices:
Mission: Impossible III
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Algiers
A Prairie Home Companion
Training Day
Curse of the Golden Flower
Rebecca
Talk to Her
Program:
function: Find
inputs: Algiers
function: FilterDate
dependencies: 0
inputs: publication date
1938-01-01
=
function: Find
inputs: Mission: Impossible III
function: SelectBetween
dependencies: 1
2
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Algiers" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1938-01-01"^^xsd:date . } UNION { ?e <pred:name> "Mission: Impossible III" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Algiers