Property talk:P220
Documentation
3-letter identifier for language defined in ISO 639-3, extension of ISO 639-2
List of violations of this constraint: Database reports/Constraint violations/P220#Type Q17376908, Q8192, Q5015649, Q20829075, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P220#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P220#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P220#Conflicts with P1798, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P220#Item P305, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P220#Entity types
List of violations of this constraint: Database reports/Constraint violations/P220#Scope, SPARQL
(Help)
Violations query:
SELECT ?item ?value ?marc { ?item wdt:P220 ?value. ?item wdt:P4801 ?marc. BIND (SUBSTR(?marc, 1, 9) AS ?prefix). BIND (SUBSTR(?marc, 11) AS ?s). FILTER (?marc = ?s) }
List of this constraint violations: Database reports/Complex constraint violations/P220#Check value
Pattern ^-$ will be automatically replaced to novalue. Testing: TODO list |
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
constraint report relating to Wikimedia disambiguation page (Q4167410)
editIf instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of ISO 639-3 code (P220) is prohibited.
Wikimedia projects
editShould we expand the domain to include Wikipedia language edition (Q10876391)? --Infovarius (talk) 08:39, 10 January 2016 (UTC)
- I would say no. This property means the ISO code assigned to a language. Wikimedia projects are not languages and do not have ISO codes assigned to them. The codes they use are based on ISO codes and IETF language tags and we already have Wikimedia language code (P424) for that. In general, we should link to language items where we want to say which language something uses instead of using these properties. The language item will have the ISO codes, IETF language tags, Wikimedia language code and any other information people want. - Nikki (talk) 09:53, 10 January 2016 (UTC)
- So see the main discussion here: Property talk:P218#WMF_projects. --Infovarius (talk) 20:42, 11 January 2016 (UTC)
Allow “reason for deprecation” as qualifier?
editShould ISO 639-3 code (P220) be changed to allow reason for deprecated rank (P2241) as a qualifier? See Emilian–Romagnol (Q242648) for an example of a constraint violation that seems legitimate, specifically the statement for P220 on that item. Generally, I’d be interested in people’s thoughts on how to to best model deprecated language codes. See ISO 639-3 deprecations for the full list. There’s five different reasons for deprecating an ISO 639-3 code, and I’m not sure how to model them in Wikidata. Your advice would be appreciated. — Sascha (talk) 16:48, 8 February 2019 (UTC)
- In principle, any property could use that qualifier. The problem with your application is that the "deprecated code" shouldn't have deprecated rank in Wikidata. They would just have normal rank with an "end date" and "end cause". The new code would have preferred rank. If there is none, "no value" could have preferred rank. --- Jura 09:15, 10 February 2019 (UTC)
- Like this? It still is getting flagged as a constraint violation. ISO 639-3 code (P220) of
Emilian–Romagnol (Q242648) and ISO 639-3 code (P220) of
Romagnol (Q1641543) — Sascha (talk) 14:17, 11 February 2019 (UTC)
- Yes, more or less. Maybe end cause could be "code split" or something like that, but I'm not really sure about that. I also added "no value" in preferred rank. --- Jura 18:03, 11 February 2019 (UTC)
- Like this? It still is getting flagged as a constraint violation. ISO 639-3 code (P220) of
Emilian–Romagnol (Q242648) and ISO 639-3 code (P220) of
Romagnol (Q1641543) — Sascha (talk) 14:17, 11 February 2019 (UTC)