Question: Which was cheaper to make: Lemony Snicket's A Series of Unfortunate Events, at a cost of 140000000 USD, or Logan, released in 2017?
Choices:
Pleasantville
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
Lemony Snicket's A Series of Unfortunate Events
Rebecca
Training Day
The Fifth Element
Curse of the Golden Flower
Logan
Program:
function: Find
inputs: Lemony Snicket's A Series of Unfortunate Events
function: FilterNum
dependencies: 0
inputs: cost
140000000 United States dollar
=
function: Find
inputs: Logan
function: FilterYear
dependencies: 2
inputs: publication date
2017
=
function: SelectBetween
dependencies: 1
3
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lemony Snicket's A Series of Unfortunate Events" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "140000000"^^xsd:double . } UNION { ?e <pred:name> "Logan" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:year> 2017 . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Logan