Shortcut: WD:P642
Wikidata:WikiProject Data Quality/Issues/P642
This page serves to coordinate the process of deprecating of (P642). See also User:Lucas Werkmeister/P642 considered harmful.
For suggested alternatives to using of (P642), see section #Use cases. For information on identifying and handling use cases, see #Deprecation work.
Use cases[edit]
This section serves to identify specific use cases of of (P642) and appropriate alternative statement forms.
Important notes for reading these tables[edit]
Scope:
- Unless noted as "exactly [class]", the scope includes all subclasses of the listed class(es).
- Unless otherwise noted, the qualifier value must be an instance of the qualifier value class (or its subclasses).
Proposed handling:
- Where a main statement is proposed, the statement value will be the original value of the qualifier.
- Unless otherwise noted, the statement with the P642 qualifier will not be removed; only the qualifier will be removed.
For example:
Paso Terra (Q65093014)instance of (P31)restaurant (Q11707)
is replaced with two statements:
Paso Terra (Q65093014)instance of (P31)restaurant (Q11707), and
Paso Terra (Q65093014)cuisine (P2012)seafood (Q192935).
Only the latter is indicated in the proposed handling.
Use on Wikidata items[edit]
Qualifying instance of (P31) or is a list of (P360)[edit]
Except where noted, the queries and handlings in this table only cover instance of (P31) statements. is a list of (P360) statements should use the replacement properties listed here, but instead of using them as main statements, they should be used as qualifiers to is a list of (P360), as they apply to the items being listed, rather than the list itself.
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement value class* ("Item is an instance of ____ ...") |
Qualifier value class* ("...of something in class ____.") |
Proposed handling | Status | Example item |
i1 | [1] | 64 | broadcasting program (Q11578774) | broadcaster (Q15265344) | Main statement original broadcaster (P449) | ||
i2 | [2] | 0 | audiovisual work (Q2431196) | producer (Q47541952) | Main statement producer (P162) | ||
i3 | [3] | 0 | audiovisual work (Q2431196) | production company (Q11396960) | Main statement production company (P272) | ||
i4 | [4] | 0 | creative work (Q17537576) | media distributor (Q12540664) | Main statement distributed by (P750) | ||
i5 | [5] | TBD | article (Q191067) | written work (Q47461344) | Main statement published in (P1433) | EB-11 / Andromeda (Q76812409) | |
i6 | [6] | 5774 | anthroponym (Q10856962) TBD |
ethnic group (Q41710) human social group (Q874405) |
Main statement culture (P2596) | Scope to be determined | Kuhap (Q96650979) |
[Arbitrary division][edit]
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement value class* ("Item is an instance of ____ ...") |
Qualifier value class* ("...of something in class ____.") |
Proposed handling | Status | Example item |
i6a/i8 | [7] | TBD | citizen (Q1020994) exactly person (Q215627) exactly human (Q5) |
country (Q6256) | Main statement country of citizenship (P27) | ||
i6b | [8] | TBD | sports team (Q12973014) athlete (Q2066131) |
country (Q6256) | Main statement country for sport (P1532) | ||
i6c | [9] | 10255 | vessel (Q16391167) | country (Q6256) | Main statement country of registry (P8047) | ||
i6d | [10] | TBD | work (Q386724) culture (Q11042) heritage (Q2434238) |
country (Q6256) | Main statement country of origin (P495) | ||
i7 | [11] (P31, any class) | 4195 | Any EXCEPT those in i6a/b/c/d | country (Q6256) | Main statement country (P17) | ||
i7a | [12] (P360, any class) | 123 | Qualifier country (P17) |
[Arbitrary division][edit]
[Arbitrary division][edit]
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement value class* ("Item is an instance of ____ ...") |
Qualifier value class* ("...of something in class ____.") |
Proposed handling | Status | Example item |
i21 | [23] | 10306 | exactly synonym (Q1040689) | taxon (Q16521) | (1) Remove P642 used with either P31 or P2868 = synonym (Q1040689), and (2) replace with main statement "taxon synonym of" (inv. of taxon synonym (P1420)). |
Property proposal created (purview of Wikidata:WikiProject Taxonomy) |
Ex. 1: Inocybe acutofulva (Q107800296) is a taxon synonym (P1420) of Inosperma acutofulvum (Q125928529). Ex. 2: Umbelliferae (Q10387485) is a taxon synonym (P1420) of Apiaceae (Q145794). Ex. 3: Littorina nebulosa (Q10567953) is a taxon synonym (P1420) of Littoraria nebulosa (Q3173727). |
i22 | [24] | 173 | exactly protonym (Q10640897) | taxon (Q16521) for zoology | (1) Remove P642 used with either P31 or P2868 = protonym (Q10640897), and (2) replace with main statement "protonym of" (inv. of original combination (P1403)) |
Property proposal to be created (purview of Wikidata:WikiProject Taxonomy) |
Ex. 1: Spindasis dufranei (Q21324189) is the original combination (P1403) of Cigaritis dufranei (Q5119852). |
i23 | [25] | 5 | exactly basionym (Q810198) | taxon (Q16521) for botany | (1) Remove P642 used with either P31 or P2868 = basionym (Q810198) and (2) replace with main statement "basionym of" (inv. of basionym (P566)) |
Property proposal to be created (purview of Wikidata:WikiProject Taxonomy) |
Ex. 1: Agaricus gibbus (Q46795858) is the basionym (P566) of Infundibulicybe gibba (Q765631). |
i24 | [26] | 5 | exactly replaced synonym (Q15709329) | taxon (Q16521) | (1) Remove P642 used with either P31 or P2868 = replaced synonym (Q15709329) and (2) replace with main statement "replaced synonym of" (inv. of replaced synonym (for nom. nov.) (P694)) |
Property proposal to be created (purview of Wikidata:WikiProject Taxonomy) |
Ex. 1: Ficaria verna (Q157557) is a replaced synonym (for nom. nov.) (P694) of Ranunculus ficaria (Q19796483). |
Qualifying subclass of (P279) only[edit]
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement value class* ("Item is a subclass of ____ ...") |
Qualifier value class* ("...of something in class ____.") |
Proposed handling | Status | Example item |
s1 | [27] (expand) | TBD | political territorial entity (Q1048835) | political territorial entity (Q1048835) | Main statement applies to jurisdiction (P1001) | ||
s2 | [28] | 116 | instance of second-order class (Q24017414) | any | Main statement is metaclass for (P8225) |
Qualifying instance of (P31) or subclass of (P279) (expand to is a list of (P360)?)[edit]
Handling existing statements of the form iteminstance of (P31) OR subclass of (P279) OR is a list of (P360)val
- val: value of original statement
- qval: qualifier value of original statement
- ins: instance of (P31) (either directly or via a chain of subclass of (P279) statements)
- sub: subclass of (P279) (either directly or via a chain of subclass of (P279) statements)
Qualifying creator (P170) and sub-properties[edit]
Scope of use case | ||||||||
---|---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement property | Statement value class | Qualifier value class | Proposed handling | Status | Example item |
c1 | Query (limited) | TBD | author (P50) | human (Q5) (instances only) | creative work (Q17537576) (classes only) | Verify, then qualifier applies to part (P518) | ||
c2 | Query (limited) | 11 | creator (P170) | human (Q5) (instances only) | creative work (Q17537576) (classes only) | Verify, then qualifier applies to part (P518) | Grosshaus (Q19362549) | |
c3 | Query (limited) | 15 | Subproperties of creator (P170) except author (P50) | human (Q5) (instances only) | creative work (Q17537576) (classes only) | Qualifier applies to part (P518) | Pinocchio (Q7196391) | |
c4 | TBD | creator (P170) with subproperties | human (Q5) (instances only) | creative work (Q17537576) (instances only) | TBD | |||
c5 | TBD | creator (P170) with subproperties | human (Q5) (instances only) | not creative work (Q17537576) | TBD | |||
c6 | TBD | creator (P170) with subproperties | not human (Q5) (instances only) | any | TBD | |||
c7 | [35] | 3 | programmer (P943) | human (Q5) (direct instances only) | any | Qualifier applies to part (P518) | TOPS-20 (Q1481861) | |
c8 | Query (limited) | 79 | creator (P170) with subproperties (here enumerated) | human (Q5) (instances only) | instance of country (Q6256) when consistent with country of citizenship (P27) of object | Drop qualifier | Jag vill leva i Europa (Q10539163) | |
c9 | Query (timing out) | TBD | creator (P170) with subproperties | human (Q5) (instances only) | instance of country (Q6256) when conflicting with country of citizenship (P27) of object | Investigate reason for discrepancy, resolve, and then drop qualifier |
Qualifying position held (P39)[edit]
Some positions may involve multiple interpretations of of (P642); diplomats constitute an obvious case calling for at least two properties (possibly existing ones; that can be determined when all the queries have been listed).
Qualifying URL (P2699) (expand to subproperties)[edit]
Use case: existing statements of the form itemURL (P2699)(any)
- qval: qualifier value of original statement
- ins: instance of (P31) (either directly or via a chain of subclass of (P279) statements)
- sub: subclass of (P279) (either directly or via a chain of subclass of (P279) statements)
Status: allowed qualifiers constraint (Q21510851) applied to URL (P2699) allows the following replacement qualifiers, and does not allow of (P642). In cases with multiple proposed replacements, a rule for which replacement is most appropriate must be determined to allow automated migration.
To do: Change handling to use sub-properties of URL ([39]) without a qualifier as appropriate.
Case ID | Query | Quantity | Use case (qualifier value) | Proposed handling | Status | Example item |
---|---|---|---|---|---|---|
u0 | [40] | 3959 612 449 |
qval[sub]information (Q11028), manifestation (Q286583), or work (Q386724), and qval[NOT sub]architectural structure (Q811979) |
Qualifier contains (P4330) | ||
u1 | [43] | 0 | qval=item (qualifier value is the parent item) | Drop qualifier | Cleared 2022-02-24 | |
u2 (was o10) |
[44] | 3 | qval[ins]periodical (Q1002697) | Qualifier published in (P1433)? | ||
u3 (was o11) |
[45] | 73 | qval[ins]collection (Q2668072) or database (Q8513) | Qualifier collection (P195) | ||
u4 | [46] | 53 | qval[ins]online publication (Q1714118) or web service (Q193424) | Qualifier part of (P361) or publisher (P123) | Need to separate cases | |
u4b | [47] | 20 | qval[ins]publisher (Q2085381) | Qualifier publisher (P123) | ||
u5 (was o12) |
[48] | TBD | qval[ins]person or organization (Q106559804), but not periodical (Q1002697), online publication (Q1714118), or web service (Q193424) | Qualifier publisher (P123) or owned by (P127) | Need to separate cases | |
u6 (was o9) |
[49] | 83 | qval[sub]any and not matched above | Qualifier object has role (P3831), main subject (P921), or contains (P4330) | Need to separate cases | abook (Q9138324) |
Qualifying winner (P1346)[edit]
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement value class | Qualifier value class | Proposed handling | Status | Example item |
w1 | [50] | 647 | any | rank (Q4120621) | Qualifier results (P2501)? | Handling to be determined | 2019 Pulitzer Prize (Q63185624) |
w2 | [51] | 1456 | any | award (Q618779) | Qualifier applies to part (P518)? | Handling to be determined | 1952 Formula One season (Q68967) |
Qualifying numeric properties[edit]
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement property | Qualifier value class | Proposed handling | Status | Example item |
n1 | [52] | 9587 | number of matches played/races/starts (P1350) | recurring sporting event (Q18608583) | Qualifier applies to part (P518) or part of (P361)? | Handling to be determined | |
n2 | [53] | 0 | precipitation height (P3036) | any | Qualifier applies to part (P518) | Handling discussion here | Montreal Flood of 1987 (Q3043389) |
n3 | [54] | 6718 | mass (P2067) | birth mass (Q4128476) adult weight (Q78101716) |
Qualifier object has role (P3831) | wolverine (Q14334) | |
n4 | [55] | 4300 | sport number (P1618) | any | Qualifier member of sports team (P54) | Handling discussion Constraints applied to sport number (P1618) Ready to migrate |
Mario Götze (Q104454) |
n5 | [56] | 0 | port (P1641) | any | Qualifier protocol (P2700) | Handling discussion Constraint applied to port (P1641) Ready to migrate |
Tunnel Setup Protocol (Q3542129) |
Qualifying other specific properties[edit]
Scope of use case | ||||||||
---|---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement property | Statement value class | Qualifier value class | Proposed handling | Status | Example item |
o3 | TBD | main subject (P921) | academic discipline (Q11862829) | country (Q6256) | Change main value to more specific one that includes the qualifier value, where such exists, e.g. history of Spain (Q7781); otherwise use qualifier country (P17) | |||
o4 | TBD | main subject (P921) | academic discipline (Q11862829) | TBD | Change main value to more specific one that includes the qualifier value, where such exists, e.g. history of Spain (Q7781); otherwise use qualifier TBD | |||
o5 | [57] (limited) | TBD | main subject (P921) | academic discipline (Q11862829) | any not covered above | Change main value to more specific one that includes the qualifier value, where such exists, e.g. history of Spain (Q7781); otherwise use qualifier facet of (P1269) | ||
o8 | [58] | 752 | occupation (P106) | scholar (Q2248623) (instances only) | any | Main statement field of work (P101) | AnaLouise Keating (Q30070209) | |
Case ID | Query | Quantity | Statement property | Statement value class | Qualifier value class | Proposed handling | Status | Example item |
Scope of use case | ||||||||
o14 | [59] | 1260 | has characteristic (P1552) | any EXCEPT name without diacritical marks (Q89410507) | any | qualify with new property "quality or property of" | Property proposal to be created | baseball rubbing mud (Q4866552) |
o15 | [60] | 7213 | has characteristic (P1552) | exactly name without diacritical marks (Q89410507) | proper name (Q28129886) | TBD | Bade (Q16479689) | |
o16 | [61] | 14518 | related category (P7084) | Wikimedia category (Q4167836) | metaclass (Q19361238) | Qualifier category contains (P4224) | Handling discussion Constraint applied to related category (P7084) Ready to migrate |
Charlize Theron (Q80046) |
o19 | [62] | 652 | union of (P2737) disjoint union of (P2738) |
any (expected to be list of values as qualifiers (Q23766486) | any | Qualifier list item (P11260) | Property created Constraints created on P2737 and P2738 Ready to migrate |
series (Q170198) |
o20 | [63] | 28 | has use (P366) | any | formal system (Q649732) | Qualifier applies in context | Appropriate scope of main item (currently limited to information (Q11028) in query) to be determined. | @ (Q10714) |
Qualifying any property[edit]
Exclude cases handled more specifically above.
Scope of use case | |||||||
---|---|---|---|---|---|---|---|
Case ID | Query | Quantity | Statement value class | Qualifier value class | Proposed handling | Status | Example item |
x1 | TBD | human (Q5) (instances only) group of humans (Q16334295) (instances only) |
physical location (Q17334923) | drop qualifier | |||
x2 | TBD | any EXCEPT human (Q5) or group of humans (Q16334295) | country (Q6256) | Qualifier country (P17) | |||
x3 | [64] | 157 | any | any item which the subject item has as a value of has part(s) (P527) | Qualifier applies to part (P518) | Constraint created on P642 Ready to migrate |
Piganino (Q18328047) |
x4 | TBD | occurrence (Q1190554) | property (Q937228) state (Q3505845) relation (Q930933) |
Qualifier criterion used (P1013) | playing (Q110458661) (statement has goal (P3712)) | ||
x5 | TBD | occurrence (Q1190554) | any not captured above | New qualifier "action applies to" (aliases: object of action; target of action; patient) | Property proposal: action applies to | passivation (Q7142788) playing (Q110458661) (statement has effect (P1542)) | |
x6 | TBD | anatomical structure (Q4936952) | individual organism (Q110224119) | Replace qualifier with part of (P361) | Salome (Fragment) (Q116966881) |
Use on Wikidata properties[edit]
Use on Wikidata lexemes[edit]
All TBD, see talk page.
Deprecation work[edit]
Migration process[edit]
- Identify a use case (a set of statements that can be handled the same way). (Check if an already identified use case can reasonably be expanded.)
- Identify a new handling approach for the case, and make sure it makes sense for all query results.
- Get consensus on the new handling approach:
- If the use case involves specific main statement properties, seek input on the talk pages of those properties, and of any associated WikiProjects.
- Once consensus is achieved, if a new property is required, create a property proposal. For new properties, work with speakers of major languages to ensure accurate and unambiguous labels are in place before migrating.
- Migrate uses to new handling; automate where practical.
- Implement constraints to dissuade future use of of (P642) for the given case, and provide constraint clarification (P6607) explaining the new handling.
Update status on this page at each step. Status should be one or more of (add options as needed):
- Scope to be determined
- Handling to be determined
- SPARQL query needed
- Handling discussion started/ongoing/concluded [here]
- Property proposal to be created
- Property proposal: [here]
- Ready to constrain use of P642
- Constraints created on use of P642: [here]
- Ready to migrate
- Fully migrated as of [date]
Preparatory statistics[edit]
General queries[edit]
- Obtain statistics per property
- Obtain statistics per property type (if it times out, try again)
- Obtain statistics per property value data type
- Obtain statistics per property value data type for property items only
- Obtain statistics per item (timing out)
- Obtain statistics per property object (timing out)
- first 100,000 of (P642) uses grouped by qualifier value
Special queries[edit]
These may require manual intervention.
- Use of the deprecated qualifier as a main value statement (obvious constraint violation)
- The deprecated qualifier appearing in value position (mostly in property constraint declarations)
Tabulated cases[edit]
Query | Quantity | Statement property | Statement value class | Qualifier value | Proposed handling | Example item |
---|---|---|---|---|---|---|
Query | 164558 | subject has role (P2868) | N/A | any | TBD | Theun de Vries (Q2143934) |
Query | 60792 | position held (P39) | N/A | any | See #Qualifying position held (P39) | Jaroslav Faltýnek (Q15124034) |
Query | 57854 | N/A | any | TBD | Dani Pedrosa (Q313959) | |
Query | 38241 | winner (P1346) | N/A | any | See [[#Qualifying winner (P1346)]] | 2019 Pulitzer Prize (Q63185624) |
Query | 10452 | taxon range (P9714) | N/A | any | TBD | Oriental Turtle Dove (Q704987) |
Query | 8976 | occupation (P106) | N/A | any | TBD | Franz-Josef Sehr (Q22075663) |
Query | 5892 | significant event (P793) | N/A | any | see use case x5 | Kami Rita Sherpa (Q30688283) |
Query | 54587 | any | any | creative work (Q17537576) (classes only) | TBD | Executive Order 13990 (Q105332577) |
Query | 19730 | any | any | work of art (Q838948) (classes only) | TBD | Mattioli Productions Company (Q95593375) |
Query | 12036 | any | any | film directed by this person (Q29017630) (classes only) | TBD | Wes Anderson (Q223687) |
Senses of "of" (English)[edit]
These are senses of "of" according to the Consise Oxford Dictionary, ninth edition:
COD9 | Sense | Examples |
---|---|---|
1 | origin, cause, or ownership |
|
2 | the material or substance constituting or identifying a thing |
|
3 | belonging, connection, or possession |
|
4 | identity or close relation |
|
5 | removal, separation, or privation |
|
6 | reference, direction, or respect |
|
7 | objective relation |
|
8 | partition, classification, or inclusion |
|
9 | description, quality, or condition |
|
10 | N. Amer. time in relation to the following hour |
|
Labels of relevant properties[edit]
This table lists labels in some major languages for a number of properties either affected by or created as part of this deprecation effort. The idea is to get an overview of the translation process, as well as a comparison of the appropriateness of those translations (feedback from editors fluent in or at least familiar with these languages will be appreciated).
Property proposals (and possible future proposals)[edit]
Proposed property | COD9 | Description | Proposal status |
---|---|---|---|
action applies to | 7 | Use case identified below | Not done No consensus |
quality or property of | 9 | Use cases identified below | Not yet proposed; more work needed |
in service of | 3 | To be used with position held (P39) and similar to specify what country, organization, private corporation, business enterprise or other legal entity a natural person is appointed to represent or work on behalf of. This allows the main statement value to be a generic position such as president, ambassador, attorney general, board member, auditor, CEO and so on without the need for the identity of the served entity to be embedded in the role item (such as "Clark County Commissioner (Q105802373)"; there seem to be a lot of those). | Proposal to be written |
assigned to | 3 | Sometimes combined with in service of to indicate the receiving country of a diplomatic mission, a conference to which a formal delegation is sent, a legislative committee or any other assignment outside the control of the sending entity. | Proposal to be written |
with respect to | 6 | Use cases identified below | Not yet proposed; more work needed |
applies in context | 4 | A limitation of applicability to a particular context such as a profession, a field of science, a culture, an organization, a programming language etc. For an example, see use case #o20. Some existing properties such as applies to part (P518), applies to jurisdiction (P1001), valid in period (P1264), valid in place (P3005), applies to people (P6001) and applies to work (P10663) might be considered subproperties of applies in context that may be less than perfect matches in some cases. | Not yet proposed; more work needed |
to benefit | 7 | product packaging process (Q117156507) has goal (P3712) "protection of product" | Not actual proposal; just an example case for comparison |
describing | 6 | product packaging process (Q117156507) has goal (P3712) "advertising of product" | Not actual proposal; just an example case for comparison |
target audience | 6 | product packaging process (Q117156507) has goal (P3712) "education of consumer" | Not actual proposal; just an example case for comparison |
Prerequisite changes[edit]
These are edits not themselves necessarily involving the of (P642) qualifier, but needed or at least helpful to support subsequent removal of of (P642) from other statements.
Redundant statements[edit]
There may be Wikidata best practices recommending certain redundant claims; check out what applies to country (P17).
Certain items have multiple country (P17) claims, contradicting its documented purpose of describing the location. It may be desirable to either remove or ignore some of the redundant ones, before using the values of the remaining ones for other statements.
Case ID | Query | Quantity | Scope of use case | Proposed handling | Status | Example item |
---|---|---|---|---|---|---|
r1 | Query | TBD |
|
discover redundant country (P17) claims to avoid changing later on | ambassador to France (Q19359050) |
Interpret country (P17) to define values of other statements[edit]
There have been lots of discussion about country (P17), requiring extra consideration be given to current best practice before depending on (and potentially replacing) some cases of country (P17) with assigned to.
Case ID | Query | Quantity | Scope of use case | Proposed handling | Status | Example item |
---|---|---|---|---|---|---|
a1 | Query | TBD | add properties for this type (P1963) assigned to | refinement required | class of ambassadors to a country (Q29918335) | |
a2 | Query | 259 | add assigned to V | pending new property | ambassador to France (Q19359050) |