Question: Which cost less to produce, Goodfellas or It, which happened to be published on 2017-09-07?
Choices:
The Fifth Element
Curse of the Golden Flower
Pleasantville
Talk to Her
The Towering Inferno
It
Rebecca
A Prairie Home Companion
Goodfellas
The Hunchback of Notre Dame
Answer: Goodfellas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Goodfellas" . } UNION { ?e <pred:name> "It" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2017-09-07"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Goodfellas
function: Find
inputs: It
function: FilterDate
dependencies: 1
inputs: publication date
2017-09-07
=
function: SelectBetween
dependencies: 0
2
inputs: cost
less