Question: Which movie cost less to make, Charlie's Angels: Full Throttle or Logan (the one whose publication date is 2017-03-02)?
Choices:
Logan
Charlie's Angels: Full Throttle
A Prairie Home Companion
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Talk to Her
Pleasantville
Program:
function: Find
inputs: Charlie's Angels: Full Throttle
function: Find
inputs: Logan
function: FilterDate
dependencies: 1
inputs: publication date
2017-03-02
=
function: SelectBetween
dependencies: 0
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie's Angels: Full Throttle" . } UNION { ?e <pred:name> "Logan" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2017-03-02"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Logan