User:EmericusPetro/sandbox/List of OpenStreetMap local chapters

From OpenStreetMap Wiki
Jump to navigation Jump to search

This page have the list of OpenStreetMap OpenStreetMap local chapters based on whatever is on Wikidata. At the moment, the only way to see list is running the Wikidata Queries For now, using Wikidata pages and just leaving a link here.

List

See https://www.wikidata.org/wiki/User:EmericusPetro/sandbox/List_of_OpenStreetMap_local_chapters

Authoritative reference

Please check https://wiki.osmfoundation.org/wiki/Local_Chapters for the authoritative version of OpenStreetMap local chapters, which must be used as reference to correct the Wikidata content (except if the SPARQL query itself is wrong, then we correct the query)

Wikidata Query

Query 1

SELECT DISTINCT ?item ?itemLabel ?country ?countryLabel WHERE {
  ?item p:P31/ps:P31/wdt:P279* wd:Q56695738 .
  OPTIONAL { ?item wdt:P17 ?country. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}

Run it (edit query)