Wikidata:WikiProject Norway/Aspects
Government Data
editChurch Buildings
editSites
editQueries
editSELECT DISTINCT ?item ?itemLabel ?nativeLabel ?territory ?territoryLabel ?location ?locationLabel WHERE {
?item wdt:P31/(wdt:P279*) wd:Q16970.
?item wdt:P17 wd:Q20.
OPTIONAL { ?item wdt:P131 ?territory }
OPTIONAL { ?item wdt:P276 ?location }
OPTIONAL { ?item wdt:P1705 ?nativeLabel }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,en" }
}
In oslo
SELECT DISTINCT ?item ?itemLabel ?nativeLabel ?territory ?territoryLabel ?location ?locationLabel WHERE {
?item wdt:P31/(wdt:P279*) wd:Q16970.
?item wdt:P17 wd:Q20.
?item wdt:P131 / wdt:P131? wd:Q5245991.
OPTIONAL { ?item wdt:P131 ?territory }
OPTIONAL { ?item wdt:P276 ?location }
OPTIONAL { ?item wdt:P1705 ?nativeLabel }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,en" }
}