Question: What visual artwork's exploitation visa number is 70889 starting on the date 1989-06-29 and release date is before 2011?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
Licence to Kill
Rope
Pleasantville
Training Day
The Towering Inferno
Answer: Licence to Kill
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> "70889" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> "1989-06-29"^^xsd:date . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2011 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: exploitation visa number
70889
function: QFilterDate
dependencies: 1
inputs: start time
1989-06-29
=
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 4
inputs: publication date
2011
<
function: FilterConcept
dependencies: 5
inputs: visual artwork
function: And
dependencies: 3
6
function: What
dependencies: 7