What is {headquarters location} of {General Motors} that is {coordinate location} is {42.3299 -83.0402} ?
What city is located at 42.3299-83.04002, and is the main office for General Motors?
What city the the headquarters of General Motors and has the coordinates 42.3299 -83.04002?
SELECT ?g WHERE { resource:General_Motors property:headquarters_location ?q . ?q property:coordinate_location ?f . FILTER ( CONTAINS ( ?f , '42.3299 -83.0402' ) ) . ?q 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/Q81965> .
?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> <42.3299 -83.0402>
} 

SELECT ?obj WHERE { wd:Q81965 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P625 ?x filter(contains(?x , '42.3299 -83.0402')) }