What is {work location} of {Yayoi Kusama} that is {end time} is {2015-1-1} ?
Give the place Yayoi Kusama stopped working in 2015.
Where did Yayoi Kusama stop working in 2015?
SELECT ?k WHERE { ?v property:work_location ?k . FILTER ( CONTAINS ( YEAR ( ?w ) , '2015' ) ) . resource:Yayoi_Kusama property:work_location ?v . ?v property:end_time ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q231121> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <2015-1-1>
} 

SELECT ?obj WHERE { wd:Q231121 p:P937 ?s . ?s ps:P937 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'2015')) }