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
[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)
Format “[02-79]\d{2}: value must be formatted using this pattern (PCRE syntax). (Help)
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)Reply

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)Reply
Fine by me. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:58, 30 May 2018 (UTC)Reply
@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)Reply
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)Reply
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)Reply
Return to "P2258" page.