Question: Which movie cost more, Any Given Sunday or Steve Jobs (the one whose publication date is 2015-11-12)?
Choices:
Training Day
The Towering Inferno
Rebecca
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
Any Given Sunday
Steve Jobs
Program:
function: Find
inputs: Any Given Sunday
function: Find
inputs: Steve Jobs
function: FilterDate
dependencies: 1
inputs: publication date
2015-11-12
=
function: SelectBetween
dependencies: 0
2
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Any Given Sunday" . } UNION { ?e <pred:name> "Steve Jobs" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2015-11-12"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Any Given Sunday