Property talk:P1612

From Wikidata
Jump to navigation Jump to search

Documentation

Commons Institution page
name of the institutions's page on Wikimedia Commons (without the prefix "Institution")
DescriptionCommons has an individual "Institution" template for many GLAM institutions, for example Commons:Institution:Louvre.
RepresentsCommons Institution page (Q48552277)
Has qualityMediaWiki page title (Q83336425)
Data typeString
Domainorganization (Q43229), architectural structure (Q811979), collection (Q2668072) or facility (Q13226383)
Allowed values
According to this template: Institution-space page on Commons
According to statements in the property:
(?![Ii]nstitution\s*:)[^][|]+
When possible, data should only be stored as statements
ExampleLouvre Museum (Q19675)Louvre
Hermitage Museum (Q132783)Hermitage Museum
San Telmo Museoa (Q3329346)San Telmo Museoa
Baranagore Ramakrishna Mission Ashrama High School (Q19882251)Baranagore Ramakrishna Mission Ashrama High School
Format and edit filter validationInstitution-space page on Commons; Format "(?![Ii]nstitution\s*:)[^][|]+"
SourceInstitution-space page on Commons (note: this information should be moved to a property statement; use property source website for the property (P1896))
Formatter URLhttps://commons.wikimedia.org/wiki/Institution:$1
Robot and gadget jobsAbout half of Institution templates already have a Wikidata link, so it should be possible for a bot to populate the property for those institutions very directly. Exceptions are listed at c:Category:Institution templates without Wikidata link. Semi-automation of an effort to identify corresponding Wikidata items for these should be possible, similar to work currently being done on Creator templates without a Wikidata link.
See alsoCommons gallery (P935), Commons category (P373), Commons Creator page (P1472)
Lists
Proposal discussionProposal discussion
Current uses
Total6,887
Main statement6,882>99.9% of uses
Qualifier4<0.1% of uses
Reference1<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1612#Single value, hourly updated report, 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/P1612#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Format “(?![Ii]nstitution\s*:)[^\]\[\|]+: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1612#Format, hourly updated report, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), Wikimedia category (Q4167836), Wikimedia list article (Q13406463): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1612#Conflicts with P31, hourly updated report, SPARQL
Item “Commons category (P373): Items with this property should also have “Commons category (P373)”. (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/P1612#Item P373, search, SPARQL
Link to Commons namespace “Institution”: this property should contain a well-formed link to an existing page on Wikimedia Commons. (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/P1612#Commons link
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/P1612#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/P1612#Scope, SPARQL

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

Untitled[edit]

This is the kind of property we ought to have anyway, to express relations between items and a particular set of wiki pages, in the same way that we now have Commons Creator page (P1472) for the Creator namespace. Jheald (talk) 16:39, 20 September 2014 (UTC)[reply]

Validation[edit]

Can we add a check for the prefix "Institution:" and throw a warning if one is found? (Better still: automatically remove it?) Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:44, 13 February 2015 (UTC)[reply]

@Pigsonthewing: the format constraint does exactly that and it's set to mandatory. Multichill (talk) 19:17, 13 February 2015 (UTC)[reply]
Thanks, but nonetheless I was allowed to save such a value, with no notification. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:19, 13 February 2015 (UTC)[reply]
You could make an abusefilter, but I'm afraid that's not going to be very user friendly at all. Multichill (talk) 12:10, 14 February 2015 (UTC)[reply]
My bot fixes "Institution:" prefix and some other unwanted values. — Ivan A. Krestinin (talk) 15:29, 14 February 2015 (UTC)[reply]
Awesome! Is this documented somewhere? Would be nice to have it on this page or link from this page. Multichill (talk) 17:49, 14 February 2015 (UTC)[reply]
It is mentioned on bot`s page. Bot process all Commons-related properties. The job was started at summer 2013. — Ivan A. Krestinin (talk) 18:14, 14 February 2015 (UTC)[reply]