Property talk:P950

Latest comment: 3 years ago by Epìdosis in topic Restrictions should be expanded

Documentation

National Library of Spain ID
identifier from the authority file of the National Library of Spain. Format for persons: "XX" followed by 4 to 7 digits
DescriptionBNE identifier - Biblioteca Nacional de España (Q750403)
RepresentsBNE authority file (Q73504744)
Associated itemBiblioteca Nacional de España (Q750403), datos.bne.es (Q50358336)
Applicable "stated in" valuedatos.bne.es (Q50358336)
Has qualityVIAF component (Q26921380), prefix (Q23585486)
Data typeExternal identifier
Domaindocuments, persons, organizations (note: this should be moved to the property statements)
Allowed valuesXX\d{4,7}|a\d{4,7}|bima\d{10}|bimo\d{10}|bise\d{10}|bivi\d{10}|Mise\d{10}|Mimo\d{10}|Mima\d{10} (persons: "XX" followed by 4 to 7 digits; editions: "bima" or "bimo" followed by 10 digits; periodicals: "bise" followed by 10 digits)
ExampleAdam Mickiewicz (Q79822)XX852201 (RDF)
Sahel (Q66065)XX451354 (RDF)
Actas del II Congreso Internacional "El Estrecho de Gibraltar" (Q55183125)bimo0000459277 (RDF)
Formatter URLhttps://datos.bne.es/resource/$1
https://datos.bne.es/persona/$1.html
Tracking: usageCategory:Articles with BNE identifiers (Q18174793)
Related to country  Spain (Q29) (See 146 others)
See alsoLEM ID (P920)
Lists
Proposal discussionProposal discussion
Current uses
Total327,254
Main statement245,891 out of 1,269,276 (19% complete)75.1% of uses
Qualifier4<0.1% of uses
Reference81,35924.9% 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)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Manuel Molina Jiménez (Q19967341), Pericón de Cádiz (Q6072466), Manzanita (Q1587117), Camilo Sesto (Q1029506)
List of violations of this constraint: Database reports/Constraint violations/P950#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P950#Unique value, SPARQL (every item), SPARQL (by value)
Format “(XX|a)\d{4,7}|(bima|bimo|bica|bis[eo]|bivi|Mise|Mimo|Mima)\d{10}|: 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). Known exceptions: José María Domínguez Bécquer (Q28653637)
List of violations of this constraint: Database reports/Constraint violations/P950#Format, SPARQL
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/P950#Entity types
Scope is as main value (Q54828448), 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/P950#Scope, SPARQL
Label required in languages: es: Entities using this property should have labels in one of the following languages: es (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/P950#Label in 'es' language, search, SPARQL
 
Check periodical literature with the "bise" prefix
(Help)
Violations query: SELECT DISTINCT ?item WHERE { ?item wdt:P950 ?id. FILTER (substr(?id,0,5) = 'bise') MINUS { ?item wdt:P31/wdt:P279* wd:Q1002697 }. } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P950#Check periodical literature with the "bise" prefix
 
Check periodical literature with the "Mise" prefix
(Help)
Violations query: SELECT DISTINCT ?item WHERE { ?item wdt:P950 ?id. FILTER (substr(?id,0,5) = 'Mise') MINUS { ?item wdt:P31/wdt:P279* wd:Q1002697 }. } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P950#Check periodical literature with the "Mise" prefix
 
Check edition with the "bima" prefix
(Help)
Violations query: SELECT DISTINCT ?item WHERE { ?item wdt:P950 ?id. FILTER (substr(?id,0,5) = 'bima') MINUS { ?item wdt:P31 wd:Q3331189 }. } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P950#Check edition with the "bima" prefix
 
Check classes of elements having P31
(Help)
Violations query: SELECT DISTINCT ?item { ?item wdt:P950 [] . MINUS { VALUES ?classes { wd:Q5 wd:Q571 wd:Q811430 wd:Q46169 wd:Q43229 wd:Q486972 wd:Q34770 wd:Q9143 wd:Q11424 wd:Q1190554 wd:Q11344 wd:Q17537576 wd:Q16562419 wd:Q618123 wd:Q16521 wd:Q151885 wd:Q234460 wd:Q12136 wd:Q386724 wd:Q340169 wd:Q9081 wd:Q35120 wd:Q2235308 } . ?item wdt:P31/wdt:P279* ?classes . } . ?item wdt:P31 ?instance } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P950#Check classes of elements having P31
 

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



Actionable URL edit

Prefixing the identifier with http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id= yields display of the authority record at the BNE (linking by "Obras" to the actual library catalogue with an URL derived from the identifier, although presence of "works" is not guaranteed). Example Rabindranath Tagore -> http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id=XX924094. -- Gymel (talk) 07:36, 14 October 2013 (UTC)Reply

Thanks for this information! לערי ריינהארט (talk) 06:25, 15 October 2013 (UTC)Reply
Added to MediaWiki:Gadget-AuthorityControl.js. Tpt (talk) 11:33, 15 October 2013 (UTC)Reply

AuthorityControl.js and Property constraint issues - BNE identifier edit

See User talk:Tpt#MediaWiki:Gadget-AuthorityControl.js and Property constraint issues. לערי ריינהארט (talk) 06:56, 15 October 2013 (UTC)Reply

Database reports/Constraint violations/P950#Format listas all pages becase they all start with XX
Please change the regex to detect the mandatory prefix XX. If all values have the same lenght we should add a default / mandatory lenght of the diigit part of the string. Thanks! לערי ריינהארט (talk) 07:10, 16 October 2013 (UTC)Reply
  Done Tpt (talk) 07:41, 16 October 2013 (UTC)Reply

constraint report relating to Wikimedia disambiguation page (Q4167410) edit

If instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of National Library of Spain ID (P950) is prohibited

see: Wikimedia disambiguation page (Q4167410) with BNE identifier (P950) gangLeri לערי ריינהארט (talk) 16:33, 22 May 2014 (UTC)Reply

Help with Modul:Authority control for Slovenian Wikipedians edit

Our Modul:Authority_control contains funcion:

local function bneLink( id )
    return '[http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id=' .. id .. ' ' .. id .. ']' 
end

BNE property (id XX834035 for Albert Einstein; id XX451946 for Norway) is not working, because correct link is

Can anyone help me to correct this code? English template has the same error. Pinky sl (talk) 14:05, 15 October 2017 (UTC)Reply

Restrictions should be expanded edit

The BNE id covers also thesaurus subjects, for example XX541402 but applying into ammunition dump (Q2153495) you get a warning. I don't know how it should be fixed but I think it is required.

Olea (talk) 21:27, 10 July 2020 (UTC)Reply

@Olea: I've removed the type constraint, it contained so many classes that it was pretty useless and it also created wrong constraint violations such as this one. Bye, --Epìdosis 21:59, 10 July 2020 (UTC)Reply
Return to "P950" page.