Wikidata:Database reports/Complex constraint violations/P31

From Wikidata
Jump to navigation Jump to search

Complex constraint violations report for instance of (discussion, uses, items, changes): 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)

Data time stamp: (UTC)

The report is generated based on the settings on Property talk:P31.

Updates overwrite this page. Some may already be fixed since the last update: check RecentChangesLinked.

The report can include false positives. No need to "fix" them.

Multiple P31 claims lead to duplicate tuples[edit]

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.
1000 violations
Query time: 5.71 s

P31=samevalue and P279=samevalue (indirect P279)[edit]

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
0 violations
WDQS HTTP status: 500; WDQS query timeout
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: query timeout)


Strange P31 link between parents in P279[edit]

Strange P31 link between parents in P279
(no description)
0 violations
WDQS HTTP status: 500; WDQS query timeout
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: query timeout)


Avoid P31 of P279 of Q5 (P106 or other properties should be created)[edit]

Avoid P31 of P279 of Q5 (P106 or other properties should be created)
(no description)
206 violations
Query time: 0.42 s

Second claim and unspecific[edit]

Second claim and unspecific
is most cases unspecific could be replaced with specific variant
1000 violations
Query time: 0.26 s

Can't be human and possibly fictional[edit]

Can't be human and possibly fictional
keep only one claim
325 violations
Query time: 0.27 s

Can't be one thing and group of things[edit]

Can't be one thing and group of things
keep only one claim, split into several items: Q1880543, Q161678, Q232009
0 violations
Query time: 0.10 s


Can't be ?item P31 ?item[edit]

Can't be ?item P31 ?item
impossible claim or it should be a separate item
0 violations
WDQS HTTP status: 500; WDQS query timeout
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: query timeout)


Cannot be an instance of an individual human[edit]

Cannot be an instance of an individual human
Can't be ?item wdt:P31/wdt:P31 wd:Q5.
0 violations
WDQS HTTP status: 500; WDQS query timeout
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: query timeout)


Can't be instance of both human and occupation[edit]

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).
382 violations
Query time: 20.44 s

Can't be instance of both human and position[edit]

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).
0 violations
WDQS HTTP status: 500; WDQS query timeout
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: query timeout)


Can't be instance of song and single[edit]

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).
1000 violations
Query time: 0.22 s

Can't be instance of both fictional character and literary work.[edit]

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.
0 violations
WDQS HTTP status: 500; WDQS query timeout
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: query timeout)


Can't be instance of both fictional character and narrative.[edit]

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.
143 violations
Query time: 26.49 s

Can't be instance of both a disambiguation page and a human.[edit]

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.
2 violations
Query time: 33.03 s

should have P31=category[edit]

should have P31=category
TODO: add P31
2 violations
Query time: 18.90 s
  • Q125939941: Category:Flags of the Dutch Caribbean
  • Q125942068: Category:Orphaned non-free use Wikipedia files as of 9 May 2024

should have P31=template[edit]

should have P31=template
TODO: add P31
81 violations
Query time: 14.51 s

should have P31=module[edit]

should have P31=module
TODO: add P31
8 violations
Query time: 16.21 s

should have P31=portal[edit]

should have P31=portal
TODO: add P31
2 violations
Query time: 12.75 s
  • Q125915568: Portal:Association football/Selected biography/1
  • Q125915568: Portal:Futbol/Tanlangan biografiya/1

default P31 values for frwiki (claimless items)[edit]

default P31 values for frwiki (claimless items)
TODO: add P31
2 violations
Query time: 13.11 s
  • Q125940782: Liste des pilotes de Formule E ayant marqué des points en championnat du monde, classés par pays, Liste de, Q13406463
  • Q125942205: Catégorie:Naissance à Yonezawa, Catégorie:, Q4167836

default P31 values for eswiki (claimless items)[edit]

default P31 values for eswiki (claimless items)
TODO: add P31
1000 violations
Query time: 8.23 s

use individual of taxon (P10241) to identify taxon[edit]

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.
0 violations
WDQS HTTP status: 400; WDQS query time: 0.13 s
Errors during constraint evaluation:
Cannot parse WDQS response as JSON object (likely reason: malformed query)


Redundant instance of statement[edit]

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
1000 violations
Query time: 2.10 s

Photos aren't genres[edit]

Photos aren't genres
Photos are not instances of photographic genres. Replace with genre (P136).
35 violations
Query time: 0.15 s

Possible archaeological sites misidentified as excavations (activity)[edit]

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)
0 violations
WDQS HTTP status: 400; WDQS query time: 0.06 s
Errors during constraint evaluation:
Constraint definition has 3 invalid template parameters
Cannot parse WDQS response as JSON object (likely reason: malformed query)


Items that are stated to be both proposed buildings/structures and actual (existing) structures[edit]

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".
132 violations
Query time: 0.93 s