Property talk:P217

From Wikidata
Jump to navigation Jump to search

Documentation

inventory number
identifier for a physical object or a set of physical objects in a collection
Descriptionstring that identifies an object within a collection. Items with multiple numbers always need qualifiers with collection (P195), in case of outdated numbers use start time (P580), end time (P582) and ranks.
Representsaccession number (Q1417099)
Data typeString
Domain
According to this template: museal objects, artifacts, manuscript (Q87167) and work of art (Q838948)
According to statements in the property:
physical object (Q223557), type (Q3707858), work of art (Q838948), work (Q386724), object (Q488383) or collectible (Q2342494)
When possible, data should only be stored as statements
Allowed values
According to this template: any type of alphanumeric string, including dots, dashes and whitespaces, no weblinks.
According to statements in the property:
[-a-zA-Z0-9 #äöüÄÖÜAГЭΕЖΦΓΕŚ.,:°/()\-–_故畫ЭРЖ]+
When possible, data should only be stored as statements
Example
According to this template:
According to statements in the property:
The Night Watch (Q219831) → SK-C-5
The Night Watch (Q219831) → SA 7392
When possible, data should only be stored as statements
Sourcecatalogue of the corresponding collection (P195) (note: this information should be moved to a property statement; use property source website for the property (P1896))
Tracking: usageCategory:Pages using Wikidata property P217 (Q23909002)
See alsocatalog code (P528), collection (P195), exhibition history (P608), serial number (P2598)
Lists
Proposal discussionProposal discussion
Current uses
Total2,088,261
Main statement1,682,75380.6% of uses
Qualifier360,70117.3% of uses
Reference44,8072.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Item “collection (P195): Items with this property should also have “collection (P195)”. (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/P217#Item P195, search, SPARQL
Format “(?!http).+: value must be formatted using this pattern (PCRE syntax). (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/P217#Format, SPARQL
Required qualifier “collection (P195): this property should be used with the listed qualifier. (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/P217#mandatory qualifier, SPARQL
Format “(.{1,100})|: value must be formatted using this pattern (PCRE syntax). (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/P217#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033): 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/P217#Entity types
Scope is as main value (Q54828448), as qualifier (Q54828449), as reference (Q54828450): 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/P217#Scope, SPARQL
This property is being used by:

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

Missing collection
Items which have collection (P195) as a qualifier of inventory number (P217), but not as a statement (Help)
Violations query: SELECT ?item ?inv WHERE { ?item p:P217 ?invstatement . ?invstatement ps:P217 ?inv . ?invstatement pq:P195 ?collection . ?item wdt:P195 [] . # Only want items that have a collection set MINUS { ?item wdt:P195 ?collection } # Might need this MINUS { ?item p:P195 ?collectionstatement . ?collectionstatement ps:P195 ?collection }. MINUS { VALUES ?collection { wd:Q842858 } } # Nationalmuseum filtered out for now. Needs to be cleaned up first. } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P217#Missing collection


format constraint[edit]

set it [-a-zA-Z0-9 .]+ so at least html and wiki syntax isn't alowed. --Akkakk 23:16, 24 July 2013 (UTC)[reply]

is it possible to turn the definition round: everything is allowed except strings containing "http:// ..." ?--Giftzwerg 88 (talk) 21:42, 4 December 2014 (UTC)[reply]

Such simple regexp is inadequate. See examples from the British Musuem: https://confluence.ontotext.com/display/ResearchSpace/FR+Enhancements#FREnhancements-SampleIdentifiers --Vladimir Alexiev (talk) 11:11, 7 January 2015 (UTC)[reply]

@Akkakk: @Giftzwerg 88: @Vladimir Alexiev: @Nurni: still a lot of false positives in it's current form. Added some more characters, but I'm not sure this is the right way to go. Maybe just add a regex that it can't contain "http" to find the urls? Multichill (talk) 20:58, 5 February 2016 (UTC)[reply]
No objections after quite some time, changed it. Multichill (talk) 19:11, 22 September 2016 (UTC)[reply]
@Multichill, Manu1400: I see that this property has too format constraint (Q21502404) : (?!http).+ (.{1,100})|. Is it on purpose, can't we merge them together? Something like (?!http)(.{1,100})| ? Or at the very least add the | on the first one (to avoid the somevalue/novalue erros on constraint violations report page). What do you think? Cheers, VIGNERON (talk) 09:54, 24 February 2021 (UTC)[reply]

Also needed for...[edit]

... manuscripts, uncunabila, in some case a single exemplar of a printed book.--Giftzwerg 88 (talk) 12:16, 24 October 2014 (UTC)[reply]

Variety of identifiers[edit]

 Comment Please see discussion Variety of identifiers --Vladimir Alexiev (talk) 11:34, 7 January 2015 (UTC)[reply]

Fleet and registration numbers[edit]

At Wikidata:Property proposal/Transportation#fleet or registration number it has been suggested that this property should be used to store the fleet and/or registration numbers of vehicles. If you have comments about this please make them at the linked discussion. Thryduulf (talk: local | en.wp | en.wikt) 11:36, 8 March 2016 (UTC)[reply]

As per consensus at WD:PP/T, P2616 (P2616) will be used instead of this one for fleet or registration numbers of vehicles. Ajraddatz (talk) 16:43, 16 March 2016 (UTC)[reply]
ITYM fleet or registration number (P2802). This is a very unfortunate decision. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:51, 20 May 2017 (UTC)[reply]

More universal use[edit]

The description seems to be aimed just at museum or archive collections. However, we need also a general property of "inventory numbers" of utilitary subjects, structures and devices. They are two ways: either to extend conception of this property, or to create a new, paralel property with similar or even identical name, but for a bit different usage. See Wikidata:Property proposal/inventory number for discussion. --ŠJů (talk) 18:56, 15 July 2021 (UTC)[reply]

HI, I've been using this property in references to accurately represent the accession numbers used in archives and libraries. I have added 'as reference' to the correct uses of the property. James nayler is real (talk) 15:18, 27 October 2022 (UTC)[reply]

Disentangling P195 and P217[edit]

I have started a discussion here. Opinions and contributions are welcome. Jonathan Groß (talk) 08:25, 1 November 2023 (UTC)[reply]