Question: Which one is cheaper, The Talented Mr. Ripley (the one whose title is The Talented Mr. Ripley) or Split (the one whose publication date is 2017-01-26)    ?
Choices:
A Prairie Home Companion
The Talented Mr. Ripley
The Fifth Element
The Hunchback of Notre Dame
Training Day
Talk to Her
Pleasantville
The Towering Inferno
Rebecca
Split
Answer: Split
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Talented Mr. Ripley" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Talented Mr. Ripley" . } UNION { ?e <pred:name> "Split" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2017-01-26"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Talented Mr. Ripley
function: FilterStr
dependencies: 0
inputs: title
The Talented Mr. Ripley
function: Find
inputs: Split
function: FilterDate
dependencies: 2
inputs: publication date
2017-01-26
=
function: SelectBetween
dependencies: 1
3
inputs: cost
less