Property talk:P1566

Latest comment: 7 months ago by Awinkler3 in topic be careful about semantic URLs

Documentation

GeoNames ID
identifier in the GeoNames geographical database
DescriptionID in GeoNames geographical database
Associated itemGeoNames (Q830106)
Applicable "stated in" valueGeoNames (Q830106)
Has qualityidentifier (Q853614), VIAF component (Q26921380)
Data typeExternal identifier
Domain
According to this template: places, geographic location (Q2221906)
According to statements in the property:
physical location (Q17334923), administrative territorial entity type (Q15617994), business (Q4830453), university (Q3918), medical school (Q494230), research institute (Q31855), fictional location (Q3895768), high school (Q9826), radio station (Q14350), school (Q3914), television station (Q1616075), private not-for-profit educational institution (Q23002054), field name (Q1434274), public educational institution of the United States (Q23002039), university-preparatory school (Q428602), secondary school (Q159334), middle school (Q149566), private school (Q423208), Wikimedia duplicated page (Q17362920), geographic location (Q2221906), park (Q22698), mountain (Q8502), facility (Q13226383), administrative territorial entity (Q56061) or geographical feature (Q618123)
When possible, data should only be stored as statements
Allowed values[1-9][0-9]{0,8}|
ExamplePiton de la Fournaise (Q1049644)935877 (RDF)
Monte Boglia (Q870031)6285788 (RDF)
Baranagar (Q712504)1277082 (RDF)
Sourcehttps://www.geonames.org/
Formatter URLhttps://www.geonames.org/$1
Robot and gadget jobsFrom dumps and www.geonames.org/wikipedia (also import coordinate location (P625))
Sample URL: http://api.geonames.org/get?geonameId=6285788&username=demo&style=full
Tracking: usageCategory:Pages using Wikidata property P1566 (Q26871092)
Tracking: local yes, WD noCategory:Wikipedia:Articles with a geonames-parameter but without P1566 at Wikidata (Q26205593)
Lists
Proposal discussionProposal discussion
Current uses
Total4,012,584
Main statement3,940,262 out of 12,179,666 (32% complete)98.2% of uses
Qualifier20<0.1% of uses
Reference72,3021.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[1-9][0-9]{0,8}|: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1566#Format, SPARQL
Conflicts with “GeoNames feature code (P2452): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1566#Conflicts with P2452, search, SPARQL
Type “physical location (Q17334923), administrative territorial entity type (Q15617994), business (Q4830453), university (Q3918), medical school (Q494230), research institute (Q31855), fictional location (Q3895768), high school (Q9826), radio station (Q14350), school (Q3914), television station (Q1616075), private not-for-profit educational institution (Q23002054), field name (Q1434274), public educational institution of the United States (Q23002039), university-preparatory school (Q428602), secondary school (Q159334), middle school (Q149566), private school (Q423208), Wikimedia duplicated page (Q17362920), geographic location (Q2221906), park (Q22698), mountain (Q8502), facility (Q13226383), administrative territorial entity (Q56061), geographical feature (Q618123): item must contain property “instance of (P31)” with classes “physical location (Q17334923), administrative territorial entity type (Q15617994), business (Q4830453), university (Q3918), medical school (Q494230), research institute (Q31855), fictional location (Q3895768), high school (Q9826), radio station (Q14350), school (Q3914), television station (Q1616075), private not-for-profit educational institution (Q23002054), field name (Q1434274), public educational institution of the United States (Q23002039), university-preparatory school (Q428602), secondary school (Q159334), middle school (Q149566), private school (Q423208), Wikimedia duplicated page (Q17362920), geographic location (Q2221906), park (Q22698), mountain (Q8502), facility (Q13226383), administrative territorial entity (Q56061), geographical feature (Q618123)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Earth (Q2)
List of violations of this constraint: Database reports/Constraint violations/P1566#Type Q17334923, Q15617994, Q4830453, Q3918, Q494230, Q31855, Q3895768, Q9826, Q14350, Q3914, Q1616075, Q23002054, Q1434274, Q23002039, Q428602, Q159334, Q149566, Q423208, Q17362920, Q2221906, Q22698, Q8502, Q13226383, Q56061, Q618123, SPARQL
Conflicts with “instance of (P31): volost of the Russian Empire (Q20732405): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1566#Conflicts with P31, search, SPARQL
Conflicts with “subclass of (P279): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1566#Conflicts with P279, search, SPARQL
Conflicts with “instance of (P31): human (Q5), Wikimedia disambiguation page (Q4167410), Wikimedia list article (Q13406463), Wikimedia set index article (Q15623926): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1566#Conflicts with P31, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1566#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P1566#Scope, hourly updated report, SPARQL
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Q5089, Q725108, Q1074063, Q839303, Q42420841, Q7336423, Q592383, Q49525916, Q5092894, Q964949, Q3624, Q4199685, Q208198, Q3726682, Q756796, Q35481296, Q1199171, Q216950, Q4253846, Q4398832, Q19908142, Q3593416, Q5123247, Q4904289, Q6475181
List of violations of this constraint: Database reports/Constraint violations/P1566#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Punjab (Q4478), Ryukyu Islands (Q10905515), Viti Levu (Q24565666), Viti Levu (Q208198)
List of violations of this constraint: Database reports/Constraint violations/P1566#Unique value, SPARQL (every item), SPARQL (by value)
 
Items with P1889 and the same GeoNames ID as another item
Items explicitly marked as being different from each other are not expected to have the same GeoNames ID. (Help)
Violations query: select distinct ?item { ?item wdt:P1889 ?item2 ; wdt:P1566 ?geonames . ?item2 wdt:P1566 ?geonames . } order by ?item limit 1000
List of this constraint violations: Database reports/Complex constraint violations/P1566#Items with P1889 and the same GeoNames ID as another item
 
Items which are instances of a disambiguation page
Items should not be instances of disambiguation pages. (Help)
Violations query: select distinct ?item { ?item wdt:P1566 [] ; wdt:P31/wdt:P31 wd:Q4167410 } limit 1000
List of this constraint violations: Database reports/Complex constraint violations/P1566#Items which are instances of a disambiguation page
Error reports
Contact:

info@geonames.org? (in many cases, it should be possible for users to update GeoNames themselves if they've created an account)

Ideally this information should be moved to the item for the reference and be transcluded from there.
Reports:
Error type Item(s) affected Description/Duplicates Exception Reported Resolved (also unpublished) Resolved and published Wikidata updated
duplicate Humboldt Mountains (Q25222806) Humboldt Mountains (Q25222806), Humboldt Mountains (Q31712661), Humboldt Mountains (Q31711228) and Humboldt Mountains (Q31712470) (can't currently be merged) all have different IDs which appear to point to the same mountain range, compare with this map
duplicate East Antarctica (Q866405) IDs point to the same location with the same names
duplicate Briand Fjord (Q4965740) IDs have the same Spanish name and point to similar locations
duplicate Marø Cliffs (Q6772266) IDs have similar names and point to similar locations
duplicate Lazarev Trough (Q4182049) IDs have same name and location
duplicate Fort William Point (Q5472334) alternate names for the same thing according to GNIS, coordinates are a bit off but still point to the same island
duplicate Soyuz-17 Cliff (Q7572044) "utës" is a possible transliteration of the Russian word "утёс" which is listed as a translation of cliff on wikt:en:cliff
duplicate Motunui / Edwards Island (Q32191133) same as Motunui / Edwards Island (Q32284527) (can't be merged right now)

Error reports ? edit

I is fairly clear that the ID provided in fur (Q197204) should have been in Poil (Q46569) (it can somehow be attributed to the homonymy in French). Do I just change the statements here, is there something else we should do to warn Geonoames people that their IDs are wrong ? --Zolo (talk) 19:18, 10 November 2014 (UTC)Reply

@Zolo: the GeoNames Database contains incorrent data. As you can also edit the database, you can just fix it. (I can't because Google is blocked in China)--GZWDer (talk) 11:26, 15 November 2014 (UTC)Reply
@Zolo: I fixed it, but the Geonames API hasn't yet picked up the change. I wonder why no Wikidatian fixed this in 2 years? --Vladimir Alexiev (talk) 09:52, 8 March 2016 (UTC)Reply

Updates edit

It seems they are not fairly quick to update changing administrative layers. I was hoping to eventually find some introduced on 1.1.2015, but I guess I would have to go there and add them myself .. --- Jura 05:58, 31 May 2015 (UTC)Reply

be careful about semantic URLs edit

The semantic URLs of geonames places are http://sws.geonames.org/$1/ (note slash at the end). http://sws.geonames.org/$1/about.rdf is an RDF document about the place, but the statements inside are made against the semantic URL. So I've changed "URI pattern for RDF resource" to http://sws.geonames.org/$1/.

Furthermore, I think that the "Formatter URL" should be changed to the same. Their site also resolves URLs without trailing slash, but the canonical URL has trailing slash. If there are no objections, I'll change the "Formatter URL" too. --Vladimir Alexiev (talk) 09:46, 8 March 2016 (UTC)Reply

Hi, can you help me to understand why an item accessible using the www subdomain cannot be accessed using the sws subdomain or the equivalent wikidata property? Pietro (talk) 07:29, 19 May 2016 (UTC)Reply
@Pietro: That's strange. You should probably ask GeoNames about it. I'm not sure why they would behave differently. - Nikki (talk) 13:18, 19 May 2016 (UTC)Reply
Hi @Nikki: I posted a comment on their forum, but it has not been published up to now (the forum is moderated). Do you know any other way to contact them? Pietro (talk) 20:21, 25 May 2016 (UTC)Reply
@Pietro: Sorry for the slow response. They have an email address (info@geonames.org) linked from the bottom of various pages (I saw it on the error page and it's also on the forum pages). It seems like this particular one has been fixed now though. - Nikki (talk) 10:03, 7 June 2016 (UTC)Reply
@Nikki: thank you for your attention. That email address is only for commercial users. Anyway, there is a delay of about a week between the adding of a new item and its availability on the sws domain, maybe depending on an approval process. Pietro (talk) 16:37, 7 June 2016 (UTC)Reply
They completely messed it up now. If you go to https://www.geonames.org/ontology/documentation.html it's all http (without the s), but the example item is https. Now what? Multichill (talk) 12:58, 6 August 2020 (UTC)Reply
It appears to me as if the URI pattern (P1921) should be changed to https. That's what they consistently use now in the rdf files. Awinkler3 (talk) 05:03, 26 September 2023 (UTC)Reply

Both have ID 3098470, which is named "Gmina Grabów nad Prosną" and described as "seat of a third-order administrative division, population 1,967". There is also ID 7533566, which is named "Grabów nad Prosną" and described as "third-order administrative division, population 7,795" - this is used in Gmina Grabów nad Prosną (Q33677108). Both GeoNames IDs have Wikipedia links to Q3207413. It looks like 7533566 should be the gmina, and 3098470 should be the town - is this correct? Also which item should Q33677108 be merged to? Peter James (talk) 21:45, 28 August 2019 (UTC)Reply

Because of this and similar extremly weird duplicates on Geonames I've removed the single value constraint. I'm not sure who thought it a good idea to trust GeoNames in the first place, but it is clearly not up to the task. Braveheart (talk) 23:58, 5 March 2021 (UTC)Reply
But it seems like people still think that bad data justifies bad decisions. Braveheart (talk) 10:08, 20 March 2021 (UTC)Reply

Type Constraints edit

I added research institute (Q31855) into the allowed classes. Before it had university or medical organization, which left multiple organizations without GeonameID. Is this OK?

Return to "P1566" page.