Property talk:P7452

From Wikidata
Jump to navigation Jump to search

Documentation

reason for preferred rank
qualifier to allow the reason to be indicated why a particular statement should be considered preferred
RepresentsWikibase reason for preferred rank (Q71533077)
Data typeItem
Domainany statement that is of preferred rank, properties (note: this should be moved to the property statements)
Allowed values
Usage notesRefer to Help:Ranking#Preferred_rank. (list of Wikidata reasons for preferred rank: Q76637123)
Example (note: this information should be moved to a property statement; use property Wikidata property example (P1855), Wikidata property example for properties (P2271), Wikidata property example for lexemes (P5192), Wikidata property example for forms (P5193) or Wikidata property example for senses (P5977))
<complementary property>reason for deprecated rank (P2241)
Lists
Proposal discussionProposal discussion
Current uses
Total237,691
Main statement7<0.1% of uses
Qualifier237,624>99.9% of uses
Reference60<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as qualifier (Q54828449), as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P7452#Scope, hourly updated report, SPARQL
Value type “Wikibase reason for preferred rank (Q71533077): This property should use items as value that contain property “instance of (P31), subclass of (P279)”. On these, the value for instance of (P31), subclass of (P279) should be an item that uses subclass of (P279) with value Wikibase reason for preferred rank (Q71533077) (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/P7452#Value type Q71533077, SPARQL
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/P7452#Entity types
Non-preferred statements
Items with statements qualified by reason for preferred rank (P7452) that are not preferred (Help)
Violations query: SELECT ?item WHERE { hint:Query hint:optimizer "None" . ?statement pq:P7452 ?value; wikibase:rank ?rank . FILTER(?rank != wikibase:PreferredRank) . ?item ?p ?statement . [] wikibase:claim ?p }
List of this constraint violations: Database reports/Complex constraint violations/P7452#Non-preferred statements
Currently valid values with end time in the past
Items with statements qualified by reason for preferred rank (P7452) = currently valid value (Q71536244) and end time (P582) with value before current date. (Help)
Violations query: SELECT ?item WHERE { ?item ?property ?statement. ?statement pq:P7452 wd:Q71536244; pq:P582 ?time. FILTER(?time < (NOW())) }
List of this constraint violations: Database reports/Complex constraint violations/P7452#Currently valid values with end time in the past

Error handling[edit]

This property should throw up an alert when it's placed next to a value that's not actually preferred. Can that be done? (And a similar thing done with its deprecated counterpart?) {{u|Sdkb}}talk 18:08, 13 August 2020 (UTC)[reply]

There could also be other checks, such as when a value is marked as preferred because it's the most recent, but another value exists for the property with a later point in time or end date. {{u|Sdkb}}talk 18:10, 13 August 2020 (UTC)[reply]

Similar property[edit]

See Wikidata:Property proposal/reason for normal rank. --- Jura 16:42, 8 January 2021 (UTC)[reply]

Report for qualifier use to check[edit]

There is a new report at Property talk:P7452/qualifiers to check which lists use of this qualifier on claims without preferred rank. The reports is supposed to be updated daily. —MisterSynergy (talk) 22:14, 7 July 2023 (UTC)[reply]

Relevant merge proposal[edit]

See Talk:Q71536244#Proposed_merge_with_most_recent_value_(Q71533355). {{u|Sdkb}}talk 21:04, 27 July 2023 (UTC)[reply]