Question: Does Thunderball (the one whose publication date is 1965-12-09) or A League of Their Own have less cost ?
Choices:
Talk to Her
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Rebecca
Thunderball
The Towering Inferno
Pleasantville
Training Day
Program:
function: Find
inputs: Thunderball
function: FilterDate
dependencies: 0
inputs: publication date
1965-12-09
=
function: Find
inputs: A League of Their Own
function: SelectBetween
dependencies: 1
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thunderball" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1965-12-09"^^xsd:date . } UNION { ?e <pred:name> "A League of Their Own" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Thunderball