What is the {municipality of the Netherlands} for {shares border with} of {Rotterdam}
[]
Which is the municipality of the Netherlands that shares border with Rotterdam?
SELECT DISTINCT ?d WHERE { ?d property:shares_border_with resource:Rotterdam . ?d rdf:type ontology:municipality_of_the_Netherlands }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q34370> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q2039348> } 
 select distinct ?sbj where { ?sbj wdt:P47 wd:Q34370 . ?sbj wdt:P31 wd:Q2039348 } 
Nissewaard