Help:Modelling/Wikipedia and Wikimedia concepts
See Help:Modelling/Home for notation, intended audience.
Wikipedia and Wikimedia concepts
editSee also Help:Modelling/General#Relation to sister projects.
Wikipedia categories
editRelevant items:
- All items that represent Wikimedia categories should be instances of Wikimedia category (Q4167836).
Relevant properties:
- All items that represent Wikimedia categories should use category's main topic (P301) to link to the item that is the subject of the Category.
Example:
Some categories represent the intersection of two or more topics. For example:
There is also at least one more specialized use of category combines topics (P971) for a "people from" or "people of" category:
Wikimedia project pages
editRelevant items:
- All items that represent Wikimedia project pages should be (directly or indirectly) instances of Wikimedia project page (Q14204246).
Examples:
Wikimedia templates
editRelevant items:
- All items that represent Wikimedia templates should be (directly or indirectly) instances of Wikimedia template (Q11266439).
Relevant properties:
- template has topic (P1423) - links to the item that is the subject of this Template
Example:
Disambiguation pages
editDisambiguation pages are pages that include the __DISAMBIG__ magic word. This magic word is available in all the Wiki projects.
Wikipedia and WikiVoyage disambiguation pages should have the description "Wikimedia disambiguation page".
Disambiguation pages are grouped by form, not by meaning. All the Wikipedia and Wikivoyage pages with sitelinks to a Wikidata page should have exact same spelling apart from the exceptions listed in the guidelines of the respective projects.
All disambiguation page items should have the statement 'instance of (P31) Wikimedia disambiguation page (Q4167410)'.
Closely related, first and last names: instance of (P31) → family name (Q101352), full name (Q1071027).
See also Wikidata:WikiProject Disambiguation pages/guidelines
Wikipedia lists
editEvery item that corresponds to a Wikimedia list article should have :
It should typically use is a list of (P360) to indicate what it is a list of.
This can then be linked back in the other direction with has list (P2354).
Examples:
- simple list:
- complex list with variant and several pages : list of minerals in alphabetical order
- Minerals beginning with the letter 'A'
- Minerals beginning with the letter 'B'
- Imaginably this alphabetic breakdown could also follow the pattern of Help:Modelling/General#Series and sequences, although as of June 2018 it does not.
- Minerals beginning with the letter 'A'
Compound Wikipedia articles
editCompound pages are Wikipedia pages that deal with more than one object or concept and are conflated.
Separate Wikidata items should be created for each of the separate objects/concepts in addition to the Wikidata page linked to the Wikipedia compound page. Assuming that the Wikipedia article is covering a coherent but broader topic, property has part(s) (P527) should be used to link to these pages from the compound page.
Wikidata pages linking to Compound Wikipedia pages will in general have few other properties.
Properties:
Example:
However, there are also Wikipedia pages that simply don't have a coherent subject: they are arbitary conflation (Q14946528), which is a problem for Wikidata item modelling where a unique item and item identifier is required for each object or concept.
Wikidata items for such articles should be modeled with the following statements:
- instance of (P31) Wikipedia article covering multiple topics (Q21484471)
- main subject (P921) first object/concept, second object/concept...
Typically either no or very few other statements would be present on these Wikidata items.
Note that use of has part(s) (P527) would be inappropriate for the items describing these incoherent articles.
Examples of Wikidata items which model "baggy" Wikipedia articles:
Wikipedia articles about the intersection of a topic and place
editWikipedia articles about the intersection of a topic and place should have: Properties:
- some value for facet of (P1269).
- geographic properties including country (P17) if applicable, or, failing that, continent (P30); also possibly located in the administrative territorial entity (P131) and/or location (P276).
Example: