You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can confirm OSM IDs with direct Planet SQL query or OSM's Overpass-turbo, by ISO2 and Wikidata tags.
# Countries and its codesSELECT?code?item?itemLabel
(MAX(?osmId) as ?osmId_max) (COUNT(?code) as ?osmId_n)
WHERE
{
?item wdt:P297 ?code.
OPTIONAL{?item wdt:P402 ?osmId .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUPBY?code?item?itemLabelORDERBY?code
Try at Wikidata Query Service. Check the API for automatic download of Wikidata-query CSV file. All other can be downloaded directelly.
Assert (Wikidata vs other sources) with a diff after reference generation in the first comparison.
The text was updated successfully, but these errors were encountered:
Confusion over official name in the official language
Remember that "official language", when exists only one, is P37: it must be selected from the set of country's demonym, that is P1549... But now Wikidata also offer P1705 the native label.. or P1448 official name. Jamaica example: native label is unique, official name has 2...
The
jurisdiction.csv
must be checked and generated by software.name
,iso2_id
,name_orig
,wikidata_id
andosm_id
can be generated (as first draft) by Wikidata.preserved
andcoded
must be edited by user, one by one.name
andiso2_id
is https://github.com/datasets/country-list or the (ugly) ISO page. There are also a completecountry-codes
dataset and alternative UNECE's country-codes "official copy".Try at Wikidata Query Service. Check the API for automatic download of Wikidata-query CSV file. All other can be downloaded directelly.
Assert (Wikidata vs other sources) with a
diff
after reference generation in the first comparison.The text was updated successfully, but these errors were encountered: