Property talk:P31

From Wikidata
Jump to navigation Jump to search

Documentation[edit]

instance of
that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform)
DescriptionThis item is an instance of that other item (which represents some type or grouping of entities). Rather use a more specific type or instance of property, if one applies.
Representsinstance of (Q21503252)
Data typeItem
DomainInstances (note: this should be moved to the property statements)
Allowed values
According to this template: Any item that represents a class; any item that is not an instance
According to statements in the property:
When possible, data should only be stored as statements
Usage notesUsage instructions in English
ExampleNelson Mandela (Q8023)human (Q5)
Gachalá Emerald (Q772466)emerald (Q43513)
lists of communes of France (Q177866)Wikimedia list article (Q13406463)
electron (Q2225)type of quantum particle (Q22675015)
Sourcehttp://www.w3.org/TR/rdf-schema/#ch_type
Robot and gadget jobsDeltaBot does the following jobs: The gadget Wikidata useful lets the user choose among some common types and store the statement in one click.
Tracking: sameCategory:Template parameter is the same as P31 (Q42533274)
Tracking: usageCategory:Pages using Wikidata property P31 (Q20117426)
Tracking: local yes, WD nono label (Q32764726)
See alsosubclass of (P279), part of (P361)
Lists
Proposal discussion[not applicable Proposal discussion]
Current uses
Total115,409,073
Main statement115,298,320>99.9% of uses
Qualifier110,384<0.1% of uses
Reference369<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Qualifiers “of (P642), valid in period (P1264), reason for deprecated rank (P2241), criterion used (P1013), end cause (P1534), valid in place (P3005), applies to part (P518), nature of statement (P5102), quantity (P1114), sourcing circumstances (P1480), statement is subject of (P805), including (P1012), statement disputed by (P1310), statement supported by (P3680), determination method (P459), object named as (P1932), identity of subject in context (P4649), relative to (P2210), reason for preferred rank (P7452), applies to jurisdiction (P1001), applies to name of subject (P5168), excluding (P1011), statement is regarded as spoiler for (P7528), point in time (P585), subject named as (P1810), identity of object in context (P4626), together with (P1706), subject form (P5830), subject sense (P6072), country for sport (P1532), start time (P580), end time (P582), start period (P3415), end period (P3416), latest date (P1326), latest start date (P8555), earliest date (P1319), earliest end date (P8554), definition domain (P1568), codomain (P1571), state of use (P5817), series ordinal (P1545), follows (P155), followed by (P156), replaces (P1365), replaced by (P1366), state of conservation (P5816), object has role (P3831), victim (P8032), individual of taxon (P10241), has characteristic (P1552), ‎latest end date (P12506): this property should be used only with the listed qualifiers. (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/P31#allowed qualifiers, SPARQL
None of art (Q735), music (Q638): value must not be any of the specified items.
Replacement property:
Replacement values: work of art (Q838948), musical work (Q2188189) (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/P31#none of, SPARQL
Scope is as main value (Q54828448): 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/P31#Scope, SPARQL
Contemporaries:
if [item A] has this property (instance of (P31)) linked to [item B],
then [item A] and [item B] have to coincide or coexist at some point of history. (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/P31#Contemporary, SPARQL
None of property likely to be challenged (Q44597997), property that may violate privacy (Q44601380): value must not be any of the specified items.
Replacement property: living people protection class (P8274)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, hourly updated report, SPARQL
None of Wikimedia article page (Q15138389): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of Homo (Q171283): value must not be any of the specified items.
Replacement property:
Replacement values: human (Q5) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, hourly updated report, SPARQL
None of woman (Q467), female (Q6581072), female character (Q24630543): value must not be any of the specified items.
Replacement property: sex or gender (P21)
Replacement values: female (Q6581072) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, hourly updated report, SPARQL
None of man (Q8441), male (Q6581097), male character (Q100911674): value must not be any of the specified items.
Replacement property: sex or gender (P21)
Replacement values: male (Q6581097) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, hourly updated report, SPARQL
None of Commons category (Q24574745): value must not be any of the specified items.
Replacement property:
Replacement values: Wikimedia category (Q4167836) (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/P31#none of, SPARQL
None of item of collection or exhibition (Q18593264): value must not be any of the specified items.
Replacement property:
Replacement values: novalue (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/P31#none of, SPARQL
None of Historical Monument (Q916475), classified historical monument (Q10387684), monument historique inscrit (Q10387575): value must not be any of the specified items.
Replacement property: heritage designation (P1435)
Replacement values: (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/P31#none of, SPARQL
None of YouTuber (Q17125263), video blogger (Q4110598), podcaster (Q15077007), Japanese idol (Q226008): value must not be any of the specified items.
Replacement property: occupation (P106)
Replacement values: (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/P31#none of, SPARQL
None of video game developer (Q58287519): value must not be any of the specified items.
Replacement property: occupation (P106)
Replacement values: (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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of audio podcast (Q24633474), video podcast (Q3276244), podcast (Q20899), podcasting (Q33212151): value must not be any of the specified items.
Replacement property:
Replacement values: podcast (Q24634210) (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/P31#none of, SPARQL
None of hero (Q162244), villain (Q290691), supervillain (Q6498903), antihero (Q110910), superhero (Q188784), anti-villain (Q12218723): value must not be any of the specified items.
Replacement property: character type (P9071)
Replacement values: (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/P31#none of, SPARQL
None of boss (Q468388), player character (Q1062345), non-player character (Q466466): value must not be any of the specified items.
Replacement property: subject has role (P2868)
Replacement values: (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/P31#none of, SPARQL
None of pornographic film (Q185529), pornography (Q291): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of hentai (Q172067), visual novel (Q689445), eroge (Q1046788): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of josei (Q503106), shōjo (Q242492), children's anime and manga (Q478804), shōnen (Q231302), seinen (Q237338): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of entrepreneur (Q131524), digital marketer (Q89432399), digital marketing consultant (Q91038239), digital marketing expert (Q56279965): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of mixtape (Q1892995), street album (Q3975953), remix album (Q963099): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: album (Q482994) (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/P31#none of, SPARQL
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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of theme music (Q1193470), film song (Q93540236): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of instrumental music (Q639197), instrumental solo piece (Q21998559): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of madrigal (Q193217), recitative (Q202534), aria (Q178122), canticle (Q1033831): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: (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/P31#none of, SPARQL
None of cantata (Q174873), church cantata (Q11499279), chorale cantata (Q2631975): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of Lied (Q216860), art song (Q4797274), mélodie (Q2737175): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of visa (Q3482281): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of overture (Q202287), concert overture (Q11565443): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of suite (Q203005), orchestral suite (Q11374147), partita (Q388383): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of waltz (Q8701407), concert waltz (Q1464124): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of march (Q211025), funeral march (Q1677377): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of religious music (Q1065742), choral music (Q1076513), vocal music (Q685884): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of official music video (Q55960075): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: (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/P31#none of, SPARQL
None of absence (Q19829125): value must not be any of the specified items.
Replacement property: subclass of (P279)
Replacement values: (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/P31#none of, SPARQL
None of male (Q6581097), female (Q6581072), girl (Q3031), boy (Q3010): value must not be any of the specified items.
Replacement property: sex or gender (P21)
Replacement values: (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/P31#none of, SPARQL
None of Holocaust victim (Q5883980): value must not be any of the specified items.
Replacement property: significant event (P793)
Replacement values: The Holocaust (Q2763) (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/P31#none of, SPARQL
None of radio edit (Q624669): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: (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/P31#none of, SPARQL
None of remix (Q214272): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: audio track (Q7302866) (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/P31#none of, SPARQL
None of yaoi (Q242488), yuri (Q320568): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of Christian (Q106039), Catholic (Q17549077), Muslim (Q47740), Jewish people (Q7325), Buddhist (Q6926246), Hindu (Q10090): value must not be any of the specified items.
Replacement property: religion or worldview (P140)
Replacement values: (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/P31#none of, SPARQL
None of encyclopedia (Q5292): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of oil painting (Q56676227), oil painting (Q174705): value must not be any of the specified items.
Replacement property:
Replacement values: painting (Q3305213) (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/P31#none of, SPARQL
None of musician (Q639669): value must not be any of the specified items.
Replacement property: occupation (P106)
Replacement values: (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/P31#none of, SPARQL
None of silent character (Q21561303): value must not be any of the specified items.
Replacement property: narrative role (P5800)
Replacement values: (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/P31#none of, SPARQL
None of entity (Q35120): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of fictional character (Q95074), fictional entity (Q14897293), location in a fictional work (Q15796005), fictional location (Q3895768): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of dance (Q11639), folk dance (Q201022): value must not be any of the specified items.
Replacement property:
Replacement values: type of dance (Q107357104) (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/P31#none of, SPARQL
None of musical work (Q2188189), composed musical work (Q207628): value must not be any of the specified items.
Replacement property:
Replacement values: musical work/composition (Q105543609) (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/P31#none of, SPARQL
None of mass shooting in the United States (Q42915628): value must not be any of the specified items.
Replacement property:
Replacement values: mass shooting (Q21480300) (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/P31#none of, SPARQL
None of terrorism (Q7283): value must not be any of the specified items.
Replacement property:
Replacement values: terrorist attack (Q2223653) (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/P31#none of, SPARQL
None of domestic terrorism (Q5889469): value must not be any of the specified items.
Replacement property:
Replacement values: domestic terrorist attack (Q112044283) (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/P31#none of, SPARQL
None of video game company (Q112042224): value must not be any of the specified items.
Replacement property:
Replacement values: video game developer (Q210167), video game publisher (Q1137109) (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Sweet Baby Inc. (Q107327507)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
None of work (Q386724), episode (Q1983062): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
Property “subclass of (P279)” declared by target items of “instance of (P31): If [item A] has this property with value [item B], [item B] is required to have property “subclass of (P279)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: entity (Q35120)
List of violations of this constraint: Database reports/Constraint violations/P31#Target required claim P279, SPARQL, SPARQL (by value)
None of fictional animal character (Q3542731), anthropomorphic animal (Q2369882), anthropomorphic character (Q27921916): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of municipal monument in the Netherlands (Q2650048), Rijksmonument (Q916333), Provincial monument (Q2035304): value must not be any of the specified items.
Replacement property: heritage designation (P1435)
Replacement values: (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/P31#none of, SPARQL
None of location (Q115095765): value must not be any of the specified items.
Replacement property:
Replacement values: physical location (Q17334923), virtual place (Q107307154), location in a fictional work (Q15796005) (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/P31#none of, SPARQL
None of fictional soldier (Q78817465): value must not be any of the specified items.
Replacement property: occupation (P106)
Replacement values: soldier (Q4991371) (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/P31#none of, SPARQL
None of public art (Q557141), roundabout art (Q1792321): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of former commune of France (Q18821702): value must not be any of the specified items.
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, hourly updated report, SPARQL
None of Pokémon species (Q3966183): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of book (Q571): value must not be any of the specified items.
Replacement property:
Replacement values: literary work (Q7725634), version, edition or translation (Q3331189), written work (Q47461344) (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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of twin (Q159979), sibling (Q31184), mother (Q7560), father (Q7565), child (Q7569): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of visual arts (Q36649), object (Q488383), physical object (Q223557): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of religious sculpture as genre (Q16675884): value must not be any of the specified items.
Replacement property:
Replacement values: religious sculpture as object (Q116445901) (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/P31#none of, SPARQL
None of visual arts (Q36649): value must not be any of the specified items.
Replacement property:
Replacement values: visual artwork (Q4502142) (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/P31#none of, SPARQL
None of performing arts (Q184485): value must not be any of the specified items.
Replacement property:
Replacement values: performance work (Q17538722) (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/P31#none of, SPARQL
None of literature (Q8242): value must not be any of the specified items.
Replacement property:
Replacement values: literary work (Q7725634) (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/P31#none of, SPARQL
None of religious art (Q2864737): value must not be any of the specified items.
Replacement property:
Replacement values: religious work of art (Q117023378) (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/P31#none of, SPARQL
None of textile art (Q10988986): value must not be any of the specified items.
Replacement property:
Replacement values: textile artwork (Q22075301) (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/P31#none of, SPARQL
None of performance art (Q213156): value must not be any of the specified items.
Replacement property:
Replacement values: performance artwork (Q22672348) (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/P31#none of, SPARQL
None of video art (Q682010): value must not be any of the specified items.
Replacement property:
Replacement values: video artwork (Q20742776) (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/P31#none of, SPARQL
None of environmental art (Q473743): value must not be any of the specified items.
Replacement property:
Replacement values: environmental artwork (Q21042249) (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/P31#none of, SPARQL
None of photography (Q11633): value must not be any of the specified items.
Replacement property:
Replacement values: photograph (Q125191), photographic work (Q11900210) (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/P31#none of, SPARQL
None of interactive art (Q2394336): value must not be any of the specified items.
Replacement property:
Replacement values: interactive artwork (Q115452528) (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/P31#none of, SPARQL
None of art of painting (Q11629): value must not be any of the specified items.
Replacement property:
Replacement values: painting (Q3305213) (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/P31#none of, SPARQL
None of art of sculpture (Q11634), sculpture (Q17310537): value must not be any of the specified items.
Replacement property:
Replacement values: sculpture (Q860861) (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/P31#none of, SPARQL
None of art of drawing (Q2921001): value must not be any of the specified items.
Replacement property:
Replacement values: drawing (Q93184) (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/P31#none of, SPARQL
None of album reissue (Q63068880): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: (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/P31#none of, SPARQL
None of remix single (Q65598315): value must not be any of the specified items.
Replacement property: form of creative work (P7937)
Replacement values: (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/P31#none of, SPARQL
None of video game controversies (Q1412362): value must not be any of the specified items.
Replacement property:
Replacement values: controversy (Q1255828) (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/P31#none of, SPARQL
None of Mario franchise enemy (Q33095807): value must not be any of the specified items.
Replacement property:
Replacement values: antagonist (Q245204) (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/P31#none of, SPARQL
None of woodcarving (Q337907): value must not be any of the specified items.
Replacement property:
Replacement values: woodwork (Q60734095) (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/P31#none of, SPARQL
None of woodcarving (Q337907): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of street lighting‎ (Q3577509): value must not be any of the specified items.
Replacement property:
Replacement values: streetlight (Q503958) (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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of tree (Q10884): value must not be any of the specified items.
Replacement property:
Replacement values: remarkable tree (Q811534) (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/P31#none of, SPARQL
None of fictional empire (Q19595246), fictional kingdom (Q96196475), fictional republic (Q106485190), fictional dictatorship (Q120200559): value must not be any of the specified items.
Replacement property:
Replacement values: fictional country (Q1145276) (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/P31#none of, SPARQL
None of color photography (Q166509): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of coastal defence and fortification (Q5138347): value must not be any of the specified items.
Replacement property:
Replacement values: fort (Q1785071) (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/P31#none of, SPARQL
None of foundation (Q18631232), stichting (Q19605764), non-profit organisation (Q510785): value must not be any of the specified items.
Replacement property:
Replacement values: association (Q15911314) (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/P31#none of, SPARQL
None of world (Q16502): value must not be any of the specified items.
Replacement property:
Replacement values: mythical location (Q3238337), fictional location (Q3895768), planet (Q634) (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/P31#none of, SPARQL
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/P31#none of, SPARQL
None of dinner theater (Q1355413): value must not be any of the specified items.
Replacement property:
Replacement values: theatre building (Q24354) (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/P31#none of, SPARQL
None of dinner theater (Q1355413): value must not be any of the specified items.
Replacement property: genre (P136)
Replacement values: (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/P31#none of, SPARQL
None of industrial sector (Q8148): value must not be any of the specified items.
Replacement property:
Replacement values: industry (Q268592), economic sector (Q3958441) (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/P31#none of, SPARQL
None of industrial sector (Q8148): value must not be any of the specified items.
Replacement property: part of (P361)
Replacement values: (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/P31#none of, SPARQL
None of sequel (Q261636): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of digital distribution (Q269415): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of video game port (Q64641660): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of language (Q315): value must not be any of the specified items.
Replacement property:
Replacement values: language (Q34770) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, hourly updated report, SPARQL
None of plastic arts (Q1078913): value must not be any of the specified items.
Replacement property:
Replacement values: plastic artwork (Q350268) (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/P31#none of, SPARQL
None of education (Q8434): value must not be any of the specified items.
Replacement property: subclass of (P279)
Replacement values: educational institution (Q2385804) (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/P31#none of, SPARQL
None of primary weapon (Q106974938), secondary weapon (Q106974939): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of boat grave (Q1145397): value must not be any of the specified items.
Replacement property:
Replacement values: ship grave (Q124473037) (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/P31#none of, SPARQL
None of theatre (Q11635): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of philosophy (Q5891): value must not be any of the specified items.
Replacement property: subclass of (P279)
Replacement values: point of view (Q12558574), world view (Q49447), ideology (Q7257), belief system (Q5390013) (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/P31#none of, SPARQL
None of rail transport (Q3565868): value must not be any of the specified items.
Replacement property:
Replacement values: train service (Q15141321), railway (Q22667), railway line (Q728937) (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/P31#none of, SPARQL
None of code name (Q590490): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
None of video game remake (Q4393107), video game remaster (Q65963104): value must not be any of the specified items.
Replacement property:
Replacement values: (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/P31#none of, SPARQL
Multiple P31 claims lead to duplicate tuples
Multiple P31 claims are unnecessary in most cases with Wikimedia-related items. Consider facet of (P1269) instead of second P31 value. (Help)
Violations query: SELECT ?item #?class ?class2 ?itemLabel WHERE{ VALUES ?class{ wd:Q4167836 wd:Q11266439 wd:Q17362920 }?item wdt:P31 ?class. ?item wdt:P31 ?class2 FILTER(?class2!=?class). MINUS{VALUES ?whitelist{ wd:Q4115189 wd:Q15397819 #placeholders }?item wdt:P31 ?whitelist} #SERVICE wikibase:label{bd:serviceParam wikibase:language "en"} }
List of this constraint violations: Database reports/Complex constraint violations/P31#Multiple P31 claims lead to duplicate tuples
P31=samevalue and P279=samevalue (indirect P279)
In most cases, this is an oversight or item that needs update after child item(s) were added (Help)
Violations query: SELECT ?item(COUNT(*) AS ?count)WHERE{ ?class wdt:P31 ?item FILTER(?item NOT IN(wd:Q7187,wd:Q8054)). ?class wdt:P279/wdt:P279 ?item. }GROUP BY ?item ORDER BY DESC(?count) LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#P31=samevalue and P279=samevalue (indirect P279)
Strange P31 link between parents in P279
(Help)
Violations query: SELECT ?item(COUNT(*)AS ?count)WHERE{ ?classC wdt:P279 ?item;wdt:P279 ?classB. ?classB wdt:P31 ?item }GROUP BY ?item ORDER BY DESC(?count) LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Strange P31 link between parents in P279
Avoid P31 of P279 of Q5 (P106 or other properties should be created)
(Help)
Violations query: SELECT ?item WHERE{?item wdt:P31/wdt:P279+ wd:Q5} LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Avoid P31 of P279 of Q5 (P106 or other properties should be created)
Second claim and unspecific
is most cases unspecific could be replaced with specific variant (Help)
Violations query: SELECT ?item WHERE{ ?item wdt:P31 ?claim1 FILTER(?claim1=wd:Q95074). ?item wdt:P31 ?claim2 FILTER(?claim2!=?claim1)} LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Second claim and unspecific
Can't be human and possibly fictional
keep only one claim (Help)
Violations query: SELECT ?item WHERE{ ?item wdt:P31 wd:Q5. # real ?item wdt:P31/wdt:P279* wd:Q21070568.} # possibly fictional LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be human and possibly fictional
Can't be one thing and group of things
keep only one claim, split into several items: Q1880543, Q161678, Q232009 (Help)
Violations query: SELECT ?item WHERE ?item wdt:P31/wdt:P279* wd:Q15619176. # one ?item wdt:P31/wdt:P279* wd:Q17519152.} # group LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be one thing and group of things
Can't be ?item P31 ?item
impossible claim or it should be a separate item (Help)
Violations query: SELECT ?item WHERE{?item wdt:P31 ?item} LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be ?item P31 ?item
Cannot be an instance of an individual human
Can't be ?item wdt:P31/wdt:P31 wd:Q5. (Help)
Violations query: SELECT ?item WHERE{?item wdt:P31/wdt:P31 wd:Q5} LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Cannot be an instance of an individual human
Can't be instance of both human and occupation
Should not an instance of (P31) both a human (Q5) and an occupation (Q12737077). Consider using occupation (P106). (Help)
Violations query: SELECT DISTINCT ?item WHERE { ?occupation wdt:P279*/wdt:P31+ wd:Q12737077. ?item wdt:P31 wd:Q5. ?item wdt:P31 ?occupation. } GROUP BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be instance of both human and occupation
Can't be instance of both human and position
Should not be an instance of (P31) both a human (Q5) and an position (Q4164871). Consider using position held (P39). (Help)
Violations query: SELECT ?item WHERE { ?position wdt:P279*/wdt:P31+ wd:Q4164871. ?item wdt:P31 wd:Q5. ?item wdt:P31 ?position. } GROUP BY ?item LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be instance of both human and position
Can't be instance of song and single
Items should not be an instance of (P31) both a song (Q7366) and a single (Q134556); the musical release (Q2031291) (single) should be separate from the creative work (Q17537576) (song). Sitelinks should usually be attached to items about songs. Consider removing one statement (probably single (Q134556)), and creating a new item for the other entity. Songs and singles can be linked with tracklist (P658) and part of (P361). (Help)
Violations query: SELECT ?item WHERE{ ?item wdt:P31 wd:Q7366. ?item wdt:P31 wd:Q134556.} LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be instance of song and single
Can't be instance of both fictional character and literary work.
Should not be an instance of (P31) both a fictional character (Q95074) and an literary work (Q7725634). This is usually caused by conflation between a literary work and the main character that it is named after. (Help)
Violations query: SELECT ?item WHERE{ ?item (wdt:P31/(wdt:P279*)) wd:Q95074, wd:Q7725634. }GROUP BY ?item LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be instance of both fictional character and literary work.
Can't be instance of both fictional character and narrative.
Should not be an instance of (P31) both a fictional character (Q95074) and an narrative (Q1318295). This is usually caused by conflation between a narrative and the main character that it is named after. (Help)
Violations query: SELECT ?item WHERE{ ?item (wdt:P31/(wdt:P279*)) wd:Q95074, wd:Q1318295. }GROUP BY ?item LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be instance of both fictional character and narrative.
Can't be instance of both a disambiguation page and a human.
Should not be an instance of (P31) both a Wikimedia disambiguation page (Q4167410) and a human (Q5). This can be caused caused by an incorrect merge or a sitelink that is attached to a wrong item. (Help)
Violations query: SELECT ?item WHERE{ ?item (wdt:P31/(wdt:P279*)) wd:Q4167410, wd:Q5. }GROUP BY ?item LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Can't be instance of both a disambiguation page and a human.
should have P31=category
TODO: add P31 (Help)
Violations query: SELECT ?item ?n{ hint:Query hint:optimizer "None". ?item wikibase:statements 0 . [] schema:about ?item; schema:name ?n; schema:isPartOf ?part. ?part wikibase:wikiGroup "wikipedia". FILTER(strstarts(?n, "Category:")) }LIMIT 100
List of this constraint violations: Database reports/Complex constraint violations/P31#should have P31=category
should have P31=template
TODO: add P31 (Help)
Violations query: SELECT ?item ?n{ hint:Query hint:optimizer "None". ?item wikibase:statements 0 . [] schema:about ?item; schema:name ?n. FILTER(strstarts(?n , "Template:")) }LIMIT 100
List of this constraint violations: Database reports/Complex constraint violations/P31#should have P31=template
should have P31=module
TODO: add P31 (Help)
Violations query: SELECT ?item ?n{ hint:Query hint:optimizer "None". ?item wikibase:statements 0 . [] schema:about ?item; schema:name ?n. FILTER(strstarts(?n, "Module:")) FILTER(!strstarts(?n, "Module:zh/data")) FILTER(!strstarts(?n, "Module:Zh/data")) }LIMIT 100
List of this constraint violations: Database reports/Complex constraint violations/P31#should have P31=module
should have P31=portal
TODO: add P31 (Help)
Violations query: SELECT ?item ?n{ hint:Query hint:optimizer "None". ?item wikibase:statements 0 . [] schema:about ?item ; schema:name ?n. FILTER(strstarts(?n, "Portal:")) }LIMIT 100
List of this constraint violations: Database reports/Complex constraint violations/P31#should have P31=portal
default P31 values for frwiki (claimless items)
TODO: add P31 (Help)
Violations query: SELECT ?item ?n ?pref ?inst WHERE{ VALUES(?pref ?inst){ ("Modèle:" wd:Q11266439) ("Module:" wd:Q15184295) ("Catégorie:" wd:Q4167836) ("Projet:" wd:Q14204246) ("Wikipédia:" wd:Q14204246) ("Aide:" wd:Q56005592) ("Liste de" wd:Q13406463) ("Glossaire d" wd:Q859161) ("Vocabulaire d" wd:Q859161) } ?item wikibase:statements 0 . [] schema:about ?item; schema:isPartOf <https://fr.wikipedia.org/>; schema:name ?n. FILTER(strstarts(?n, ?pref)) }LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#default P31 values for frwiki (claimless items)
default P31 values for eswiki (claimless items)
TODO: add P31 (Help)
Violations query: SELECT ?item ?n ?pref ?inst WHERE{ VALUES(?pref ?inst){ ("Plantilla:" wd:Q11266439) ("Módulo:" wd:Q15184295) ("Categoría:" wd:Q4167836) ("Wikipedia:" wd:Q14204246) ("Anexo:" wd:Q13406463) } ?item wikibase:statements 0 . [] schema:about ?item; schema:isPartOf <https://es.wikipedia.org/>; schema:name ?n . FILTER( strstarts(?n, ?pref)) }LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#default P31 values for eswiki (claimless items)
use individual of taxon (P10241) to identify taxon
Where the item is an individual organism, individual of taxon (P10241) should be used to identify its taxon, e.g. species. (Help)
Violations query: SELECT DISTINCT ?item ?itemLabel WHERE{ ?item wdt:P31/wdt:P279* wd:Q110224119. ?item wdt:P31 ?taxon. ?taxon wdt:P31 wd:Q16521. SERVICE wikibase:label{bd:serviceParam wikibase:language "en"} LIMIT 1000 }
List of this constraint violations: [[Wikidata:Database reports/Complex constraint violations/P31#use individual of taxon (P10241) to identify taxon|Database reports/Complex constraint violations/P31#use individual of taxon (P10241) to identify taxon]]
Redundant instance of statement
should not be instance of a superclass and one of its subclass. When an item have 2 P31 statements of a class together with a statement to one of its direct subclass (Help)
Violations query: SELECT ?item ?a ?b{ ?item wdt:P31 ?a, ?b. ?a wdt:P279 ?b. }LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Redundant instance of statement
Photos aren't genres
Photos are not instances of photographic genres. Replace with genre (P136). (Help)
Violations query: SELECT ?item ?itemLabel WHERE{ ?item wdt:P31/wdt:P279 wd:Q11633. SERVICE wikibase:label{bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en"} # Helps get the label in your language, if not, then en language } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Photos aren't genres
Possible archaeological sites misidentified as excavations (activity)
Items with P31 = Q959782 (archaeological excavation), but without P710 (participant), P580 (start time), or certain words in the label, are likely to be misidentified instances of Q839954 (archaeological site) (Help)
Violations query: SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q959782; rdfs:label ?itemLabel. FILTER NOT EXISTS {?item wdt:P710 ?participant.} FILTER NOT EXISTS {?item wdt:P580 ?start_time.} FILTER (lang(?itemLabel) = "en"). FILTER (!regex(?itemLabel, "([Ee]xcavation
List of this constraint violations: Database reports/Complex constraint violations/P31#Possible archaeological sites misidentified as excavations (activity)
Items that are stated to be both proposed buildings/structures and actual (existing) structures
Structures that are complete or under construction should not be identified as "proposed". (Help)
Violations query: SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31/wdt:P279?/wdt:P279? wd:Q811683; wdt:P31/wdt:P279?/wdt:P279? wd:Q811979. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en language } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Items that are stated to be both proposed buildings/structures and actual (existing) structures
Value horror film character (Q15780329) will be automatically replaced to value film character (Q15773347).
Testing: TODO list
Value individual (Q795052) will be automatically replaced to value human (Q5).
Testing: TODO list
Value Q5 (Q395685) will be automatically replaced to value human (Q5).
Testing: TODO list
Value saint (Q43115) will be automatically replaced to value saint (Q43115) and moved to canonization status (P411) property.
Testing: TODO list
Value Catholic saint (Q3464126) will be automatically replaced to value Catholic saint (Q3464126) and moved to canonization status (P411) property.
Testing: TODO list
Value female (Q6581072) will be automatically replaced to value female (Q6581072) and moved to sex or gender (P21) property.
Testing: TODO list
Value woman (Q467) will be automatically replaced to value female (Q6581072) and moved to sex or gender (P21) property.
Testing: TODO list
Value male (Q6581097) will be automatically replaced to value male (Q6581097) and moved to sex or gender (P21) property.
Testing: TODO list
Value man (Q8441) will be automatically replaced to value male (Q6581097) and moved to sex or gender (P21) property.
Testing: TODO list
Value air pollution (Q131123) will be automatically replaced to value air pollution (Q131123) and moved to facet of (P1269) property.
Testing: TODO list
Value actor (Q33999) will be automatically replaced to value actor (Q33999) and moved to occupation (P106) property.
Testing: TODO list
Value researcher (Q1650915) will be automatically replaced to value researcher (Q1650915) and moved to occupation (P106) property.
Testing: TODO list
Value video artist (Q18216771) will be automatically replaced to value video artist (Q18216771) and moved to occupation (P106) property.
Testing: TODO list
Value photographer (Q33231) will be automatically replaced to value photographer (Q33231) and moved to occupation (P106) property.
Testing: TODO list
Value artist (Q483501) will be automatically replaced to value artist (Q483501) and moved to occupation (P106) property.
Testing: TODO list
Value poet (Q49757) will be automatically replaced to value poet (Q49757) and moved to occupation (P106) property.
Testing: TODO list
Value writer (Q36180) will be automatically replaced to value writer (Q36180) and moved to occupation (P106) property.
Testing: TODO list
Value Formula One driver (Q10841764) will be automatically replaced to value Formula One driver (Q10841764) and moved to occupation (P106) property.
Testing: TODO list
Value baseball player (Q10871364) will be automatically replaced to value baseball player (Q10871364) and moved to occupation (P106) property.
Testing: TODO list
Value baseball player-manager (Q55296227) will be automatically replaced to value baseball player-manager (Q55296227) and moved to occupation (P106) property.
Testing: TODO list
Value baseball manager (Q1186921) will be automatically replaced to value baseball manager (Q1186921) and moved to occupation (P106) property.
Testing: TODO list
Value lawyer (Q40348) will be automatically replaced to value lawyer (Q40348) and moved to occupation (P106) property.
Testing: TODO list
Value chess player (Q10873124) will be automatically replaced to value chess player (Q10873124) and moved to occupation (P106) property.
Testing: TODO list
Value design engineer (Q1779650) will be automatically replaced to value design engineer (Q1779650) and moved to occupation (P106) property.
Testing: TODO list
Value translator (Q333634) will be automatically replaced to value translator (Q333634) and moved to occupation (P106) property.
Testing: TODO list
Value children's and youth literature (Q11163999) will be automatically replaced to value children's and youth literature (Q11163999) and moved to genre (P136) property.
Testing: TODO list
Value article (Q103184) will be automatically replaced to value article (Q191067).
Testing: TODO list
Value list of moons of Jupiter (Q1946) will be automatically replaced to value moon of Jupiter (Q61702557).
Testing: TODO list
Value Holocaust survivor (Q12409870) will be automatically replaced to value Holocaust survivor (Q12409870) and moved to subject has role (P2868) property.
Testing: TODO list
Value protagonist (Q215972) will be automatically replaced to value protagonist (Q215972) and moved to narrative role (P5800) property.
Testing: TODO list
Value unseen character (Q526231) will be automatically replaced to value unseen character (Q526231) and moved to narrative role (P5800) property.
Testing: TODO list
Value antagonist (Q245204) will be automatically replaced to value antagonist (Q245204) and moved to narrative role (P5800) property.
Testing: TODO list
Value main antagonist (Q55712911) will be automatically replaced to value main antagonist (Q55712911) and moved to narrative role (P5800) property.
Testing: TODO list
Value supporting character (Q2595584) will be automatically replaced to value supporting character (Q2595584) and moved to narrative role (P5800) property.
Testing: TODO list
Value main character (Q12317360) will be automatically replaced to value main character (Q12317360) and moved to narrative role (P5800) property.
Testing: TODO list
Value minor character (Q27623618) will be automatically replaced to value minor character (Q27623618) and moved to narrative role (P5800) property.
Testing: TODO list
Value title character (Q3246821) will be automatically replaced to value title character (Q3246821) and moved to narrative role (P5800) property.
Testing: TODO list
Value secondary antagonist (Q105078199) will be automatically replaced to value secondary antagonist (Q105078199) and moved to narrative role (P5800) property.
Testing: TODO list
Value hero (Q162244) will be automatically replaced to value hero (Q162244) and moved to character type (P9071) property.
Testing: TODO list
Value villain (Q290691) will be automatically replaced to value villain (Q290691) and moved to character type (P9071) property.
Testing: TODO list
Value supervillain (Q6498903) will be automatically replaced to value supervillain (Q6498903) and moved to character type (P9071) property.
Testing: TODO list
Value antihero (Q110910) will be automatically replaced to value antihero (Q110910) and moved to character type (P9071) property.
Testing: TODO list
Value anti-villain (Q65622867) will be automatically replaced to value anti-villain (Q65622867) and moved to character type (P9071) property.
Testing: TODO list
Value superhero (Q188784) will be automatically replaced to value unseen character (Q526231) and moved to character type (P9071) property.
Testing: TODO list
Value superhero (Q188784) will be automatically replaced to value unseen character (Q526231) and moved to character type (P9071) property.
Testing: TODO list
Value josei (Q503106) will be automatically replaced to value josei (Q503106) and moved to intended public (P2360) property.
Testing: TODO list
Value shōjo (Q242492) will be automatically replaced to value shōjo (Q242492) and moved to intended public (P2360) property.
Testing: TODO list
Value children's anime and manga (Q478804) will be automatically replaced to value children's anime and manga (Q478804) and moved to intended public (P2360) property.
Testing: TODO list
Value shōnen (Q231302) will be automatically replaced to value shōnen (Q231302) and moved to intended public (P2360) property.
Testing: TODO list
Value seinen (Q237338) will be automatically replaced to value seinen (Q237338) and moved to intended public (P2360) property.
Testing: TODO list
Value Scooby-Doo location (Q111908433) will be automatically replaced to value fictional location (Q3895768).
Testing: TODO list
Value Holocaust victim (Q5883980) will be automatically replaced to value The Holocaust (Q2763) and moved to significant event (P793) property.
Testing: TODO list
Value podcast (Q20899) will be automatically replaced to value podcast (Q24634210).
Testing: TODO list
Value audio podcast (Q24633474) will be automatically replaced to value podcast (Q24634210).
Testing: TODO list
Value video podcast (Q3276244) will be automatically replaced to value podcast (Q24634210).
Testing: TODO list
Value card video game (Q29471320) will be automatically replaced to value video game (Q7889).
Testing: TODO list
Value terrorism (Q7283) will be automatically replaced to value terrorist attack (Q2223653).
Testing: TODO list
Value domestic terrorism (Q5889469) will be automatically replaced to value domestic terrorist attack (Q112044283).
Testing: TODO list
Value episodic video game (Q5383567) will be automatically replaced to value video game episode (Q90181054).
Testing: TODO list
Value industrial sector (Q8148) will be automatically replaced to value industry (Q268592).
Testing: TODO list
If property value equals to Pokémon evolutionary line (Q15795637) then claim from narrative universe (P1080) = Pokémon universe (Q17562848) will be created automatically.
Testing: TODO list
If property value equals to Pokémon evolutionary line (Q15795637) then claim media franchise (P8345) = Pokémon (Q864) will be created automatically.
Testing: TODO list
If property value equals to Pokémon evolutionary line (Q15795637) then claim is a list of (P360) = Pokémon species (Q3966183) will be created automatically.
Testing: TODO list
If property value equals to Pokémon evolutionary line (Q15795637) then claim present in work (P1441) = Pokémon (Q864) will be created automatically.
Testing: TODO list
If property value equals to SCP (Q81113235) then claim from narrative universe (P1080) = SCP universe (Q59475808) will be created automatically.
Testing: TODO list
If property value equals to level of the Backrooms (Q114772035) then claim from narrative universe (P1080) = The Backrooms mythos (Q112865887) will be created automatically.
Testing: TODO list
If property value equals to entity (Q114771973) then claim from narrative universe (P1080) = The Backrooms mythos (Q112865887) will be created automatically.
Testing: TODO list
If property value equals to Sim (Q59974434) then claim from narrative universe (P1080) = The Sims universe (Q59785404) will be created automatically.
Testing: TODO list
If property value equals to Pokémon gym (Q77643435) then claim from narrative universe (P1080) = Pokémon universe (Q17562848) will be created automatically.
Testing: TODO list
If property value equals to Pokémon gym (Q77643435) then claim media franchise (P8345) = Pokémon (Q864) will be created automatically.
Testing: TODO list
If property value equals to Pokémon fictional location (Q32860792) then claim from narrative universe (P1080) = Pokémon universe (Q17562848) will be created automatically.
Testing: TODO list
If property value equals to Pokémon fictional location (Q32860792) then claim media franchise (P8345) = Pokémon (Q864) will be created automatically.
Testing: TODO list
Value gameplay of Pokémon (Q339925) will be automatically replaced to value gameplay of Pokémon (Q339925) and moved to facet of (P1269) property.
Testing: TODO list
Value video game mod (Q122219012) will be automatically replaced to value video game mod (Q865493).
Testing: TODO list
Value Minecraft mod (Q111369260) will be automatically replaced to value video game mod (Q865493).
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.)

Archive[edit]

Older discussions archived under Property talk:P31/Archive.

Usage note[edit]

Usage is detailed in Help:Basic membership properties.

Discussion[edit]

(qualifierSnak proposal) Statements of Instance Of should be treated more generally and loosely as Events themselves[edit]

Context Item: https://www.wikidata.org/wiki/Q91629492

Context: Governments and other authorities often state that some things are instances of other things. This is universally known. This is most often treated as a set of statements themselves in other Graph systems.

I want to bring something up that is going to spin a few minds of folks. In other Graph systems, the very act of me or someone at some time saying something is an "instance of" is a complete Event itself (Event based graphs were recently highlighted in "CS520 Knowledge Graph Seminar Session 1" video on YouTube at 34:00) (with all the metadata that any Event could possibly contain, who,what,when,where,etc. said this thing was an instance of some other thing). However, in Wikidata, we don't treat Statements, for example the act of saying something is an "instance of", as an Event itself. We do have in the data model however a wrapper through qualifierSnak, to store additional information, but it lacks treatment as an entire Event.

This causes a number of issues:

  1. Each individual qualifier would need an attached reference, instead of only once for the single Event (the set of qualifiers, a qualifierSnak).
  2. Constraints and Rules become harder to maintain because there is not a single wrapper for the entire metadata of a statement (that I am aware of).

I offer an alternative design: Allow a set of qualifierSnaks to be treated in whole as an entire Event type (and possibly other types as needed).

qualifierSnak =

  • Who
  • What (we have this)
  • When
  • Where
  • How (not sure we have this)

This allows a few nice things:

  1. We can easily give a single reference for the entire qualiferSnak Event, or multiple references if we desire, saving us from having to add a reference on each individual qualifier assertion.
  2. Constraints and Rules can be applied on the whole qualifierSnak Event (or additional Snak types other than Event types if they are out there and needed).
  3. Since all Events share a common set of properties, these can be maintained at a datatype level, or perhaps somehow allowing a flexible datatype that can use Wikidata itself and just maintaining an agreed set of properties for this type (P1963) statements on Event occurrence (Q1190554) which qualifierSnak's would be typed as.

I welcome disagreement, head spinning, and "we already thought about that, see this..." comments. ;-)

(and perhaps this is all entirely possible via API and programmatically, but just not exposed in this way in the UI currently)

Thadguidry (talk) 18:28, 23 April 2020 (UTC)[reply]

Suitability of Commons category (Q24574745) as value[edit]

If Commons has a category, it would either go on an item with Wikimedia category (Q4167836) or the related topical item, not one with Commons category (Q24574745) in P31. As I don't see what other uses there could be for the above in P31, there could be, I added a "none of" constraint. --- Jura 09:02, 25 October 2020 (UTC)[reply]

Suitability of Wikimedia article page (Q15138389) as value[edit]

In most cases, I think one should the sitelink to an item about the topic covered by the article, not an item for "Wikipedia articles". As I don't see what other uses in P31, there could be, I added a "none of" constraint. --- Jura 09:02, 25 October 2020 (UTC)[reply]

Well, based on items currently having P31=Q15138389 statement, the idea seems to be that these items are for Wikipedia articles that are not about single topic (or single clear-cut concept), but rather are arbitrarily split from some other article, or that combine several topics. For example geology of Israel (Q16131547) currently having this P31 value seems more straightforwad than climate of Israel (Q2911354) claimed to be an instance of some pseudo-class called "climate of geographic location". See also Wikipedia article covering multiple topics (Q21484471) (a subclass of this item). Though, indeed the distinction between items about Wikimedia article pages and normal topic items should be made more clear. 2001:7D0:81F7:B580:9587:D3CB:74EF:6AF3 18:46, 29 November 2020 (UTC)[reply]
  • There are academic articles that cite Wikipedia articles. In those cases it's useful to have an item for the Wikipedia article.
When it comes to geology of Israel (Q16131547) https://en.wikipedia.org/wiki/Geology_of_Israel is not a page about a Wikipedia article and thus shouldn't be linked to an item with instance of (P31) Wikimedia article page (Q15138389). ChristianKl00:18, 11 December 2020 (UTC)[reply]
  • All or almost all current uses of P31 Q15138389 are incorrect, but there could theoretically be an item for which the statement would be correct, similar to how Q42395533 is correctly described as an instance of Wikidata item. (There should really be a help page describing the potential mistakes relating to mixing up an item/article and its topic.) --Yair rand (talk) 02:04, 21 December 2020 (UTC)[reply]
As far as I can see items like geology of Israel (Q16131547) compare with items that are instances of Wikimedia category page or Wikimedia list page, rather than with normal concept items. This example item exists because country article on Wikipedia has been split, not because "geology of Israel" is its own thing, special kind of geology, or whatever. So it seems reosonable to make this distinction clear, one way or another, instead of inventing various and dubious ways to fit such items into concept hierarchy. In case of "climate of Israel" mentioned above, setting it as both instance of and subclss of "climate" is just meaningless. Take another example early life of Samuel Johnson (Q3798467) which per subclass tree is currently set as instance of "information", instead of frankly indicating that item is for a Wikipedia article. 2001:7D0:81F7:B580:9C67:F3D6:A94A:A88D 09:22, 5 February 2021 (UTC)[reply]
Isn't it fairly common in geography and its various aspects to study it for some area? It's possibly that one hasn't come across studies of that specific country, but I don't see that as a problem. I don't think it really matters what Wikipedia does or doesn't do. We can just link its articles if there are some. --- Jura 09:37, 5 February 2021 (UTC)[reply]
The study subject can be delimited in whatever arbitrary way (as is the case for splitting a long Wikipedia article), e.g. one can specify further and study "geology of the Permian and Triassic in the territory of Israel". Which does't make any such arbitary subject into a new concept, does it. Surely Wikidata can and does link to any existing Wikipedia article. The problem is how to classify resulting items meaningfully. Based on most items currently having P31=Q15138389 (or more specifially P31=Q21484471) it is at least evident that the statement isn't used for random items with Wikipedia sitelinks and there's an intent to make it clear that these items aren't about individual clear-cut concepts. 2001:7D0:81F7:B580:298C:2394:42D3:C4D1 12:05, 5 February 2021 (UTC)[reply]
I'm sure we can find a meaningful way to classify and describe "geology of <country>" topics. --- Jura 12:14, 5 February 2021 (UTC)[reply]
I also don't think it's an impossible task, neither in regard to other similar examples cited above. Though, out of options I've encountered, P31=Q15138389 or similar statements for reasons outlined above to me make the most sense. I again admit it's an imperfect solution and needs further refinement, so that it was clear that the statement shouldn't be used for all items with Wikipedia sitelinks. The second best option I can think of is to leave such items without any P31/P279 statement, and rely on facet of (P1269), main subject (P921) and alike, but then users probably eventually add P31/P279 anyway with some "close enough" value (i.e. more or less meaningless value). 2001:7D0:81F7:B580:298C:2394:42D3:C4D1 12:41, 5 February 2021 (UTC)[reply]

Removing said to be the same as (P460) as qualifier[edit]

It seems to me like many qualifiers get currently used on instance of (P31) that have no good business being mixed up in instance of (P31). said to be the same as (P460) at the top of the list seem without good footing and gets mostly used in taxonomy. WikiProject Taxonomy has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead. ChristianKl00:30, 11 December 2020 (UTC)[reply]

Seems reasonable to me. --Yair rand (talk) 02:10, 21 December 2020 (UTC)[reply]


Removing language of work or name (P407) as qualifier[edit]

This finds current uses. They seem to be of two types:

  • (1) Items where contributors try to describe a Wikipedia page connected to the item, but irrelevant for the P31-statement [1]
  • (2) Items where the statement would better be a main statement (or already is) [2]

I'd remove (1) and move (2) where possible. If nothing is left, P407 can be removed. --- Jura 17:14, 18 March 2021 (UTC)[reply]

None-of constraints: podcast and games?[edit]

Several none-of constraints such as "None of audio podcast (Q24633474), video podcast (Q3276244), podcast (Q20899), podcasting (Q33212151)" or "None of VR video game (Q87741364), console game (Q6561427), PC game (Q4485157), mobile game (Q1121542)" seem arbitrary. What are the reasons for these?  – The preceding unsigned comment was added by Theanswertolifetheuniverseandeverything (talk • contribs) at 15:21, 1 June 2021 (UTC).[reply]

We use podcast (Q24634210) and video game (Q7889) instead. @Theanswertolifetheuniverseandeverything: --Trade (talk) 21:20, 7 November 2021 (UTC)[reply]
@trade: but audio podcast (Q24633474) and video podcast (Q3276244) are both subclasses of podcast (Q24634210) ... so not being able to use them with instance of (P31) doesn't seem to make any sense to me. --Push-f (talk) 11:27, 20 October 2022 (UTC)[reply]
They are all marked as product distribution method (Q81941037) which = distribution format (P437) @Push-f:--Trade (talk) 13:53, 20 October 2022 (UTC)[reply]
@trade: right I understand that distribution format (P437) is currently used but I don't see why it should be used. I think distribution format (P437) makes sense to say that a game is distributed on e.g. a DVD but in regards to audio podcast (Q24633474) there is an "is" relationship. An audio-only podcast is an audio podcast, so instance of audio podcast (Q24633474) is the best way to model this in my opinion. --Push-f (talk) 16:58, 20 October 2022 (UTC)[reply]
@Push-f: I'm not against removing it if the other members of the Podcast Wikidata project agree--Trade (talk) 22:46, 20 October 2022 (UTC)[reply]

None-of constraint: book?[edit]

@VIGNERON: You added "book" (Q571) to none-of constraint (Q52558054) twice (see this and this), and I reverted them (see this and this). The reasons you gave were "use more precise value (most of the case: Q47461344, written work)" and "too general value ; use a more specific values, see [[Wikidata:WikiProject_Books]]". But book (Q571) is a subclass of, and more specific than, written work (Q47461344). If book (Q571) is "too general", written work (Q47461344) is even more general. So, in my view, "book" (Q571) is as specific as "article" (Q191067) and "chapter" (Q1980247), and can be the value of instance of (Property:P31). --Neo-Jay (talk) 04:50, 19 October 2021 (UTC)[reply]

@Neo-Jay: oh, I didn't noticed (and that explains why I was surprised the constraint was not already here).
Yes, book should no be used as a value of P31. And also yes, book (Q571) is too general and problematic. Subclass of book (Q571) changes a lot and right now I see it's a sublclass of work (so intangible) and of document/publication/object (tangible) which is contradictory and illogical. I think the adding of sublclass of work is the mistake here (I'll ask on Talk:Q571 again...). Anyway, many people clean books and remove the value Q571 to P31 since the beggining of Wikidata, removing the constraints will only make our job harder. Cheers, VIGNERON (talk) 06:39, 19 October 2021 (UTC)[reply]
That's patently ridiculous. It should be possible to give an 'instance of' property as a book. Referring to something as a 'book' has strong colloquial usage Jack4576 (talk) 14:36, 1 September 2023 (UTC)[reply]
@Jack4576: no it shouldn't, because Q571 can refer to several different concepts. See Wikidata:WikiProject Books. If the item you want to model has a publication date, a publisher and you can read it, use Q3331189. --Jahl de Vautban (talk) 15:16, 1 September 2023 (UTC)[reply]
So what if it can refer to several different concepts. We should still be allowed to identify something as a 'book'. Categorisation does not require the use of concepts that aren't ambiguous. If we applied "because X can refer to several different concepts" universally across the identifiers on this site it would be chaos. I don't know why we are making an exception for 'book'.
If a more specific category is more appropriate in context, then we can use that more specific category. However, to prevent the word 'book' being used at all is a wholly unnecessary and artificial restriction. Jack4576 (talk) 15:36, 1 September 2023 (UTC)[reply]

Add type constraint to be mutually exclusive with different from (P1889)[edit]

I'd like to suggest adding a type constraint that prevents something from being both instance of (P31) (synonym "is") and different from (P1889) (synonym "is not"). After all, X is Y and X is not Y cannot be simultaneously true. -Thunderforge (talk) 21:38, 1 November 2021 (UTC)[reply]

Finding those without it set[edit]

Is there a query for finding humans without P31 set and optionally lets people filter on labels that end with a particular string (so they could work on everyone in a family they were researching for example) Back ache (talk) 09:13, 21 December 2021 (UTC)[reply]

  • You need to find another way to determine if an item is about a person. This could be:
  • a category on Wikipedia
  • a property generally found on items about people (sample: date of birth).
  • infobox or text of the article at Wikipedia
The label alone generally doesn't allow to determine it.
Special:Search/inlabel:"Miller" -haswbstatement:P31 -haswbstatement:P279 finds items with "Miller" in the label, but no P31 or P279 statement. It currently includes Ron Miller and G.A. Miller. You could then check the items or linked articles to see if its about a person. --- Jura 10:48, 21 December 2021 (UTC)[reply]

简体中文 标签 的翻译[edit]

有原来的“隶属于”改为“(以类型分)属于”,原因如下:

1,隶属于 并没有表达“属于某一类别”的意思,更多是“首。。。。。。 管辖”的意思

2,(以类型分)属于 有明确的类型概念 如: Confucius (Q4604) instance of (P31) human (Q5)

--Bangbang.S 11:52, 8 January 2022 (UTC)[reply]

Removal of some redundant English aliases[edit]

I am just making a note here to say why I removed some of the many English language aliases for this property. It was making the language heading quite unweildy to edit and read, in addition to making search suggestions confusing by including names which have overlap with other properties. For example, "member of" already exists as a different concept, and "has class" reads as something analagous to "has parts" or "has parts of class." The various "is a..." aliases I removed because so long as at least one is present, instance of will already appear in the search suggestions regardless of what is typed, and unless the aliases are particularly interchangeable I saw no reason to keep those. Further, the "was" aliases seemed out of scope. The time of the statement is with respect to the presently existing item; a historic building may still be represented by an item which is currently an instance of building. -Middle river exports (talk) 04:40, 4 October 2022 (UTC)[reply]

NB: I also removed the aliases for the British and Canadian variants of English (en-GB and en-CA, respectively). Their “translations” were identical to “regular” English (en), so I removed them too (regional dialects will fall back on their base language's translations if needed). Alhadis (talk) 04:49, 28 March 2024 (UTC)[reply]

Russian label[edit]

{{editprotected}}

Please, change Russian label to «экземпляр от» as more close to English label and property usage. 217.117.125.83 16:42, 6 December 2022 (UTC)[reply]

This is arguable. Current label is a result of consensus, and it must be discussed. --Infovarius (talk) 20:57, 6 December 2022 (UTC)[reply]
 Not done problematic renaming per discussion--Estopedist1 (talk) 19:01, 15 January 2023 (UTC)[reply]
Was there a discussion of this previously? I couldn't find it by myself; would you please help? Nikolay Komarov (talk) 20:29, 7 February 2024 (UTC)[reply]
Я тоже не нашёл. Но меня многолетнее использование самого популярного свойства без обсуждений неправильно. --Infovarius (talk) 10:59, 9 February 2024 (UTC)[reply]

Revision "‎Undo revision 1790142757 by Lectrician1 (talk): this is not true at all, the statements on the class apply to the class itself, not its instances; this is not Java/C++ " by LiberatorG[edit]

@User:LiberatorG Revision Could you give an example of an instance that does not inherit the properties of its superclass? Lectrician1 (talk) 15:44, 15 December 2022 (UTC)[reply]

@Lectrician1 Take the example of metaclasses, just for example. A metaclass is a class of class. A class can be an instance of a specific metaclass. But its instances are generally not classes, and are not instances of the metaclass.
In biology for example, if you consider taxons instances to be classes of organisms. Say, I’m an instance of mammal, and mammal is an instance of taxon. But as an instance, if I inherited everything from the mammal class it would entail that I’m a taxon, which is not true. author  TomT0m / talk page 16:11, 15 December 2022 (UTC)[reply]
@Lectrician1 Your revision said "the class this existent instance inherits all statements from". That would mean that because Albert Einstein (Q937)instance of (P31)human (Q5), the image (P18) on human (Q5) is an image of Albert Einstein (Q937), which it is not. Similarly, the pronunciation audio (P443), history of topic (P2184), described by source (P1343), model item (P5869), female form of label (P2521), exact match (P2888), topic's main template (P1424), topic's main category (P910) from human (Q5) would make no sense on Albert Einstein (Q937), and obviously the identifiers like GND ID (P227) and Encyclopædia Britannica Online ID (P1417) for human (Q5) are not identifiers for Albert Einstein (Q937). –LiberatorG (talk) 16:47, 15 December 2022 (UTC)[reply]
Huh. This actually brings up a really interesting thing though. Some properties on classes are meant to be inherited (for example has part(s) (P527), physically interacts with (P129), etc. on human (Q5)). But others are not (the ones you listed). Do we have a way to distinguish ones that should be inherited and ones that shouldn't? Lectrician1 (talk) 16:59, 15 December 2022 (UTC)[reply]
I proposed a long time ago to use a construction with has quality Search and qualifiers, but it’s imperfect.
If the property is meant to be inherited, use
⟨ class ⟩ has quality Search ⟨ values in qualifier ⟩
physically interacts with (P129) View with SQID ⟨ whatever ⟩
author  TomT0m / talk page 19:02, 15 December 2022 (UTC)[reply]
How do you use class (P2308)? That's a property constraint qualifier... Lectrician1 (talk) 20:20, 15 December 2022 (UTC)[reply]
Oh sorry wrong template, corrected. author  TomT0m / talk page 20:42, 15 December 2022 (UTC)[reply]
But aren't some properties always inherited, nomatter what class they're used on? For example, the ones I mentioned above? If so, shouldn't we somehow express on the property that whatever class it is used on it can be inherited by subclasses? Lectrician1 (talk) 21:02, 15 December 2022 (UTC)[reply]
Well, in that case there is only one class, physical entity according to the property description. So, I guess whatever but it’s easier, say in a template context, to go up the class hierarchy in lua to get all the properties inherited from the superclass than to get all the domains of the property, there is no accessible link in the latter case with the current API. author  TomT0m / talk page 21:13, 15 December 2022 (UTC)[reply]

Removed complex constraint P31=samevalue and P279=samevalue for being too common[edit]

This constraint had 17,360 violations on the most recent page, making the page difficult to load, and preventing the templates on the rest of the page to load. If/when people want it, they can run the query themselves. To facilitate that, I'm including the template below. JesseW (talk) 03:11, 8 March 2023 (UTC)[reply]

{{Complex constraint
 | label = P31=samevalue and P279=samevalue
 | description = in most cases this is an oversight or item that needs update after child item(s) were added
 | sparql = SELECT ?item # ?itemLabel ?class ?classLabel 
WHERE { 
	?item   wdt:P31   ?class ;
            wdt:P279  ?class .
  
    MINUS { ?class wdt:P31?/wdt:P279* wd:Q17442446 } # any internal stuff
    
    FILTER (?class != wd:Q11173)

    FILTER (?class != wd:Q7187)
    FILTER (?class != wd:Q8054)
    FILTER (?class != wd:Q201448)
    FILTER (?class != wd:Q215980)
    FILTER (?class != wd:Q277338)
    FILTER (?class != wd:Q284416)
    FILTER (?class != wd:Q427087)
    
#   SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
}}

"Domain" and "codomain" as qualifiers[edit]

@Swpb: Like "start time" and "end time", they should be paired properly when there are more than one pairs of available values. 慈居 (talk) 16:31, 18 August 2023 (UTC)[reply]

Please give an example. Swpb (talk) 16:34, 18 August 2023 (UTC)[reply]
One example would be multivalued function (Q629085) (disclaimer: related statements are created by myself). It has different pairs of domain and codomain under different constructions. 慈居 (talk) 16:39, 18 August 2023 (UTC)[reply]
multivalued function (Q629085) does not have a instance of (P31) statement on it. Swpb (talk) 16:50, 18 August 2023 (UTC)[reply]
You're right. But any instance of that might. I'll give some examples in some minutes. 慈居 (talk) 16:56, 18 August 2023 (UTC)[reply]
I see a total of eight statements on six items where definition domain (P1568) or codomain (P1571) qualifies instance of (P31). All of these qualifying statements should be main statements instead. Swpb (talk) 16:59, 18 August 2023 (UTC)[reply]
What do you think about this one I've just created? 慈居 (talk) 17:04, 18 August 2023 (UTC)[reply]
Besides we have the concept of tuples of sets, which is a function from an index set to the class of sets, and which is equivalent constructed as the functions whose codomain is the index set. 慈居 (talk) 17:20, 18 August 2023 (UTC)[reply]
I'm not very familiar with the math here, but as I understand it, square root (Q134237) is a function that is multi-valued over part of its domain, and single-valued over the rest. So you could model that with five statements:
  1. square root (Q134237)instance of (P31)function (Q11348)
  2. square root (Q134237)definition domain (P1568)Riemann surface of the square root (Q121600137)
  3. square root (Q134237)definition domain (P1568)Riemann sphere (Q825857)applies to part (P518)multivalued function (Q629085)
  4. square root (Q134237)codomain (P1571)complex plane (Q328998)
  5. square root (Q134237)codomain (P1571)Riemann sphere (Q825857)applies to part (P518)multivalued function (Q629085)
I'm not sure if that modeling is better or worse than what you've just done; you should consult a math-oriented Wikiproject. What I'm pretty sure of is that, where there is only one value for instance of (P31), it should not be qualified with these properties, but instead they should be used as main statements. But if you want to re-add the properties to the allowed-qualifiers constraint to allow for cases like what you've just done, that's fine with me. Swpb (talk) 17:25, 18 August 2023 (UTC)[reply]
That modeling is mostly satisfying to me, but I'm concerned that in principle, there are some things with equivalent constructions with different pairs of domains and codomains, but both as functions or both as multivalued functions, etc.. I wish there is a qualifier that somehow effectively identify different constructions of the concepts. As for your last concern, I wonder if (appropriately) repeating the statements without qualifiers will solve the problem? 慈居 (talk) 17:51, 18 August 2023 (UTC)[reply]
What do you mean by "repeating the statements without qualifiers"? You could also, if there are not many items (like square root (Q134237)) requiring these qualifiers, leave the constraint in place and add those items as constrain exceptions. Otherwise, I think the only way to allow the qualifiers when distinguishing different P31 values, but disallow them when there is only one P31 value, would be with a complex constraint. Swpb (talk) 14:23, 21 August 2023 (UTC)[reply]
What I meant was to state that the item is an instance of a function or a multivalued function without qualifiers, so that the item unconditionally becomes an instance of some Wikidata class, if statments with qualifiers prevents this from happening. I can't come up with a way to simplify the constraint you mentioned, maybe the constraint could be on P31 (at least one statement is without qualifier, if there is one)? After some thought after the discussion I have in mind a variant of your modeling like this:
i.e. making codomain (P1571) a qualifier of definition domain (P1568). Some of P31 statments are still "paritally right", I guess they can be followed by a qualifier like in square root (Q134237)instance of (P31)function (Q11348)nature of statement (P5102)under some domain and codomain. 慈居 (talk) 21:41, 21 August 2023 (UTC)[reply]

Broken templates[edit]

Does everyone loading this talk page encounter broken templates before the talk page discussions are even reached? Which leads to my actual question, are there not far too many constraints for this property? I don't think they are intended to be used for every possible misuse of "instance of", thousands more could conceivably be added. —Xezbeth (talk) 15:06, 31 August 2023 (UTC)[reply]

To the first question, yes, I see broken templates here. To the second question, I think the constraints here are appropriate until alternatives exist with the same effect. I've proposed one such alternative (Phabricator ticket here, not sure how to get it prioritized) that could replace a lot of the "none-of" constraints here with much simpler constraints. Until then, if the number and size of constraints is causing software issues, I think that's a developer problem. Swpb (talk) 16:08, 31 August 2023 (UTC)[reply]

Autofix for Q208361[edit]

Why KrBot does such autoreplaces? I can't see relevant "autofix" at this page... Infovarius (talk) 09:38, 1 September 2023 (UTC)[reply]

It was here, I have just removed it: [3] Brandkoeler (talk) 10:39, 1 September 2023 (UTC)[reply]

Usage of P276 as qualifier[edit]

Why is P276 not allowed as qualifier with that property? Example use case imo: Q19766189 Best regards, Arjoopy (talk) 19:09, 26 September 2023 (UTC)[reply]

A property can't be a statement. Use landmark (Q4895393) or in the worst Case physical location (Q17334923). Newt713 (talk) 13:47, 23 October 2023 (UTC)[reply]
I don't think you understood. Arjoopy isn't trying to make P276 the value of a P31 statement; they want to use it as a qualifier. In their example, it should be a main statement. Swpb (talk) 18:28, 23 October 2023 (UTC)[reply]

none-of constraint Q157031 foundation (Q157031)[edit]

Why is there a none-of constraint for Q157031 foundation (Q157031). I do understand that the item should not be type of specific legal types like Stichting stichting (Q19605764) or StiftungStiftung (Q18631225), but "foundation" foundation (Q157031) is very broad and really a type of nonprofit organization not a specific legal form with a legal jurisdiction. That's why I would propose to replace "foundation" foundation (Q157031) with some specific national legal types. --Newt713 (talk) 13:39, 23 October 2023 (UTC)[reply]

Use cases with grouping[edit]

Could someone help me finding statistics or create a query to find out entity types that this property is most popular to use with?

For example, is it mostly for the real objects or theoretical concepts, or humans?


It would greatly help to adjust the descriptions of this property in various languages by mentioning the most popular cases in the first place and thus making the description more precise. Nikolay Komarov (talk) 12:53, 6 February 2024 (UTC)[reply]

P31 is used on 111180863 items (99%?), so we can safely consider it everywhere and just look at overall statistics. --Infovarius (talk) 10:51, 9 February 2024 (UTC)[reply]

Mills, none of constraint[edit]

I've removed a none of constraint on types of mills - diff - which I think was added by Romaine. Reading their talk page I get the impression there is some misunderstanding about mill, the grinding device, and mill, the factory complex. Whatever: I don't see that the constraint is at all useful. A paper mill - factory that makes paper - should IMO have a P31 of paper mill (Q918088) and there's no good reason to hide the domain - paper - in has use (P366). --Tagishsimon (talk) 22:03, 27 March 2024 (UTC)[reply]

Hi Tagishsimon, The constraint is not about the paper factory. The earlier situation you link to had been solved at the time. Yesterday someone merged two items into one, removed some items into another item, in P31 the wrong item was in the constraint. Romaine (talk) 07:23, 28 March 2024 (UTC)[reply]