Property talk:P31
Documentation
editthat 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)
Description | This 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. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents | instance of (Q21503252) | ||||||||||||
Data type | Item | ||||||||||||
Domain | Instances (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 notes | Usage instructions in English | ||||||||||||
Example | Nelson 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) | ||||||||||||
Source | http://www.w3.org/TR/rdf-schema/#ch_type | ||||||||||||
Robot and gadget jobs | DeltaBot does the following jobs: The gadget Wikidata useful lets the user choose among some common types and store the statement in one click. | ||||||||||||
Tracking: same | Category:Template parameter is the same as P31 (Q42533274) | ||||||||||||
Tracking: usage | Category:Pages using Wikidata property P31 (Q20117426) | ||||||||||||
Tracking: local yes, WD no | no label (Q32764726) | ||||||||||||
See also | subclass of (P279), part of (P361) | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | [not applicable Proposal discussion] | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
List of violations of this constraint: Database reports/Constraint violations/P31#allowed qualifiers, SPARQL
Replacement property:
Replacement values: work of art (Q838948), musical work (Q2188189) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P31#Scope, SPARQL
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)
List of violations of this constraint: Database reports/Constraint violations/P31#Contemporary, SPARQL
Replacement property: living people protection class (P8274)
Replacement values: (Help)
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: human (Q5) (Help)
Replacement property: sex or gender (P21)
Replacement values: female (Q6581072) (Help)
Replacement property: sex or gender (P21)
Replacement values: male (Q6581097) (Help)
Replacement property:
Replacement values: Wikimedia category (Q4167836) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: novalue (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: heritage designation (P1435)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: occupation (P106)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: occupation (P106)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: video game (Q7889) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: podcast (Q24634210) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: character type (P9071)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: narrative role (P5800)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: subject has role (P2868)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: album (Q482994) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: album (Q482994) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: album (Q482994) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: video album (Q10590726) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: dramatico-musical work (Q58483083) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: dramatico-musical work (Q58483083) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: subclass of (P279)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: sex or gender (P21)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: significant event (P793)
Replacement values: The Holocaust (Q2763) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: audio track (Q7302866) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: significant event (P793)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: religion or worldview (P140)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: painting (Q3305213) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: occupation (P106)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: narrative role (P5800)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: type of dance (Q107357104) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: musical work/composition (Q105543609) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: capital of (P1376)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: mass shooting (Q21480300) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: terrorist attack (Q2223653) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: domestic terrorist attack (Q112044283) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: video game developer (Q210167), video game publisher (Q1137109) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P31#Target required claim P279, SPARQL, SPARQL (by value)
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: heritage designation (P1435)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: physical location (Q17334923), virtual place (Q107307154), location in a fictional work (Q15796005) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: occupation (P106)
Replacement values: soldier (Q4991371) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: literary work (Q7725634), version, edition or translation (Q3331189), written work (Q47461344) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: transitivity (P9295)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: religious sculpture as object (Q116445901) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: art genre (Q1792379), art movement (Q968159), art style (Q1792644), artistic technique (Q11177771), artistic theme (Q1406161), type of arts (Q56055944), aspect in a geographic region (Q74817647), aspect in a historical period (Q111676757), aspect by ethnic group (Q106727146), work of art (Q838948) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: visual artwork (Q4502142) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: performance work (Q17538722) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: literary work (Q7725634) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: religious work of art (Q117023378) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: textile artwork (Q22075301) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: performance artwork (Q22672348) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: video artwork (Q20742776) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: environmental artwork (Q21042249) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: photograph (Q125191), photographic work (Q11900210) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: interactive artwork (Q115452528) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: painting (Q3305213) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: sculpture (Q860861) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: drawing (Q93184) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: has characteristic (P1552)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: form of creative work (P7937)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: controversy (Q1255828) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: antagonist (Q245204) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: woodwork (Q60734095) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: streetlight (Q503958) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: declarative sentence (Q474328), proposition (Q108163), message (Q628523), declaration (Q2620826), declaration (Q62662439), assertion (Q814441), saying (Q3026787) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: natural system (Q106865236), technical system (Q994895), physical system (Q1454986), conceptual system (Q3622126), continuous system (Q3509189), discrete system (Q3509386), social system (Q1639378), engineered physical system (Q120926552) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: remarkable tree (Q811534) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: fictional country (Q1145276) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: fort (Q1785071) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: association (Q15911314) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: mythical location (Q3238337), fictional location (Q3895768), planet (Q634) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: physical object (Q223557), physical substance (Q28732711), spatial entity (Q58416391), physical location (Q17334923), geographical feature (Q618123) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: theatre building (Q24354) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: genre (P136)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: industry (Q268592), economic sector (Q3958441) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: part of (P361)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: distribution format (P437)
Replacement values: online video (Q23058567), viral video (Q1030329), web series episode (Q1464125), music video (Q193977), short film (Q24862), video work (Q110879246) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: language (Q34770) (Help)
Replacement property:
Replacement values: plastic artwork (Q350268) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: subclass of (P279)
Replacement values: educational institution (Q2385804) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: ship grave (Q124473037) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: film character (Q15773347) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property: subclass of (P279)
Replacement values: point of view (Q12558574), world view (Q49447), ideology (Q7257), belief system (Q5390013) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: mill (Q44494) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: train service (Q15141321), railway (Q22667), railway line (Q728937) (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P31#none of, SPARQL
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"} } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P31#Multiple P31 claims lead to duplicate tuples
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)
(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
(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)
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
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
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
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
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
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
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
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
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.
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.
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.
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
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
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
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
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)
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)
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 100
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]]
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 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
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)
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 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 |
If property value equals to Digimon (Q1608017) then claim from narrative universe (P1080) = Digimon universe (Q108461595) will be created automatically. Testing: TODO list |
If property value equals to Digimon (Q1608017) then claim media franchise (P8345) = Digimon (Q193884) will be created automatically. 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 |
|
Archive
editOlder discussions archived under Property talk:P31/Archive.
Usage note
editUsage 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
editContext 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:
- Each individual qualifier would need an attached reference, instead of only once for the single Event (the set of qualifiers, a qualifierSnak).
- 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:
- 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.
- 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).
- 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)
Suitability of Commons category (Q24574745) as value
editIf 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)
Suitability of Wikimedia article page (Q15138389) as value
editIn 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)
- 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)
- 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). ChristianKl ❪✉❫ 00:18, 11 December 2020 (UTC)
- 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)
- 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)
- 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)
- 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)
- I'm sure we can find a meaningful way to classify and describe "geology of <country>" topics. --- Jura 12:14, 5 February 2021 (UTC)
- 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)
- I'm sure we can find a meaningful way to classify and describe "geology of <country>" topics. --- Jura 12:14, 5 February 2021 (UTC)
- 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)
- 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)
- 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)
Removing said to be the same as (P460) as qualifier
editIt 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. ChristianKl ❪✉❫ 00:30, 11 December 2020 (UTC)
- Seems reasonable to me. --Yair rand (talk) 02:10, 21 December 2020 (UTC)
Removing language of work or name (P407) as qualifier
editThis 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)
None-of constraints: podcast and games?
editSeveral none-of constraints such as "None of audio podcast (Q24633474), video podcast (Q3276244), podcast (Q20899), podcast (Q33212151)" or "None of virtual reality 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).
- We use podcast (Q24634210) and video game (Q7889) instead. @Theanswertolifetheuniverseandeverything: --Trade (talk) 21:20, 7 November 2021 (UTC)
- @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)
- They are all marked as product distribution method (Q81941037) which = distribution format (P437) @Push-f:--Trade (talk) 13:53, 20 October 2022 (UTC)
- @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)
- @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)
- @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)
- They are all marked as product distribution method (Q81941037) which = distribution format (P437) @Push-f:--Trade (talk) 13:53, 20 October 2022 (UTC)
- @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)
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)
- @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)
- 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)
- @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)
- 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)
- @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)
- 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)
Add type constraint to be mutually exclusive with different from (P1889)
editI'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)
- Any use case to see more what you'd like ?Bouzinac 💬●✒️●💛 21:56, 1 November 2021 (UTC)
- @Bouzinac I'm not quite understanding what you are saying. Are you asking for an example? Here's one: for a brief time, ScummVM (Q145568) simultaneously had both instance of (P31) and different from (P1889) with values of "emulator". This means that ScummVM is an emulator and ScummVM is not an emulator were simultaneously listed. This is of course nonsensical, but there was no constraint on either property pointing out the issue. Thunderforge (talk) 18:38, 2 November 2021 (UTC)
- Okay, I get what you are saying : you'd like to alert when there is same value both in P31 and in P1889. Bouzinac 💬●✒️●💛 19:48, 2 November 2021 (UTC)
- Yes, that is what I am looking for. Thunderforge (talk) 01:29, 3 November 2021 (UTC)
- Okay, I get what you are saying : you'd like to alert when there is same value both in P31 and in P1889. Bouzinac 💬●✒️●💛 19:48, 2 November 2021 (UTC)
- @Bouzinac I'm not quite understanding what you are saying. Are you asking for an example? Here's one: for a brief time, ScummVM (Q145568) simultaneously had both instance of (P31) and different from (P1889) with values of "emulator". This means that ScummVM is an emulator and ScummVM is not an emulator were simultaneously listed. This is of course nonsensical, but there was no constraint on either property pointing out the issue. Thunderforge (talk) 18:38, 2 November 2021 (UTC)
- I don't see a problem with stating that a jeep is an instance of an off-road vehicle and different from that. This as they can be considered synonyms. --- Jura 01:58, 21 December 2021 (UTC)
Finding those without it set
editIs 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)
- 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)
简体中文 标签 的翻译
edit有原来的“隶属于”改为“(以类型分)属于”,原因如下:
1,隶属于 并没有表达“属于某一类别”的意思,更多是“首。。。。。。 管辖”的意思
2,(以类型分)属于 有明确的类型概念 如: Confucius (Q4604) instance of (P31) human (Q5)
--Bangbang.S 11:52, 8 January 2022 (UTC)
Removal of some redundant English aliases
editI 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)
- 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)
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)
- This is arguable. Current label is a result of consensus, and it must be discussed. --Infovarius (talk) 20:57, 6 December 2022 (UTC)
- Not done problematic renaming per discussion--Estopedist1 (talk) 19:01, 15 January 2023 (UTC)
- 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)
- Я тоже не нашёл. Но меня многолетнее использование самого популярного свойства без обсуждений неправильно. --Infovarius (talk) 10:59, 9 February 2024 (UTC)
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)
- @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)
- @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)
- 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)
- 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
- author TomT0m / talk page 19:02, 15 December 2022 (UTC)
- How do you use class (P2308)? That's a property constraint qualifier... Lectrician1 (talk) 20:20, 15 December 2022 (UTC)
- Oh sorry wrong template, corrected. author TomT0m / talk page 20:42, 15 December 2022 (UTC)
- 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)
- 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)
- How do you use class (P2308)? That's a property constraint qualifier... Lectrician1 (talk) 20:20, 15 December 2022 (UTC)
- 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)
Removed complex constraint P31=samevalue and P279=samevalue for being too common
editThis 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)
{{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)
- Please give an example. Swpb (talk) 16:34, 18 August 2023 (UTC)
- 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)
- multivalued function (Q629085) does not have a instance of (P31) statement on it. Swpb (talk) 16:50, 18 August 2023 (UTC)
- You're right. But any instance of that might. I'll give some examples in some minutes. 慈居 (talk) 16:56, 18 August 2023 (UTC)
- 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)
- What do you think about this one I've just created? 慈居 (talk) 17:04, 18 August 2023 (UTC)
- 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)
- 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:
- square root (Q134237)instance of (P31)function (Q11348)
- square root (Q134237)definition domain (P1568)Riemann surface of the square root (Q121600137)
- square root (Q134237)definition domain (P1568)Riemann sphere (Q825857)
applies to part, aspect, or form (P518)multivalued function (Q629085) - square root (Q134237)codomain (P1571)complex plane (Q328998)
- square root (Q134237)codomain (P1571)Riemann sphere (Q825857)
applies to part, aspect, or form (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)
- 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)
- 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)
- 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:
- square root (Q134237)definition domain (P1568)set of non-negative real numbers (Q91311892)
codomain (P1571)set of non-negative real numbers (Q91311892) subject has role (P2868)function (Q11348) - square root (Q134237)definition domain (P1568)Riemann sphere (Q825857)
codomain (P1571)Riemann sphere (Q825857) subject has role (P2868)multivalued function (Q629085) - square root (Q134237)definition domain (P1568)Riemann surface of the square root (Q121600137)
codomain (P1571)complex plane (Q328998) subject has role (P2868)multivalued function (Q629085)
- square root (Q134237)definition domain (P1568)set of non-negative real numbers (Q91311892)
- 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)
- 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:
- 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)
- 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)
- 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:
- 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)
- You're right. But any instance of that might. I'll give some examples in some minutes. 慈居 (talk) 16:56, 18 August 2023 (UTC)
- multivalued function (Q629085) does not have a instance of (P31) statement on it. Swpb (talk) 16:50, 18 August 2023 (UTC)
- 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)
Broken templates
editDoes 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)
- 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)
Autofix for Q208361
editWhy KrBot does such autoreplaces? I can't see relevant "autofix" at this page... Infovarius (talk) 09:38, 1 September 2023 (UTC)
- It was here, I have just removed it: [3] Brandkoeler (talk) 10:39, 1 September 2023 (UTC)
Usage of P276 as qualifier
editWhy is P276 not allowed as qualifier with that property? Example use case imo: Q19766189 Best regards, Arjoopy (talk) 19:09, 26 September 2023 (UTC)
- 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)
- 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)
none-of constraint Q157031 foundation (Q157031)
editWhy 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)
Use cases with grouping
editCould 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)
- 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)
Mills, none of constraint
editI'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)
- 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)