Question: Which visual artwork published prior to 1999 is titled Lethal Weapon 4?
Choices:
The Three Musketeers
Anastasia
Atlantic City
Talk to Her
Rebecca
A Prairie Home Companion
Lethal Weapon 4
Pleasantville
Malcolm X
I Shot Andy Warhol
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1999
<
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Lethal Weapon 4
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 < 1999 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Lethal Weapon 4" .  }
Answer: Lethal Weapon 4