Question: What visual artwork has the publication date before 2014 and has the title Atlantic City?
Choices:
Pleasantville
Carnage
The Killer Inside Me
A Prairie Home Companion
The Dreamers
Great Expectations
Recount
Silver Linings Playbook
Rebecca
Atlantic City
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2014
<
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Atlantic City
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Atlantic City" .  }
Answer: Atlantic City