Property talk:P217
Documentation
identifier for a physical object or a set of physical objects in a collection
Description | string 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. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents | accession number (Q1417099) | ||||||||||||
Data type | String | ||||||||||||
Domain | According to this template:
museal objects, artifacts, manuscript (Q87167) and work of art (Q838948)
According to statements in the property:
When possible, data should only be stored as statementsphysical object (Q223557), type (Q3707858), work of art (Q838948), work (Q386724), object (Q488383) or collectible (Q2342494) | ||||||||||||
Allowed values | According to this template:
any type of alphanumeric string, including dots, dashes and whitespaces, no weblinks.
According to statements in the property:
When possible, data should only be stored as statements[-a-zA-Z0-9 #äöüÄÖÜAГЭΕЖΦΓΕŚ.,:°/()\-–_故畫ЭРЖ]+ | ||||||||||||
Example | According to this template:
According to statements in the property:
When possible, data should only be stored as statementsThe Night Watch (Q219831) → SK-C-5 The Night Watch (Q219831) → SA 7392 | ||||||||||||
Source | catalogue of the corresponding collection (P195) (note: this information should be moved to a property statement; use property source website for the property (P1896)) | ||||||||||||
Tracking: usage | Category:Pages using Wikidata property P217 (Q23909002) | ||||||||||||
See also | catalog code (P528), collection (P195), exhibition history (P608), serial number (P2598), folio(s) (P7416) | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
List of violations of this constraint: Database reports/Constraint violations/P217#Item P195, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P217#Type Q223557, Q3707858, Q838948, Q386724, Q488383, Q2342494, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P217#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P217#mandatory qualifier, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P217#allowed qualifiers, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P217#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P217#Entity types
List of violations of this constraint: Database reports/Constraint violations/P217#Scope, SPARQL
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)
- is it possible to turn the definition round: everything is allowed except strings containing "http:// ..." ?--Giftzwerg 88 (talk) 21:42, 4 December 2014 (UTC)
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)
- @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)
- No objections after quite some time, changed it. Multichill (talk) 19:11, 22 September 2016 (UTC)
- @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)
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)
Variety of identifiers
[edit]Comment Please see discussion Variety of identifiers --Vladimir Alexiev (talk) 11:34, 7 January 2015 (UTC)
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)
- 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)
- 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)
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)
- 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)
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)
- All Properties
- Properties with string-datatype
- Properties used on 1000000+ items
- Properties with constraints on items using them
- Properties with constraints on type
- Properties with format constraints
- Properties with required qualifiers constraints
- Properties with qualifiers constraints
- Properties with entity type constraints
- Properties with scope constraints
- Properties with complex constraints