Question: Where was National Gallery (the one whose publication date is 2014-10-05) published on 2014-05-17 ?
Choices:
Jordan
Switzerland
Bulgaria
France
British Hong Kong
Uruguay
Spain
Kingdom of the Netherlands
Cannes
Bolivia
Answer: Cannes
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "National Gallery" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2014-10-05"^^xsd:date . ?e <date_of_first_performance> ?pv . ?pv <pred:date> "2014-05-17"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <date_of_first_performance> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: National Gallery
function: FilterDate
dependencies: 0
inputs: publication date
2014-10-05
=
function: QueryAttrQualifier
dependencies: 1
inputs: date of first performance
2014-05-17
place of publication