Property talk:P4224

Latest comment: 4 years ago by GerardM in topic This is not what this property is used for

Documentation

category contains
category contains elements that are instances of this item
RepresentsWikimedia category (Q4167836)
Data typeItem
Template parameterin SPARQL form, on Commons c:Template:Category contains (experimental)
DomainWikimedia category (Q4167836)
Allowed values
According to this template: class items
According to statements in the property:
When possible, data should only be stored as statements
ExampleCategory:Grade I listed buildings in Bedfordshire (Q8497784)architectural structure (Q811979)
Category:Association football magazines (Q4305)magazine (Q41298)
Robot and gadget jobsMove existing statements on category items using is a list of (P360) to use this property instead
See alsocategory combines topics (P971), is a list of (P360), category's main topic (P301), contains (P4330), instance of (P31), related category (P7084)
Lists
Proposal discussionProposal discussion
Current uses
Total943,110
Main statement925,81198.2% of uses
Qualifier17,2921.8% of uses
Reference7<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “Wikimedia category (Q4167836): item must contain property “instance of (P31), subclass of (P279)” with classes “Wikimedia category (Q4167836)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P4224#Type Q4167836, hourly updated report, SPARQL
Scope is as main value (Q54828448), as qualifier (Q54828449): the property must be used by specified way only (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/P4224#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P4224#Entity types
 
Q59542487 missing P4224
Wikimedia category (Q59542487)s should define their membership semantics using category contains (P4224) and relevant qualifiers (when applicable). (Help)
Violations query: SELECT DISTINCT ?item ?itemLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?item wdt:P31 wd:Q59542487. FILTER NOT EXISTS { ?item wdt:P4224 ?category_contains. } }
List of this constraint violations: Database reports/Complex constraint violations/P4224#Q59542487 missing P4224

Metacategory constraints

edit

Conflicts with instance of (P31) : Wikimedia meta category (Q30432511) deleted because it means that The metacategory contains sub- metacategories OR categories which contains classes stated in category contains (P4224) Here.--Avatar6 (talk) 00:36, 11 September 2018 (UTC)Reply

This is not what this property is used for

edit

There is extensive usage of using it to describe what the list contains.. so much so that Reasonator will show what should be in the list from a Wikidata point of view. Thanks, GerardM (talk) 08:41, 21 May 2020 (UTC)Reply

Return to "P4224" page.