What is {headquarters location} of {Commonwealth of Independent States} that is {located at street address} is {17, Kirova str.} ?
What is located at 17 Kirova St in the CIS?
What headquarters is located at 17 Kirova Street in the Commonwealth of Independent States?
SELECT ?o WHERE { resource:Commonwealth_of_Independent_States property:headquarters_location ?p . ?p property:P969 ?t . ?p property:headquarters_location ?o . ' ) ) . FILTER ( CONTAINS ( ?t , '17, Kirova str }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7779> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P969> <17, Kirova str.>
} 

SELECT ?obj WHERE { wd:Q7779 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P969 ?x filter(contains(?x , '17, Kirova str.')) }