Question: Were production costs higher for The Doors, published on 1991-01-01, or for W.?
Choices: Talk to Her
Curse of the Golden Flower
Training Day
Rebecca
W.
A Prairie Home Companion
The Doors
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Doors" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1991-01-01"^^xsd:date . } UNION { ?e <pred:name> "W." . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Doors
function: FilterDate
dependencies: 0
inputs: publication date
1991-01-01
=
function: Find
inputs: W.
function: SelectBetween
dependencies: 1
2
inputs: cost
greater
Answer: The Doors