what is the {place of publication} for {Toy Story} has {publication date} as {1995-11-22} ?
Which was the place where Toy Story with a publication date of 11/22/95 publicated?
Where was the Toy Story with a publication date of 11/22/95 publicated?
SELECT ?c WHERE { ?o property:place_of_publication ?c . FILTER ( CONTAINS ( YEAR ( ?j ) , '1995' ) ) . resource:Toy_Story property:publication_date ?o . ?o property:publication_date ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171048> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P577> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1995-11-22> .
?statement <http://www.wikidata.org/entity/P291> ?value. 
} 

SELECT ?value WHERE { wd:Q171048 p:P577 ?s . ?s ps:P577 ?x filter(contains(YEAR(?x),'1995')) . ?s pq:P291 ?value}