Property talk:P349

From Wikidata
Jump to navigation Jump to search

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 countryJapan(Q17)(See 145 others)
See alsoNDL Bib ID(P1054),JPNO(P2687),NDL Persistent ID(P9836)
Lists
Proposal discussionProposal discussion
Current uses
Total166,331
Main statement162,912 out of 1,443,683 (11% complete)97.9% of uses
Qualifier4<0.1% of uses
Reference3,4152.1% of uses
Search for values
[createCreate a translatable help page (preferably in English) for this property to be included here]
Allowed entity types areWikibase 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 specifiedusingexception to constraint(P2303).
List of violations of this constraint:Database reports/Constraint violations/P349#Entity types
Scope isas 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 specifiedusingexception 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 specifiedusingexception 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 specifiedusingexception 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 specifiedusingexception to constraint(P2303).
List of violations of this constraint:Database reports/Constraint violations/P349#Single value,SPARQL
Qualifier:Item “end time(P582):novalue”:test: qualifier should use one of the values listed
Exceptions are possible as rare values may exist.Exceptions can be specifiedusingexception to constraint(P2303).
List of violations of this constraint:Database reports/Constraint violations/P349#One of qualifier value
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 specifiedusingexception to constraint(P2303).
List of violations of this constraint:Database reports/Constraint violations/P349#Label in 'ja' language,search,SPARQL


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 takeQ140694(Alexis de Tocqueville) as an example.

NDL identifier for Tocqueville is 00458854 (Seehttp://id.ndl.go.jp/auth/ndlna/00458854for the source.). The URLhttp://viaf.org/viaf/sourceID/NDL%7Cfollowed by an NDL identifier, i.e.http://viaf.org/viaf/sourceID/NDL%7C00458854in 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 takeQ140694(Alexis de Tocqueville; VIAF 66474207) as an example.

To get NDL number in a human readable way is trivial. By accessinghttp://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 accesseshttp://viaf.org/viaf/66474207/justlinks.jsonwith 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) (correctionF705i(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 returnsAlexis 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 ishttp://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 ofhtmltab,xml,json,plain,orphp_ser.Example queries areTocqueville’s year of birth in an HTML table formatandthe same in an XML format. The RDF model for NDL authority control data is described athttp://iss.ndl.go.jp/ndla/model/(only in Japanese); some example queries are given athttp://iss.ndl.go.jp/ndla/sparql/(only in Japanese). --F705i(talk)13:35, 14 October 2013 (UTC)[reply]

constraint report relating toWikimedia disambiguation page(Q4167410)

[edit]

Ifinstance of(P31)is aWikimedia disambiguation page(Q4167410)the presence ofNDL 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 propertyNDL identifiershould 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 useGadget-labelLister.jscan be activated atpreferences#gadgetsto 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).

Thanksin advance! gangLeriלערי ריינהארט(talk)21:28, 22 May 2014 (UTC)[reply]

Wrong regular expression

[edit]

NDL Authority ID(P349)ofCao Zhiyun(Q5034346)isa1100032495,which does not meet​0?\d{8}.--ThẩmTrừngTâm05:44, 23 May 2022 (UTC)[reply]

True. However, the vast majority matches0?\d{8}(only 3 exceptions in wikidata: 2 matcha11\d{8},1 matchs\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 ofWeb NDL Authorities,the identifier is called as "Điển 拠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]

Using with qualifiersstart time(P580)&end time(P582)

[edit]

Some editors qualifyNDL Authority ID(P349)statements withstart time(P580)&end time(P582)to indicate name changes of the real-world entity, but it is wrong in my opinion.

Mzaki(talk)17:28, 20 August 2024 (UTC)[reply]