CiNii Books RDF for Libraries Format Specification
When you access to the following URI, you can obtain the data with RDF / XML format.
https://ci.nii.ac.jp/library/<LiblaryID>.rdf (ex: https://ci.nii.ac.jp/library/FA012943.rdf)
Content Negotiation is also acceptable. Even if RDF URI is not be specified, RDF will respond by recognition from HTTP header. In the Library Details Page of CiNii Books(For example: https://ci.nii.ac.jp/library/FA012943) specification of “application/rdf+xml” in Accept field of HTTP request header has much priority than any other specifications, it will induce automatically to RDF URI. "Access-Control-Allow-Origin*" is required on http header for response, and it is available to use asynchronous communication between cross domains.
Format Specification
No. | Tag name | Required | Content | Remarks | ||||
First level | Second level | Third level | Fourth level | Attribute | ||||
1 | xml | Required | Declare as XML document | <?xml version="1.0" encoding="utf-8" ?> | ||||
2 | rdf:RDF | Required | Document route element | <rdf:RDF | ||||
xmlns:rdf | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |||||||
xmlns:rdfs | xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | |||||||
xmlns:dc | xmlns:dc="http://purl.org/dc/elements/1.1/" | |||||||
xmlns:dcterms | xmlns:dcterms="http://purl.org/dc/terms/" | |||||||
xmlns:foaf | xmlns:foaf="http://xmlns.com/foaf/0.1/" | |||||||
xmlns:v | xmlns:v="http://www.w3.org/2006/vcard/ns#" | |||||||
xmlns:cinii | xmlns:cinii="http://ci.nii.ac.jp/ns/1.0/"> | |||||||
3 | foaf:Organization | Required | <rdf:Description rdf:about="https://ci.nii.ac.jp/library/FA123456#entity"> | |||||
4 | rdf:about | Required | URL of Library Details Page | "#entity" is added to URI in Library Details Page | ||||
5 | foaf:isPrimaryTopicOf | rdf:resource | Required | URI of Library Information RDF | <foaf:isPrimaryTopicOf rdf:resource="https://ci.nii.ac.jp/library/FA123456.rdf"/> | |||
6 | foaf:name | Required | Library name | |||||
7 | foaf:name | Interpretation of Library name | ||||||
8 | xml:lang | Required | Language of Library name | ko: Korean or ja-hrkt: Interpretation in Katakana characters | ||||
9 | dcterms:alternative | Required | Abbreviated library name | |||||
10 | dcterms:alternative | Interpretation of abbreviated name | ||||||
11 | xml:lang | Required | Interpretation of abbreviated name | ko: Korean or ja-hrkt: Interpretation in Katakana characters | ||||
12 | dcterms:hasPart | Location code | ||||||
13 | cinii:memberid | Required | Library ID | Library ID(FAID) | ||||
14 | cinii:organizationid | Required | Organization ID | KID | ||||
15 | cinii:prefcode | Required | Prefecture code | KENCODE. For the prefecture codes, see the participant record list (Written in Japanese) | ||||
16 | cinii:mextid | Library code by MEXT | LIBCODE | |||||
17 | cinii:catflag | Required | CAT Status | A: Participant, N: Not Participant | ||||
18 | cinii:illflag | Required | ILL Status | A: Participant, N: Not Participant | ||||
19 | cinii:copyservice | Required | Copy Service | A: Available, C: Conditionally Available, N: Not available | ||||
20 | cinii:loanservice | Required | Loan Service | A: Available, C: Conditionally Available, N: Not available | ||||
21 | cinii:faxservice | Required | FAX Service | A: Available, C: Conditionally Available, N: Not available | ||||
22 | cinii:illstatus | Required | ILL Service | A: Currently Available, N: Currently Not available | ||||
23 | rdf:type | rdf:resource | Required | Fixed-value (http://www.w3.org/2006/vcard/ns#VCard) | ||||
24 | v:fn | Required | Library Name | |||||
25 | v:adr | Required | ||||||
26 | rdf:parseType | Required | Fixed-value (Resource) | |||||
27 | v:postal-code | Required | Postal code | |||||
28 | v:label | Required | Address | |||||
29 | v:tel | Description of Phone Number | ||||||
30 | v:Tel | rdf:value | Required | Phone Number | ||||
31 | v:fax | Description of FAX Number | ||||||
32 | v:Fax | rdf:value | Required | FAX Number | ||||
33 | dc:description | Policy |