Property talk:P791
Documentation
identifier for a library or related organization
Applicable "stated in" value | not applicable | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data type | External identifier | ||||||||||||
Template parameter |
| ||||||||||||
Domain | library (Q7075), museum (Q33506), archive (Q166118), type of library (Q25397890), library network (Q26271642) or museum network (Q88667167)organization (Q43229) | ||||||||||||
Allowed values | \D{1,4}\-[A-Za-z\-0-9:/]{1,11} | ||||||||||||
Example | Library of Congress (Q131454) → US-DLC Swiss National Library (Q201787) → CH-000001-5 University Library Johann Christian Senckenberg (Q875587) → DE-30 Senckenberg Museum (Q706441) → DE-MUS-047910 Biblioteca Ambrosiana (Q815611) → IT-MI0133 | ||||||||||||
Formatter URL | https://w3id.org/isil/$1 https://w3id.org/isil/$1 https://w3id.org/isil/$1 https://lobid.org/organisation/$1/about http://dispatch.opac.d-nb.de/DB=1.2/CMD?ACT=SRCHA&IKT=8529&TRM=$1 https://w3id.org/isil/AU-$1 https://wikidata-externalid-url.toolforge.org/?url=http%3A%2F%2Fwww.sudoc.abes.fr%2Fcbs%2Fxslt%2F%2FDB%3D2.2%2FCMD%3FACT%3DSRCHA%26IKT%3D8888%26SRT%3DRLV%26TRM%3D%251&exp=%5EFR-(%5Cd%7B9%7D)&id=$1 http://isil.kansalliskirjasto.fi/api/query?isil=$1 http://isil.kbr.be/$1 http://sigel.staatsbibliothek-berlin.de/suche/?isil=$1 https://w3id.org/isil/$1 http://anagrafe.iccu.sbn.it/isil/$1 http://id.ndl.go.jp/vocab/isil/$1 https://culture.ld.admin.ch/isil/$1 | ||||||||||||
Tracking: usage | Category:Pages using Wikidata property P791 (Q19889749) | ||||||||||||
See also | DBS ID (P4007), Archives Portal Europe ID (P7764) | ||||||||||||
Lists |
Mix'n'match (Report) | ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
List of violations of this constraint: Database reports/Constraint violations/P791#Type Q7075, Q33506, Q166118, Q25397890, Q26271642, Q88667167, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P791#Unique value, SPARQL (every item), SPARQL (by value)
((KR0[0-6]\d{12})|(KR[0-6]\d{5})|([A-Z]{2}-|OCLC-|EUR-|O-|ZDB-)[ÅA-Za-z\-0-9:\/]{1,15})|
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P791#Item P17, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P791#Type Q43229, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P791#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P791#Entity types
Item with an ISIL identifier with DE-MUS- prefix but not a museum (Help)
Violations query:
SELECT DISTINCT ?item WHERE { ?item wdt:P791 ?value; wdt:P31 ?instance MINUS { VALUES ?classes { wd:Q33506 } . ?item wdt:P31/wdt:P279* ?classes . } . FILTER( REGEX( STR( ?value ), "^(DE-MUS-.+)$" ) ) . FILTER( ?item NOT IN ( wd:Q4115189, wd:Q13406268, wd:Q15397819 ) ) . } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P791#Check ISIL DE-MUS-*
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Formatter URL doesn't work well
editHi, I noticed that the URL chosen for this property works only with ISIL codes associated with Germany, but it doesn't work with, say, Italy or Switzerland. I think it would be better to remove the URL, since there is a search engine for every country that adhere to ISIL standard. --Sannita - not just another it.wiki sysop 18:19, 5 April 2015 (UTC)
- I agree, otherwise the "International" in ISIL seems overly limited. --Steko (talk) 08:56, 24 August 2015 (UTC)
- You might want to add custom code to MediaWiki:Gadget-AuthorityControl.js. --- Jura 09:22, 24 August 2015 (UTC)
- Just encountering the same issue for Danish Libraries. The alternative to remove the Formatter URL, would be to have several Formatter URL and then qualify them with Country? --VicVal (talk) 19:22, 19 November 2015 (UTC)
- Yes, changing AuthorityControl.js shouldn't be too complicated. I hope to get this included in the new formatter url version as well. --- Jura 19:41, 19 November 2015 (UTC)
- Please see Wikidata:Property_proposal/Authority_control#DE-ISIL. --- Jura 09:34, 2 April 2016 (UTC)
- Not all registration authorities maintain web registries. Some are simple lists in PDF or other formats. Some have no public lists at all. See the "List" and "n/a" entries here: http://biblstandard.dk/isil/ Note that this doesn't make it any less of an identifier or any less important. Tfmorris1 (talk) 18:56, 8 June 2016 (UTC)
New Formatter URL
editDear administrators!
Please consider to change the Formatter URL from http://dispatch.opac.d-nb.de/DB=1.2/CMD?ACT=SRCHA&IKT=8529&TRM=$1 to https://w3id.org/isil/$1 with a value (?:DE|ZDB|US|IT|JP)-.* for the "format as a regular expression" property. Since I'm not allowed to change this.
This way not only German but also US, Italian and Japan ISILs will be linked.
See also https://github.com/perma-id/w3id.org/tree/master/isil
Cheers! – The preceding unsigned comment was added by CKlee (talk • contribs). on Nov 3, 2016
Done This is what we were expecting, thank you very much! --Sannita - not just another it.wiki sysop 11:14, 28 November 2017 (UTC)
- That seems problematic as it's a third party redirect service. We can add more in the gadget instead. BTW, even if it's added, former information shouldn't be overwritten.
--- Jura 12:14, 28 November 2017 (UTC)
- Up until now, only DE-* codes were allowed to function, because for some reason a Germany-only URL was provided for a service that's supposed to be international. It's a redirect, I know, but at least it works.
- Moreover, formatter URL (P1630) only allows for one value. Keeping the others as "deprecated" or using the gadget doesn't seem to me a good idea. Happy to revert my edits, as long as I see there's consensus on your concerns, not mine. --Sannita - not just another it.wiki sysop 14:05, 28 November 2017 (UTC)
- You can add as many as you want. It just depends how. For P791, it needs to go in MediaWiki:Gadget-AuthorityControl.js with country codes.
--- Jura 17:24, 28 November 2017 (UTC)
- You can add as many as you want. It just depends how. For P791, it needs to go in MediaWiki:Gadget-AuthorityControl.js with country codes.
- As the regex aren't supported yet for external-ids, I deprecated the formatter urls. The gadget will continue to provide the links .. @Pyrog: for info.
- There is a ticket in phabricator to change this. --- Jura 20:07, 25 April 2020 (UTC)
Change of datatype
editData type "external identifier"?
editHi, I was wondering why this property isn't defined to expect the data type "external identifier" (https://www.wikidata.org/wiki/Help:Data_type#External_identifier). Wouldn't that fit? Best, Jana Hentschke (talk) 09:50, 20 April 2018 (UTC)
- I agree, it should be changed. --Epìdosis 11:19, 2 August 2018 (UTC)
- Please see Wikidata:Project_chat/Archive/2017/05#Changing_the_data_type_of_properties. --- Jura 12:27, 15 October 2019 (UTC)
Proposal - Change Data type of ISIL (P791) from String to External identifier
editI think String is the wrong type for ISIL (P791). Can we please change it to be External identifier.
As per Help:Data_type#Changing_datatype please indicate support/opposition below. Iwan.Aucamp (talk) 16:51, 15 October 2019 (UTC)
Discussion
edit- Comment for your attention @Epìdosis: @Jana_Hentschke: Iwan.Aucamp (talk) 17:10, 15 October 2019 (UTC)
- Support but constraint violations should be looked at... ArthurPSmith (talk) 17:28, 15 October 2019 (UTC)
- Please see the problem mentioned above Wikidata:Project_chat/Archive/2017/05#Changing_the_data_type_of_properties. --- Jura 17:38, 15 October 2019 (UTC)
- Support - again! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:26, 15 October 2019 (UTC)
- Support --Epìdosis 18:37, 15 October 2019 (UTC)
Proposal - Change from "Statements" to "Identifiers"
editThis property is sorted in "Statements" but it is in identifiers. Thus, it should be sorted in the section "Identifier".
See for example Library of Congress (Q131454): The property ISIL (P791) belongs to the chapter "Statement". --Eulenspiegel1 (talk) 23:12, 4 March 2020 (UTC)
- It has been Done. --Epìdosis 15:01, 29 April 2020 (UTC)
Removal of single value constraint
editCurrently ISIL (P791)property constraint (P2302)single-value constraint (Q19474404). The problem is that ISIL does not make this guarantee:
I guess the right solution is to remove the constraint. Please discuss below. Iwan.Aucamp (talk) 20:44, 30 April 2020 (UTC)
WikiProject Books has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead.
Notified participants of WikiProject Authority control
Discussion
edit- Neutral can't vote ... but if I could I would vote support here Iwan.Aucamp (talk) 20:44, 30 April 2020 (UTC)
- Removed. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:33, 2 May 2020 (UTC)
I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:33, 2 May 2020 (UTC) |
Again on formatter URL (P1630)
editIt so happens that we have found a way to give access to all national sub-catalogues for libraries with the address https://w3id.org/isil/$1, that automatically redirects users to the particular national website.
My proposal is to remove all other formatter URLs, since they cannot work with current datatype and, given the solution provided by a World Wide Web Consortium (Q37033) group, they might induce people to add a potentially infinite list of links that are to be considered deprecated on Wikidata. --Sannita - not just another it.wiki sysop 10:28, 6 May 2020 (UTC)
Notified participants of WikiProject Authority control--Sannita - not just another it.wiki sysop 10:31, 6 May 2020 (UTC)
- Thanks for the ping. So, I think that https://w3id.org/isil/$1 works for most, but not all the IDs: e.g. https://w3id.org/isil/RU-10017011 (one of the examples) seems not working. I've already set some days ago the formatter URL (P1630) https://w3id.org/isil/$1 as preferred value, but strangely the property displays no link (maybe a bug?). While I agree about removing formatter URLs starting with https://w3id.org/isil/$1, I'm not so sure about totally removing the other ones, which I think are correct and worth mentioning; probably they should be moved to third-party formatter URL (P3303), although I'm not sure an URL like http://anagrafe.iccu.sbn.it/isil/$1 can be considered "third party". Anyway, I'm convinced that in the present situation, with https://w3id.org/isil/$1 setted as preferred value for formatter URL (P1630), the link should already appear. --Epìdosis 10:39, 6 May 2020 (UTC)
- @Epìdosis: It may not have shown a link because it was a string-type property, not external id. ArthurPSmith (talk) 17:25, 6 May 2020 (UTC)
- @ArthurPSmith: OK, but now it is an external-id and the link still isn't shown. --Epìdosis 17:31, 6 May 2020 (UTC)
- Where are you not seeing it? The examples on the property page show as links (at least for me). ArthurPSmith (talk) 17:43, 6 May 2020 (UTC)
- @ArthurPSmith: No, the examples don't show as links (at least for me). --Epìdosis 19:12, 7 May 2020 (UTC)
- @Epìdosis: that's weird. Maybe you have a javascript gadget enabled that's interfering somehow? ArthurPSmith (talk) 19:49, 7 May 2020 (UTC)
- @ArthurPSmith: I would exclude it, since it also happens on browsers where I'm not logged-in. --Epìdosis 20:02, 7 May 2020 (UTC) P.S. T252167
- @Epìdosis: that's weird. Maybe you have a javascript gadget enabled that's interfering somehow? ArthurPSmith (talk) 19:49, 7 May 2020 (UTC)
- @ArthurPSmith: No, the examples don't show as links (at least for me). --Epìdosis 19:12, 7 May 2020 (UTC)
- Where are you not seeing it? The examples on the property page show as links (at least for me). ArthurPSmith (talk) 17:43, 6 May 2020 (UTC)
- @ArthurPSmith: OK, but now it is an external-id and the link still isn't shown. --Epìdosis 17:31, 6 May 2020 (UTC)
- @Epìdosis: It may not have shown a link because it was a string-type property, not external id. ArthurPSmith (talk) 17:25, 6 May 2020 (UTC)
- What would be the benefits of the proposal? Is there some storage issue?
- Why not store the formatter to the original source?
- As it's feature that is somewhere planned in phabricator, it's better to keep the data.
- BTW, if redirects are possible, rather than using a third party redirector, I'd use the one on toolserver. --- Jura 11:08, 6 May 2020 (UTC)
- @Sannita, Epìdosis, ArthurPSmith, Jura1: In the meanwhile, property applies if regular expression matches (P8460) has been created, so I used it in this way (diff). --Horcrux (talk) 10:25, 19 March 2024 (UTC)
- @Horcrux: thanks, it seems a very good solution! Epìdosis 10:28, 19 March 2024 (UTC)