Question: Which was cheaper to make, The Fisher King or Mutiny on the Bounty (published on 1935-01-01)?
Choices:
The Hunchback of Notre Dame
Pleasantville
Training Day
The Fisher King
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Towering Inferno
The Fifth Element
Mutiny on the Bounty
Answer: Mutiny on the Bounty
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fisher King" . } UNION { ?e <pred:name> "Mutiny on the Bounty" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1935-01-01"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Fisher King
function: Find
inputs: Mutiny on the Bounty
function: FilterDate
dependencies: 1
inputs: publication date
1935-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: cost
less