Property talk:P2517

Latest comment: 5 years ago by 84.46.53.16 in topic Nice property

Documentation

category for recipients of this award
link to Wikimedia category for recipients of this award
Descriptionlink to Wikimedia category for recipients of this award
RepresentsWikimedia category (Q4167836), class of award (Q38033430)
Has qualitycomplex constraint value label (Q100884525)
Data typeItem
Domaintitle (Q216353), award (Q618779), class of award (Q38033430) or group of awards (Q107655869)
Allowed valuesWikimedia category (Q4167836) (note: this should be moved to the property statements)
ExampleNational Hero of Armenia (Q2635367)Category:National Hero of Armenia (Q7858859)
Nobel Prize in Physics (Q38104)Category:Nobel laureates in Physics (Q5838087)
See alsorelated category (P7084), member category (P6365)
Lists
Proposal discussionProposal discussion
Current uses
Total8,293
Main statement8,291>99.9% of uses
Qualifier2<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), human (Q5): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2517#Conflicts with P31, hourly updated report, SPARQL
Value type “Wikimedia category (Q4167836): 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 category (Q4167836) (or a subclass thereof). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2517#Value type Q4167836, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P2517#Unique value, 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/P2517#Single value, SPARQL
Property “category combines topics (P971): award winner person (Q21096945)” declared by target items of “category for recipients of this award (P2517): If [item A] has this property with value [item B], [item B] is required to have property “category combines topics (P971): award winner person (Q21096945)”. (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/P2517#Target required claim P971, SPARQL
Inverse property of “category combines topics (P971):
if [item A] has this property (category for recipients of this award (P2517)) 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/P2517#inverse, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2517#Scope, 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/P2517#Entity types
None of Category:People's Artists of Russia (Q7866116): value must not be any of the specified items.
Replacement property:
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2517#none of, SPARQL
 
value label (1: should match regex)
fix label or adjust regex for language at Property:P2517#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P2517 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P2517 ?value. OPTIONAL { ?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/P2517#value label (1: should match regex)
 
value label (1: languages lacking a regex)
determine a regex and add it at Property:P2517#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang (COUNT(*) as ?count) (SAMPLE(?l) as ?sample_l) (SAMPLE(?s) as ?sample_s) (SAMPLE(?value) as ?sample_value) WHERE { hint:Query hint:optimizer "None". ?s wdt:P2517 ?value . ?value rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P2517 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/P2517#value label (1: languages lacking a regex)
 

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Nice property edit

All those weird webby awards (let alone their lovies), German Webvideo awards etc. should get a "category qualifier RECOMMENDED" constraint. –84.46.53.16 04:32, 12 January 2019 (UTC)Reply

Return to "P2517" page.