What is {headquarters location} of {BHP Billiton} that is {located at street address} is {180 LONSDALE STREET} ?
At which location is headquarters for BHP Billiton on Lonsdale Street?
What is the headquarters location of BHP Billiton located at 180 Lonsdale Street?
SELECT ?a WHERE { resource:BHP_Group property:headquarters_location ?n . ?n property:P969 ?v . ?n property:headquarters_location ?a . FILTER ( CONTAINS ( ?v , '180 LONSDALE STREET' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q625713> .
?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> <180 LONSDALE STREET>
} 

SELECT ?obj WHERE { wd:Q625713 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P969 ?x filter(contains(?x , '180 LONSDALE STREET')) }