Question: Which has less cost, Tacoma (whose publication date is 2012-09-14) or Sex and the City 2?
Choices: Talk to Her
Rebecca
The Towering Inferno
Pleasantville
Sex and the City 2
A Prairie Home Companion
The Fifth Element
Tacoma
Curse of the Golden Flower
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tacoma" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2012-09-14"^^xsd:date . } UNION { ?e <pred:name> "Sex and the City 2" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tacoma
function: FilterDate
dependencies: 0
inputs: publication date
2012-09-14
=
function: Find
inputs: Sex and the City 2
function: SelectBetween
dependencies: 1
2
inputs: cost
less
Answer: Tacoma