Property talk:P2258
Latest comment: 5 years ago by Jura1 in topic Datatype change
Documentation
mobile country code
identifier for countries in ITU-T Recommendation E.212 for use in describing mobile networks
identifier for countries in ITU-T Recommendation E.212 for use in describing mobile networks
Represents | mobile country code (Q978801) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Data type | String | |||||||||
Domain | mainly countries (note: this should be moved to the property statements) | |||||||||
Allowed values | [02-79]\d\d | |||||||||
Example | Afghanistan (Q889) → 412 Singapore (Q334) → 525 Armenia (Q399) → 283 | |||||||||
Source | Wikipedia article (note: this information should be moved to a property statement; use property source website for the property (P1896)) | |||||||||
See also | mobile network code (P2259) | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
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). List of violations of this constraint: Database reports/Constraint violations/P2258#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). List of violations of this constraint: Database reports/Constraint violations/P2258#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P2258#Format, hourly updated report, SPARQL
Item “instance of (P31): country (Q6256)”: Items with this property should also have “instance of (P31): country (Q6256)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Test Network (Q21273023), no label (Q60324609)List of violations of this constraint: Database reports/Constraint violations/P2258#Item P31, search, 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). List of violations of this constraint: Database reports/Constraint violations/P2258#Unique value, SPARQL (every item), SPARQL (by value)
Datatype change edit
There was some discussion to change it here. I don't see any reason not to change this to external id.
--- Jura 08:14, 16 May 2018 (UTC)
- Since the discussions are quite old, I'm pinging people who were involved in the project, just to be sure that there's a consensus. @ArthurPSmith, Multichill, Pigsonthewing, Nikki: Are you fine with converting P2258 into an external ID? Lea Lacroix (WMDE) (talk) 12:33, 30 May 2018 (UTC)
- Fine by me. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:58, 30 May 2018 (UTC)
- @Pigsonthewing, Multichill, Nikki, Lea Lacroix (WMDE), Jura1: More than half the uses of this property are as a qualifier, for example for BASE (Q809824) - "mobile country code" is used as a qualifier for "mobile network code". I'm not sure what impact this would have on our conception of it as an identifier - if it's intended as an identifier for countries (which it does mostly work at) then why wouldn't the qualifier here be the country rather than the code? It seems it's really more than just an identifier? Plus there's no formatter URL so there's no particular advantage to having it listed as an external id... ArthurPSmith (talk) 13:26, 30 May 2018 (UTC)
- @Lea Lacroix (WMDE): do you want to add something to sum this up from a dev perspective?
--- Jura 09:50, 1 June 2018 (UTC)
- We don't have any particular technical opinion to add. Just a question: why do you want to change it to an external id? What would be the advantage in your workflow? Lea Lacroix (WMDE) (talk) 11:23, 1 June 2018 (UTC)
- Good to hear that there are no technical obstacles. From a Wikidata contributor perspective, it would be consistent with the other country codes.
--- Jura 11:32, 1 June 2018 (UTC)
- Good to hear that there are no technical obstacles. From a Wikidata contributor perspective, it would be consistent with the other country codes.
- We don't have any particular technical opinion to add. Just a question: why do you want to change it to an external id? What would be the advantage in your workflow? Lea Lacroix (WMDE) (talk) 11:23, 1 June 2018 (UTC)