What is {county seat for} of {Pamplona}, that has {gps co-ordinate} is {42.816944444444 -1.6427777777778} ?
What is the province situate of Pamplona, which has GPS co-ordinates of 42.816944444444 -1.6427777777778?
What is the county seat of Pamplona, which has GPS co-ordinates of 42.816944444444 -1.6427777777778?
SELECT ?b WHERE { ?b property:coordinate_location ?n . resource:Pamplona property:capital_of ?b . FILTER ( CONTAINS ( ?n , '42.816944444444 -1.6427777777778' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q10282> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P625> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <42.816944444444 -1.6427777777778> . }
SELECT ?answer WHERE { wd:Q10282 wdt:P1376 ?answer . ?answer wdt:P625 ?x FILTER(contains(?x , '42.816944444444 -1.6427777777778'))}