Question: Which cost less to make, The Hunchback of Notre Dame (the one whose publication date is 1956-12-19) or Back to the Future Part II?
Choices:
John Carter
Alvin and the Chipmunks: Chipwrecked
Back to the Future Part II
The Flintstones in Viva Rock Vegas
National Treasure: Book of Secrets
G-Force
The Hunchback of Notre Dame
The Flintstones
Old Dogs
The Muppets
Answer: The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1956-12-19"^^xsd:date . } UNION { ?e <pred:name> "Back to the Future Part II" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Hunchback of Notre Dame
function: FilterDate
dependencies: 0
inputs: publication date
1956-12-19
=
function: Find
inputs: Back to the Future Part II
function: SelectBetween
dependencies: 1
2
inputs: cost
less