What is {headquarters location} of {National Gallery of Art} that is {coordinate location} is {38.89147 -77.02001} ?
Where is the National Gallery of Art headquartered at at the coordinates 38.89147 -77.02001?
Where is the National Gallery of Art headquartered at at the coordinates 38.89147 -77.02001?
SELECT ?g WHERE { FILTER ( CONTAINS ( ?p , '38.89147 -77.02001' ) ) . resource:National_Gallery_of_Art property:headquarters_location ?b . ?b property:coordinate_location ?p . ?b property:headquarters_location ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q214867> .
?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/P625> <38.89147 -77.02001>
} 

SELECT ?obj WHERE { wd:Q214867 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P625 ?x filter(contains(?x , '38.89147 -77.02001')) }