Property talk:P349

Latest comment: 1 year ago by Mzaki in topic Japanese/English label for this property

Documentation

NDL Authority ID
identifier for authority control per the National Diet Library of Japan
Associated itemNational Diet Library (Q477675)
Applicable "stated in" valueWeb NDL Authorities (Q2553334)
Has qualityVIAF component (Q26921380)
Data typeExternal identifier
Template parameterja:Template:Normdaten: "NDL" - Template:Authority control (Q3907614)
Domainpersons, organisations, documents, objects... (note: this should be moved to the property statements)
Allowed values(a1|s)?[0-9]?\d{8}
Exampleiridium (Q877)00564222 (RDF)
John Norman (Q982133)00451456 (RDF)
Japanese Red Cross Society Kyoto Daiichi Hospital (Q11375654)00919922 (RDF)
Nineteen Eighty-Four (Q208460)001360828 (RDF)
SourceWeb NDL Authorities
Formatter URLhttps://id.ndl.go.jp/auth/ndlna/$1
https://id.ndl.go.jp/auth/ndlna/$1.json
Tracking: usageCategory:Articles with NDL identifiers (Q21655455)
Related to country  Japan (Q17) (See 148 others)
See alsoNDL Bib ID (P1054), JPNO (P2687), NDL Persistent ID (P9836)
Lists
Proposal discussionProposal discussion
Current uses
Total162,546
Main statement159,770 out of 1,393,931 (11% complete)98.3% of uses
Qualifier4<0.1% of uses
Reference2,7721.7% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P349#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/P349#Scope, SPARQL
Format “(a1|s)?[0-9]?\d{8}: 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/P349#Format, 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/P349#Unique value, SPARQL (every item), SPARQL (by value)
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).
List of violations of this constraint: Database reports/Constraint violations/P349#Single value, SPARQL
Label required in languages: ja: Entities using this property should have labels in one of the following languages: ja (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/P349#Label in 'ja' language, search, SPARQL
 

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


Note edit

"Web NDL Authorities" is the name of search service and not id or data itself. --fryed-peach (talk) 07:53, 19 April 2013 (UTC)Reply

NDL to VIAF edit

NDL identifiers (Property:P349) are convertible to VIAF identifiers (Property:P214) using a web service. We take Q140694 (Alexis de Tocqueville) as an example.

NDL identifier for Tocqueville is 00458854 (See http://id.ndl.go.jp/auth/ndlna/00458854 for the source.). The URL http://viaf.org/viaf/sourceID/NDL%7C followed by an NDL identifier, i.e. http://viaf.org/viaf/sourceID/NDL%7C00458854 in this case, redirects to a corresponding VIAF entry, http://viaf.org/viaf/66474207/ in this case. Hence, we find VIAF identifier matching NDL 00458854 for Tocqueville is 66474207. --F705i (talk) 12:06, 14 October 2013 (UTC)Reply

VIAF to NDL edit

VIAF identifiers (Property:P214) are now convertible to NDL identifiers (Property:P349) using a web service, since the National Diet Library of Japan is a participant in VIAF since October 2012. We take Q140694 (Alexis de Tocqueville; VIAF 66474207) as an example.

To get NDL number in a human readable way is trivial. By accessing http://viaf.org/viaf/66474207/ we find a link to NDL entry right next to the flag of Japan.

To get the NDL number in a more machine-friendly format is as follows. Suppose that your bot knows VIAF identifier for Tocqueville is 66474207. If your bot accesses http://viaf.org/viaf/66474207/justlinks.json with HTTP GET method, the following JSON is returned.

{ "viafID":"66474207",
    ...
    "NDL":["00458854"],
    ...}

Hence your bot finds NDL identifier corresponding VIAF 66474207 for Tocqueville is 00458854. --F705i (talk) 12:40, 14 October 2013 (UTC) (correction F705i (talk) 12:45, 14 October 2013 (UTC))Reply

SPARQL endpoint edit

The National Diet Library of Japan (NDL) offers a SPARQL endpoint. For example, the following SPARQL query to the endpoint returns Alexis de Tocqueville’s year of birth (The number 00458854 is the NDL identifier for him.).

PREFIX rda: <http://RDVocab.info/ElementsGr2/>
SELECT ?y WHERE {"http://id.ndl.go.jp/auth/entity/00458854" rda:dateOfBirth ?y.}

The endpoint URL is http://id.ndl.go.jp/auth/ndla/ (as of 2013). The query string must be as follows: query=⟨SPARQL in URL-encoded form⟩&output=⟨output format⟩ where ⟨output format⟩ must be any one of htmltab, xml, json, plain, or php_ser. Example queries are Tocqueville’s year of birth in an HTML table format and the same in an XML format. The RDF model for NDL authority control data is described at http://iss.ndl.go.jp/ndla/model/ (only in Japanese); some example queries are given at http://iss.ndl.go.jp/ndla/sparql/ (only in Japanese). --F705i (talk) 13:35, 14 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 NDL Authority ID (P349) is prohibited.

see: Wikimedia disambiguation page (Q4167410) with NDL identifier (P349) gangLeri לערי ריינהארט (talk) 15:31, 19 May 2014 (UTC)Reply

(cc: @Josve05a) Usualy there might be two possibilities:

a) please identify the non - ambiguation page (WD item) where the property NDL identifier should be moved;
"normally" no other statements should be left at the disambiguation page;
it can happen that a set of properties should be moved to another (a second) WD item, another set to a third WD item etc.
b) verify which language is a disambiguation page and separate it from the rest; please use Gadget-labelLister.js can be activated at preferences#gadgets to remove all faulty descriptions after the disambiguation page is separated (the languages are de, en, fr, es, pt, pt-br, ru, sv and possibly some others).

Thanks in advance! gangLeri לערי ריינהארט (talk) 21:28, 22 May 2014 (UTC)Reply

Wrong regular expression edit

NDL Authority ID (P349) of Cao Zhiyun (Q5034346) is a1100032495, which does not meet ​0?\d{8}. -- 05:44, 23 May 2022 (UTC)Reply

True. However, the vast majority matches 0?\d{8} (only 3 exceptions in wikidata: 2 match a11\d{8}, 1 match s\d{8}), so removing the constraint is not appropriate. It would be better to modify the matching pattern to include such cases, but I'm not sure what exactly is the ID scheme. Parhaps, (0?|a11|s)\d{8} ? Mzaki (talk) 08:25, 13 September 2022 (UTC)Reply

Japanese/English label for this property edit

In the web interface and the help documents of Web NDL Authorities, the identifier is called as "典拠ID" in Japanese[1] and "Authority ID" in English[2]. So, in my opinion, it is preferable that the labels for this property use these expressions. Mzaki (talk) 08:35, 13 September 2022 (UTC)Reply

Return to "P349" page.