Property talk:P1881

Latest comment: 1 year ago by SM5POR in topic Fictional collective entity

Documentation

list of characters
Wikimedia page with the list of characters for this work
RepresentsWikimedia list of fictional characters (Q63032896)
Has qualitycomplex constraint value label (Q100884525)
Data typeItem
Domain
According to this template: television series (Q5398426) and similar, i.e. radio series
According to statements in the property:
work (Q386724), fictional collective entity (Q108764372) or group of works (Q17489659)
When possible, data should only be stored as statements
ExampleHeroes (Q83401)list of Heroes characters (Q1538416)
Tom and Jerry (Q131144)list of Tom and Jerry characters (Q462609)
SourceWikipedia articles (note: this information should be moved to a property statement; use property source website for the property (P1896))
Tracking: usageCategory:Pages using Wikidata property P1881 (Q23909100)
Lists
Proposal discussionProposal discussion
Current uses
Total1,007
Main statement1,00599.8% of uses
Qualifier20.2% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “Wikimedia list article (Q13406463): This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value Wikimedia list article (Q13406463) (or a subclass thereof). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1881#Value type Q13406463, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P1881#Scope, hourly updated report, SPARQL
Conflicts with “instance of (P31): version, edition or translation (Q3331189): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1881#Conflicts with P31, search, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1881#Entity types
 
value label (1: should match regex)
fix label or adjust regex for language at Property:P1881#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P1881 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P1881 ?value. ?item rdfs:label ?l . FILTER(lang(?l) = ?lang) ?value rdfs:label ?v . FILTER(lang(?v) = ?lang) FILTER ( !REGEX(str(?v), str(?t) ) ) } # ORDER BY ?lang ?v
List of this constraint violations: Database reports/Complex constraint violations/P1881#value label (1: should match regex)
 
value label (1: languages lacking a regex)
determine a regex and add it at Property:P1881#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang (COUNT(*) as ?count) (SAMPLE(?l) as ?sample) WHERE { hint:Query hint:optimizer "None". [] wdt:P1881 ?v . ?v rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P1881 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] FILTER( lang(?t) = ?lang) } FILTER( !BOUND(?t) ) ?item wdt:P424 ?lang ; wdt:P305 [] . } GROUP BY ?item ?lang HAVING ( ?count > 9) ORDER BY DESC ( ?count)
List of this constraint violations: Database reports/Complex constraint violations/P1881#value label (1: languages lacking a regex)

Constraint on Wikimedia list of fictional characters (Q63032896)

edit

Hi,

I just realised the constraint forcing the target to be Wikimedia list of fictional characters (Q63032896). I’m not too convinced by this item − surely this is equivalent to list of Star Fox characters (Q2663905)instance of (P31)Wikimedia list article (Q13406463) + list of Star Fox characters (Q2663905)is a list of (P360)fictional character (Q95074)?

Jean-Fred (talk) 11:13, 25 September 2019 (UTC)Reply

Fictional collective entity

edit

After finding a constraint violation on list of characters (P1881) of Revelation Space universe (Q2146771) I concluded that such a list may contain characters from a fictional universe or place appearing in several works (not necessarily even by the same author) just as well as those from a specific work, and considered defining fictional entity (Q14897293) as a "work" in its own right. Eventually, however, I decided to make a change with more limited consequences and just added fictional collective entity (Q108764372) to the subject type constraint (Q21503250) of list of characters (P1881) instead (it could be disputed whether such a fictional entity would necessarily constitute a creative work, and I didn't want the constraint to depend on that philosophical issue). --SM5POR (talk) 21:18, 29 January 2023 (UTC)Reply

Return to "P1881" page.