Wikidata:WikiProject Deprecate P642/Use cases

This page gives the recommended handling of statements using the property of (P642), which is set to be deprecated. It is managed by WikiProject Deprecate P642.

Replacing of (P642)

edit

Basic process (please read!)

edit

For any statement using of (P642), if you are not sure what to replace it with:

1. Get the parents of the subject item, property, main value (if it's an item), and qualifier value. (Most use cases depend only on the latter two.) Use these queries:

2. Search this page (see the Table of Contents) for use cases matching each part of the statement, and pick the most specific. (If you can't find a match, ask on the Talk page, and if you're inclined, see the guide on defining new use cases.) Assume (except where noted):

  • "Main value" is equal to, a subclass of, or rarely, an instance of a listed class or its subclasses. ("Exactly" means equal to only.)
  • "Qualifier value" is an instance, or sometimes a subclass, of a listed class or its subclasses.

3. Make sure the recommendation makes sense for the statement (if it doesn't, ask on the Talk page), and apply it.

When to replace with a main statement

edit

Usually, of (P642) should be replaced by another qualifier on the same statement. However, it is sometimes more appropriate to use the replacement property as a main property instead, with the same value as the original qualifier. (In fact, many properties are not allowed to qualify instance of (P31).) A qualifier should usually be replaced with a main statement when two things are true:

1. The claim made by the qualifier applies directly to the subject item, rather than to a statement about the subject. This is usually true of qualifiers on the basic membership properties (instance of (P31), subclass of (P279) or part of (P361)), and often on certain other properties, including subject has role (P2868) and genre (P136).
2. The replacement property is allowed as a main property (i.e., it is not constrained to the qualifier scope).

For example:

 YPaso Terra (Q65093014)instance of (P31)restaurant (Q11707)of (P642)seafood (Q192935) should be replaced with two statements:
 YPaso Terra (Q65093014)instance of (P31)restaurant (Q11707), and  YPaso Terra (Q65093014)cuisine (P2012)seafood (Q192935).

If the statement has other qualifiers (especially restrictive ones) or references, these should usually be copied to the new main statement.

When to remove without replacing

edit

When a qualifier gives information that is always true of the relationship between the statement value and the qualifier value, that information should be stated on one or both of those two items, rather than as a qualifier on other items. For example:

 YThe Star-Spangled Banner (Q44696)lyricist (P676)Francis Scott Key (Q320633)of (P642)United States of America (Q30)

That Key was a US citizen is always true, irrespective of his authorship of the national anthem. So, ensuring that Francis Scott Key (Q320633) has country of citizenship (P27)United States of America (Q30), we remove the qualifier from The Star-Spangled Banner (Q44696).

Also, if a qualifier gives information that is already given in a main statement on the same item, it can simply be removed. For example, the presence of the second statement below obviates the need for the qualifier on the first:

history of Canada (Q2945)instance of (P31)history of a country or state (Q17544377)of (P642)Canada (Q16)
history of Canada (Q2945)facet of (P1269)Canada (Q16)

Mass migration

edit

Main value is, or is a subclass of....

edit

Main value is, or is a subclass of, academic discipline

Main value is, or is a subclass of, intellectual work or group of works.

...and qualifier value is animate

edit

Qualifier value is a person or group of people.

...and qualifier value is inanimate

edit

Main value is, or is a subclass of, geographic entity.

...and qualifier value is also a geographic entity

edit

...and qualifier value is not a geographic entity

edit

Main value is, or is a subclass of, number.

Main value is, or is a subclass of, job title, occupation, or position.

occurrent (event or process)

edit

Main value is, or is a subclass of, occurrent (event).

Caution: For some types of events, of (P642) may indicate more than one semantic role, whose values may belong to the same class. Such statements require additional interpretation of context to determine the role of each qualifier value; the tables suggest possibilities.

Note 1: If the same item both causes and undergoes an occurrence and is animate, it is considered an agent; if inanimate, it is considered an object.

...and qualifier value is its agent (animate cause)

edit

...and qualifier value is its object (undergoer)

edit

...and qualifier value is neither its agent or object

edit

Main value is, or is a subclass of, person or group of people.

For occupations, see Main value is a subclass of occupation.

Main value is, or is a subclass of, product.

Main value is, or is a subclass of, Wikimedia internal item.

Qualifier value is a...

edit

part of the subject item

edit

Qualifier value is a part, or class of parts, of the subject item.

person, group of people, or individual animal

edit

Qualifier value is a person, group of people (including political territories!), or individual animal.

place

edit

Qualifier value is a place.

If main value is a person or group of people, see table in section Main value is a subclass of person or group of people.

If main value is also a place, see table in section Main value is a subclass of geographic entity.

taxon

edit

Qualifier value is a taxon.

Purview of Wikidata:WikiProject Taxonomy.

temporal entity (event or time period)

edit

word or name

edit

Qualifier value is a word or name.

Other use cases with any main property

edit

Main property is...

edit

Item-valued properties

edit

Note: Most statements using instance of (P31) will belong to use cases that do not depend on the main property, which are listed in the sections above.

Other item-valued properties

edit

Non-item-valued properties

edit

Property with a date/time value

edit

Query of time-valued properties ordered by number of statements using P642

Property with a numeric value

edit

Query of numeric-valued properties ordered by number of statements using P642

Property with a string value

edit

Query of string-valued properties ordered by number of statements using P642

Property with a URL value

edit

(URL (P2699) or one of its sub-properties)

Query of URL-valued properties ordered by number of statements using P642

Other non-item-valued properties

edit

See also

edit