What is {headquarters location} of {Glencore} that is {located at street address} is {Baarermattstrasse 3} ?
What is Glencore's headquarters' address?
What is the full address of Glencore's headquarters located at Baaremattstrasse 3?
SELECT ?z WHERE { FILTER ( CONTAINS ( ?g , 'Baarermattstrasse 3' ) ) . ?w property:P969 ?g . ?w property:headquarters_location ?z . resource:Glencore property:headquarters_location ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q169339> .
?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> <Baarermattstrasse 3>
} 

SELECT ?obj WHERE { wd:Q169339 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P969 ?x filter(contains(?x , 'Baarermattstrasse 3')) }