Property talk:P5996

From Wikidata
Jump to navigation Jump to search

Documentation

category for films in this language
link to category entity contains films in this language
Has qualitycomplex constraint value label (Q100884525)
Data typeItem
Domainlanguoid (Q17376908)
ExampleRussian (Q7737)Category:Russian-language films (Q6840725)
Category:Russian-language animated films (Q106802283)
Greek (Q9129)Category:Greek-language films (Q7507298)
Japanese (Q5287)Category:Japanese-language films (Q6840900)
See alsocategory for films shot at this location (P1740)
Lists
Proposal discussionProposal discussion
Current uses
Total295
Main statement29198.6% of uses
Qualifier41.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “languoid (Q17376908): item must contain property “instance of (P31)” with classes “languoid (Q17376908)” or their subclasses (defined using subclass of (P279)). (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/P5996#Type Q17376908, SPARQL
Inverse property of “category combines topics (P971):
if [item A] has this property (category for films in this language (P5996)) linked to [item B],
then [item B] should also have property “category combines topics (P971)” linked to [item A]. (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/P5996#inverse, SPARQL
Property “category combines topics (P971): film in this language (Q104374079)” declared by target items of “category for films in this language (P5996): If [item A] has this property with value [item B], [item B] is required to have property “category combines topics (P971): film in this language (Q104374079)”. (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/P5996#Target required claim P971, SPARQL
Property “instance of (P31): Wikimedia category (Q4167836)” declared by target items of “category for films in this language (P5996): If [item A] has this property with value [item B], [item B] is required to have property “instance of (P31): Wikimedia category (Q4167836)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P5996#Target required claim P31, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P5996#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (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/P5996#Single value, 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/P5996#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P5996#Scope, SPARQL
categories for films by language should be values of a statement with this property
TODO add P5996 to language item (Help)
Violations query: SELECT ?item ?itemLabel ?lg ?catLabel { ?cat wdt:P971 wd:Q11424 ; wdt:P971 ?item . ?item wdt:P305 ?lg . FILTER NOT EXISTS { ?item wdt:P5996 ?cat } SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } }
List of this constraint violations: Database reports/Complex constraint violations/P5996#categories for films by language should be values of a statement with this property
value label (1: should match regex)
fix label or adjust regex for language at Property:P5996#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P5996 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P5996 ?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/P5996#value label (1: should match regex)
value label (1: languages lacking a regex)
determine a regex and add it at Property:P5996#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:P5996 ?v . ?v rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P5996 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/P5996#value label (1: languages lacking a regex)