Property talk:P349

Active discussions

Documentation

National Diet Library Auth ID
identifier for authority control per the National Diet Library of Japan
  Format “0?\d{8}|: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P349#Format, hourly updated report, SPARQL, SPARQL (new)
  Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), Wikimedia category (Q4167836), Wikimedia template (Q11266439), Wikimedia module (Q15184295): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P349#Conflicts with P31, SPARQL, SPARQL (new)
  Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P349#Unique value, SPARQL (every item), SPARQL (by value), SPARQL (new)
  Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P349#Single value, SPARQL, SPARQL (new)


 

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


NoteEdit

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

NDL to VIAFEdit

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)

VIAF to NDLEdit

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))

SPARQL endpointEdit

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)

constraint report relating to Wikimedia disambiguation page (Q4167410)Edit

If instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of National Diet Library Auth ID (P349) is prohibited.

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

(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)

Return to "P349" page.