{"id":820,"date":"2018-09-25T11:31:37","date_gmt":"2018-09-25T02:31:37","guid":{"rendered":"http:\/\/id.ndl.go.jp\/information\/?page_id=820"},"modified":"2025-08-29T12:00:26","modified_gmt":"2025-08-29T03:00:26","slug":"sparql-11","status":"publish","type":"page","link":"https:\/\/id.ndl.go.jp\/information\/sparql-11\/","title":{"rendered":"SPARQL 1.1\u306b\u3064\u3044\u3066"},"content":{"rendered":"<style>img {max-width: 650px;} fieldset{\/*border:none;*\/ padding: 1em; margin-bottom: 1em} .entry form {text-align: left} .example {background: #f3f3f3; padding: 0.1em 1em} p {margin: 1em 0} h3, h4 {margin: 2em 0 1em} #systemname {margin:0} h4 {font-size: 110%; font-weight: bold} textarea {font-size: 95%; padding: 0.3em; width: 100%; height: 10em} #note1 {color: #444} figcaption {text-align:center} table {width: 100%; border-collapse: collapse; } thead {background: #f3f3f3} th, td {border: 1px solid #333; padding: 0.5em} th {text-align:center} td.hilite, em {background: #ffffdd} em {font-style: normal; text-decoration: underline} br {display:none} .topnav {text-align: right} code {font-size: 100%} html>body .entry ul {padding-left: 40px}  div.utilmenu>p{margin:0} p.nakanavi:before {content: '\u25b2'; display: inline-block; width: 1em;  text-indent: 0;} .menu ol { counter-reset: section; } .menu li { list-style: none; display:block; } .menu ol>li:before { content : counters(section, '-') '. ';  counter-increment : section;}<\/style>\n<hr\/>\n<div class=\"menu\" style=\"padding: 10px; margin-bottom: 10px; border: 1px solid #A9A9A9;\">\n<ol>\n<li><a href=\"#sec1\">SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/a><\/li>\n<li><a href=\"#sec2\">\u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u3092\u7528\u3044\u308b<\/a><\/li>\n<li><a href=\"#sec3\">\u30b5\u30d6\u30af\u30a8\u30ea<\/a><\/li>\n<li><a href=\"#sec4\">\u5426\u5b9a\u8868\u73fe\u3068\u5909\u6570\u5272\u308a\u5f53\u3066<\/a><\/li>\n<\/ol>\n<\/div>\n<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u3001<a href=\"\/auth\/ndla\/sparql\"><abbr title=\"SPARQL Protocol and RDF Query Language\">SPARQL<\/abbr> 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/a>\u3067\u53ef\u80fd\u306b\u306a\u3063\u305f\u691c\u7d22\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<br \/>\n\u300c<a href=\"\/information\/sparql\/\">SPARQL\u306b\u3064\u3044\u3066<\/a>\u300d\u306b\u8a18\u8f09\u3057\u3066\u3044\u308b\u691c\u7d22\u306fSPARQL1.1\u3067\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002\u3088\u308a\u65b0\u3057\u3044\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3042\u308bSPARQL1.1\u3067\u306f\u3001SPARQL1.0\u3088\u308a\u3082\u591a\u304f\u306e\u7d50\u679c\u3092\u4e00\u5ea6\u306b\u5f97\u3089\u308c\u308b\u305f\u3081\u3001SPARQL1.1\u306b\u3088\u308b\u691c\u7d22\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<br \/>\n\u4fbf\u5229\u306a\u691c\u7d22\u4e8b\u4f8b\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"\/information\/sparql-11\/example\/\">SPARQL\u691c\u7d22\u30af\u30a8\u30ea\u4f8b<\/a>\u300d\u30da\u30fc\u30b8\u306b\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<section>\n<h3 id=\"sec1\">1. SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/h3>\n<div>SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/div>\n<div><code>https:\/\/id.ndl.go.jp\/auth\/ndla\/sparql<\/code><\/div>\n<div>1\u56de\u306b\u53d6\u5f97\u3067\u304d\u308b\u30c7\u30fc\u30bf\u4ef6\u6570\u306e\u4e0a\u9650\u306f\u30011,000\u4ef6\u3067\u3059\u3002<\/div>\n<div>\u8fd4\u623b\u5f62\u5f0f\u306f\u3001HTML\u5f62\u5f0f\u3001<abbr title=\"Terse RDF Triple Language\">Turtle<\/abbr>\u5f62\u5f0f\u3001<abbr title=\"JavaScript Object Notation\">JSON<\/abbr>\u5f62\u5f0f\u3001XML\u5f62\u5f0f\u3001CSV\u5f62\u5f0f\u304b\u3089\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/div>\n<div>SPARQL 1.1\u306b\u3088\u308b\u691c\u7d22\u306f\u3001\u6bce\u65e5\u5348\u524d4\u6642\u304b\u30895\u5206\u7a0b\u5ea6\u3001\u30c7\u30fc\u30bf\u66f4\u65b0\u306e\u305f\u3081\u3001\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u8a73\u7d30\u306f\u3001\u4ee5\u4e0b\u306e\u4ed5\u69d8\u66f8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/div>\n<ul>\n<li><a href=\"\/information\/wp-content\/uploads\/2023\/05\/api-spec.pdf\">Web NDL Authorities SPARQL API\u4ed5\u69d8\u66f8 2023\u5e743\u670831\u65e5\uff08PDF: 478KB\uff09<\/a><\/li>\n<li><a href=\"\/information\/wp-content\/uploads\/2023\/05\/api-spec-en.pdf\">Web NDL Authorities SPARQL API Specifications 2023-03-31(PDF: 498KB)<\/a><\/li>\n<\/ul>\n<div>\u307e\u305f\u3001\u4ee5\u4e0b\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/div>\n<ul>\n<li>\u30af\u30a8\u30ea\u4f8b\u306e\u8868\u793a <\/li>\n<li>\u30c6\u30fc\u30d6\u30eb\u5f62\u5f0f\u3001\u30b0\u30e9\u30d5\u56f3\uff08\u4e00\u90e8\u5bfe\u5fdc\u203b\uff09\u3001\u5fdc\u7b54\u5185\u5bb9\u306e\u8868\u793a\n<p>\u203bDESCRIBE\u30af\u30a8\u30ea\u3001CONSTRUCT\u30af\u30a8\u30ea  \u306e\u5834\u5408\u306b\u30b0\u30e9\u30d5\u56f3\u3092\u8868\u793a\u3002\u307e\u305fSEL ECT\u30af\u30a8\u30ea\u3067\u5909\u6570\u304c?s ?p ?o\u3067\u3042\u308b\u5834\u5408\u306b\u30b0\u30e9\u30d5\u56f3\u3092\u5207\u308a\u66ff\u3048\u8868\u793a\u53ef\u80fd\u3002<\/p>\n<\/li>\n<li>\u30af\u30a8\u30ea\u4f5c\u6210\u6642\u306e\u5165\u529b\u88dc\u52a9<\/li>\n<div>\u3053\u308c\u3089\u306e\u6a5f\u80fd\u306b\u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eSPARQL\u30b5\u30dd\u30fc\u30c8\u30c4\u30fc\u30ebYasgui\u3092 \u62e1\u5f35\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\n<\/div>\n<p><!--eos(3)--><\/section>\n<section>\n<h3 id=\"sec2\">2. \u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u3092\u7528\u3044\u308b<\/h3>\n<p>SPARQL 1.1\u3067\u306f\u3001\u8907\u6570\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u9023\u7d50\u3057\u305f\u300c\u30d1\u30b9\u69cb\u6587\u300d\u3092\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u306e\u8ff0\u8a9e\u90e8\u306b\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u7528\u3044\u308b\u3068SPARQL 1.0\u3067\u306f\u5fc5\u8981\u3060\u3063\u305f\u4e2d\u9593\u30ce\u30fc\u30c9\u3092\u7701\u7565\u3057\u3066\u7c21\u6f54\u306a\u30af\u30a8\u30ea\u306b\u307e\u3068\u3081\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<section>\n<h4 id=\"s2-1\">2-1. \u7c21\u6f54\u306a\u30d1\u30b9\u8a18\u8ff0\uff1a\uff08\u4f8b1\uff09\u500b\u4eba\u540d\u5178\u62e0\u306e\u95a2\u9023\u540d\u79f0\uff08\u5225\u540d\uff09<\/h4>\n<p>\u305f\u3068\u3048\u3070\u3001\u6c0f\u540d\uff08<code>foaf:name<\/code>\uff09\u304c\u300c\u4e2d\u5cf6\u6893\u300d\u3067\u3042\u308b\u5178\u62e0\u306e\u95a2\u9023\u540d\u79f0\uff08\u5225\u540d\uff09\uff08<code>ndl:anotherName<\/code>\uff09\u306b\u3042\u305f\u308b\u5178\u62e0\u3092\u8abf\u3079\u3001\u305d\u306e\u6c0f\u540d\u3092\u53d6\u308a\u51fa\u3059\u305f\u3081\u306b\u306f\u3001\u56f31\u306e\u3088\u3046\u306a\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n<figure>\n<img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2018\/08\/property-path1.png\" alt=\"\"\/><figcaption>\n<div style=\"text-align: center;\">\u56f31<\/div>\n<\/figcaption><\/figure>\n<p>SPARQL 1.0\u3067\u306f3\u3064\u306e\u4e2d\u9593\u30ce\u30fc\u30c9\u3092\u5909\u6570\u307e\u305f\u306f\u7a7a\u767d\u30ce\u30fc\u30c9\u3068\u3057\u3066\u793a\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001SPARQL 1.1\u3067\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u300c<code>\/<\/code>\u300d\u3067\u9023\u7d50\u3057\u305f\u300c\u30d1\u30b9\u300d\u3068\u3057\u3066\u7c21\u6f54\u306b\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u56f31\u306e\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3092\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u3092\u7528\u3044\u3066\u8a18\u8ff0\u3057\u305f\u30af\u30a8\u30ea\u306f\u3001\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n<label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\">PREFIX ndl: &lt;http:\/\/ndl.go.jp\/dcndl\/terms\/&gt;\r\nPREFIX foaf: &lt;http:\/\/xmlns.com\/foaf\/0.1\/&gt;\r\nSELECT * WHERE {\r\n    ?auth foaf:primaryTopic\/foaf:name &quot;\u4e2d\u5cf6\u6893&quot; ;\r\n        ndl:anotherName\/foaf:primaryTopic\/foaf:name ?another .\r\n}<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<div align=\"right\">\n<p class=\"nakanavi\"><a href=\"#header\">\u3053\u306e\u30da\u30fc\u30b8\u306e\u5148\u982d\u3078<\/a><\/p>\n<\/div>\n<p><!--eos(4)--><\/section>\n<section>\n<h4 id=\"s2-2\">2-2. \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u53cd\u5fa9\uff1a\uff08\u4f8b2\uff09\u4ef6\u540d\u6a19\u76ee\u306e\u4e0b\u4f4d\u8a9e\u306e\u4e0b\u4f4d\u8a9e<\/h4>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u306f\u3001\u30d1\u30b9\u306b\u542b\u307e\u308c\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u3059\u3079\u3066\u5217\u6319\u3057\u306a\u304f\u3066\u3082\u3001\u53cd\u5fa9\u3092\u793a\u3059\u300c<code>+<\/code>\u300d\u306a\u3069\u306e\u8a18\u53f7\u3092\u7528\u3044\u3066\u8868\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u300c\u4ef6\u540d\u6a19\u76ee\u300c\u6b74\u53f2\u300d\u306e\u4e0b\u4f4d\u8a9e\u300d\u307e\u305f\u306f\u300c\u300c\u6b74\u53f2\u300d\u306e\u4e0b\u4f4d\u8a9e\u306e\u4e0b\u4f4d\u8a9e\u300d\u306e\u3088\u3046\u306b\u3001\u300c\u6b74\u53f2\u300d\u306e\u4e0b\u4f4d\u306e\u6982\u5ff5\u306b\u3042\u305f\u308b\u4ef6\u540d\u6a19\u76ee\u3092\u3059\u3079\u3066\u8abf\u3079\u308b\u30af\u30a8\u30ea\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3067\u8868\u3059\u3068\u3001\u56f32\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure>\n<img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2018\/08\/property-path2.png\" alt=\"\"\/><figcaption>\n<div style=\"text-align: center;\">\u56f32<\/div>\n<\/figcaption><\/figure>\n<p>SPARQL 1.0\u3067\u306f\u3001\u60f3\u5b9a\u3055\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u3059\u3079\u3066\u5217\u6319\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u3042\u3089\u304b\u3058\u3081\u968e\u5c64\u306e\u6df1\u3055\u304c\u5206\u304b\u3089\u306a\u3044\u3068\u691c\u7d22\u3067\u304d\u307e\u305b\u3093\u3002\u4e00\u65b9\u3001SPARQL 1.1\u3067\u306f\u3001\u53cd\u5fa9\u8a18\u53f7\u300c<code>+<\/code>\u300d\u3092\u7528\u3044\u305f\u300c<code>skos:narrower+<\/code>\u300d\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u306b\u3088\u308a\u3001\u3053\u306e\u691c\u7d22\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n<label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre>\r\n<textarea name=\"query\">PREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nPREFIX rdfs: &lt;http:\/\/www.w3.org\/2000\/01\/rdf-schema#&gt;\r\nSELECT ?sub ?label WHERE {\r\n    ?top rdfs:label &quot;\u6b74\u53f2&quot; ;\r\n        skos:narrower+ ?sub .\r\n    ?sub rdfs:label ?label .\r\n}<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<p>\u300c<code>+<\/code>\u300d\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u300c1\u56de\u4ee5\u4e0a\u300d\u306e\u53cd\u5fa9\u3092\u8868\u3057\u307e\u3059\u3002\u300c0\u56de\u4ee5\u4e0a\u300d\u3092\u8868\u3059\u300c<code>*<\/code>\u300d\u3092\u30d1\u30b9\u306b\u7528\u3044\u308b\u3068\u3001\u300c<code>skos:narrower<\/code>\u300d\u304c0\u56de\u3001\u3059\u306a\u308f\u3061\u4e0b\u4f4d\u8a9e\u3092\u6301\u305f\u306a\u3044\u3082\u306e\uff08\u3053\u306e\u4f8b\u3067\u3044\u3048\u3070\u300c\u6b74\u53f2\u300d\uff09\u3082\u691c\u7d22\u7d50\u679c\u306b\u542b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div align=\"right\">\n<p class=\"nakanavi\"><a href=\"#header\">\u3053\u306e\u30da\u30fc\u30b8\u306e\u5148\u982d\u3078<\/a><\/p>\n<\/div>\n<p><!--eos(4)--><\/section>\n<section>\n<h4 id=\"s2-3\">2-3. \u30d7\u30ed\u30d1\u30c6\u30a3\u306eOR\uff1a\uff08\u4f8b3\uff09\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u307e\u305f\u306f\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb<\/h4>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3A\u3068\u30d7\u30ed\u30d1\u30c6\u30a3B\u3092\u300c<code>|<\/code>\u300d\u3067\u9023\u7d50\u3057\u3066\u300c<code>A | B<\/code>\u300d\u3068\u8a18\u8ff0\u3059\u308b\u3068\u3001A\u307e\u305f\u306fB\u306e\u3044\u305a\u308c\u304b\u3092\u6301\u3064\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3092\u4e00\u5ea6\u306b\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<code>()<\/code>\u3067\u56f2\u3080\u3068\u3001\u3055\u3089\u306b\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30d1\u30b9\u3068\u3057\u3066\u9023\u7d50\u53ef\u80fd\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u56f33\u306e\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u300c\u500b\u4eba\u540d\u5178\u62e0\u306e\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\uff08<code>xl:prefLabel<\/code>\uff09\u307e\u305f\u306f\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb\uff08<code>xl:altLabel<\/code>\uff09\u306b\u3042\u305f\u308b\u540d\u524d\u300d\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure>\n<img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2018\/08\/property-path3.png\" alt=\"\"\/><figcaption>\n<div style=\"text-align: center;\">\u56f33<\/div>\n<\/figcaption><\/figure>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u3092\u7528\u3044\u308b\u3068\u3001\u300c\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u307e\u305f\u306f\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb\u300d\uff08\u56f33\u306e\u300cOR\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\uff09\u3092\u300c<code>(xl:prefLabel|xl:altLabel)\/xl:literalForm<\/code>\u300d\u3068\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u307e\u305f\u306f\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb\u306e\u540d\u5b57\u304c\u300c\u897f\u90f7\u300d\u3067\u3042\u308b\u3082\u306e\u3092\u8abf\u3079\u308b\u5834\u5408\u3001\u3053\u306e\u30d1\u30b9\u3092\u7528\u3044\u308c\u3070\u3001\u7d5e\u308a\u8fbc\u307f\u6761\u4ef6\uff08<code>FILTER<\/code>\uff09\u306f1\u3064\u3067\u3059\u307f\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n        <label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\" style=\"height:12em\">PREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nPREFIX xl: &lt;http:\/\/www.w3.org\/2008\/05\/skos-xl#&gt;\r\nPREFIX foaf: &lt;http:\/\/xmlns.com\/foaf\/0.1\/&gt;\r\nSELECT * WHERE {\r\n    ?auth skos:inScheme &lt;http:\/\/id.ndl.go.jp\/auth#personalNames&gt; ;\r\n         (xl:prefLabel|xl:altLabel)\/xl:literalForm ?label .\r\n    FILTER (regex(?label, &quot;^\u897f\u90f7,&quot;))\r\n    ?auth foaf:primaryTopic\/foaf:name ?name .\r\n}<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<div align=\"right\">\n<p class=\"nakanavi\"><a href=\"#header\">\u3053\u306e\u30da\u30fc\u30b8\u306e\u5148\u982d\u3078<\/a><\/p>\n<\/div>\n<p><!--eos(4)--><\/section>\n<p><!--eos(3)--><\/section>\n<section>\n<h3 id=\"sec3\">3. \u30b5\u30d6\u30af\u30a8\u30ea<\/h3>\n<p>SPARQL 1.1\u3067\u306f\u30011\u3064\u306e\u30af\u30a8\u30ea\u306e\u7d50\u679c\u30bb\u30c3\u30c8\u3092\u5229\u7528\u3057\u3066\u5225\u306e\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u30b5\u30d6\u30af\u30a8\u30ea\u306e\u6a5f\u80fd\u304c\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306f<code>SELECT<\/code>\u53e5\u3092\u5165\u308c\u5b50\u306b\u3057\u305f\u30af\u30a8\u30ea\u3068\u3057\u3066\u8a18\u8ff0\u3057\u307e\u3059\u3002\u5185\u5074\u306e<code>SELECT<\/code>\u53e5\u304c\u30b5\u30d6\u30af\u30a8\u30ea\u3068\u306a\u3063\u3066\u5148\u306b\u5b9f\u884c\u3055\u308c\u3001\u305d\u306e\u7d50\u679c\u3092\u7528\u3044\u3066\u5916\u5074\u306e<code>SELECT<\/code>\u53e5\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<section>\n<h4 id=\"s3-1\">3-1. \uff08\u4f8b4\uff09\u4ef6\u540d\u6a19\u76ee\u3068\u305d\u306e\u4e0a\u4f4d\u8a9e\u306b\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u306e\u6570<\/h4>\n<p>\u305f\u3068\u3048\u3070<\/p>\n<ol>\n<li>\u65e5\u672c\u5341\u9032\u5206\u985e\u6cd5\uff08<abbr title=\"Nippon Decimal Classification\">NDC<\/abbr>\uff09\u7b2c10\u7248\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304c4\u3064\u4ee5\u4e0a\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u4ef6\u540d\u6a19\u76ee\u3092\u9078\u3073\u3001<\/li>\n<li>\u305d\u306e\u4e0a\u4f4d\u8a9e\u306e\u4ef6\u540d\u6a19\u76ee\u306bNDC10\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304c\u3044\u304f\u3064\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u304b\u8abf\u3079\u308b <\/li>\n<\/ol>\n<p>\u3068\u3044\u3046\u30af\u30a8\u30ea\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002\u3053\u306e\u30af\u30a8\u30ea\u3092\u8868\u3057\u305f\u306e\u304c\u3001\u56f34\u3067\u3059\u3002<\/p>\n<figure>\n<img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2018\/09\/ndc10-super.png\" alt=\"\"\/><figcaption>\n<div style=\"text-align: center;\">\u56f34<\/div>\n<\/figcaption><\/figure>\n<p>\u4e0a\u8a18\u306e\u30af\u30a8\u30ea\u306e\u5834\u5408\u306f1.\u304c\u30b5\u30d6\u30af\u30a8\u30ea\u3068\u306a\u308a\u3001\u305d\u306e\u7d50\u679c\u3092\u5143\u306b2.\u306e\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u30021.\u306e\u300c4\u3064\u4ee5\u4e0a\u300d\u3068\u3044\u3046\u6761\u4ef6\u306f<code>HAVING<\/code>\u53e5\u306b\u3088\u3063\u3066\u793a\u3057\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n        <label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\" style=\"height:15em\">PREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nSELECT ?auth ?rcount ?upper (count(?srel) as ?srcount) WHERE {\r\n    ?auth skos:broader ?upper.\r\n    ?upper skos:relatedMatch ?srel .\r\n    FILTER (regex(?srel, &quot;^http:\/\/id.ndl.go.jp\/class\/ndc10\/&quot;))\r\n    {\r\n        SELECT ?auth (count(?rel) as ?rcount) WHERE {\r\n            ?auth skos:relatedMatch ?rel .\r\n            FILTER (regex(?rel, &quot;^http:\/\/id.ndl.go.jp\/class\/ndc10\/&quot;))\r\n        } GROUP BY ?auth HAVING(count(?rel) &gt;= 4)\r\n    }\r\n} ORDER BY DESC(?rcount) DESC(?srcount)<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<p><!--eos(4)--><\/section>\n<section>\n<h4 id=\"s3-2\">3-2. \uff08\u4f8b5\uff09\u4e0a\u4f4d\u8a9e\u306e\u4ef6\u6570\u3054\u3068\u306e\u4ef6\u540d\u6a19\u76ee\u306e\u6570<\/h4>\n<p>\u4eca\u5ea6\u306f<\/p>\n<ol>\n<li>\u4ef6\u540d\u6a19\u76ee\u3092\u3001\u305d\u306e\u4e0a\u4f4d\u8a9e\u306e\u4ef6\u6570\u3054\u3068\u306b\u5206\u3051\u3001 <\/li>\n<li>\u4ef6\u6570\u3054\u3068\u306b\u4ef6\u540d\u6a19\u76ee\u304c\u3044\u304f\u3064\u3042\u308b\u304b\u3092\u8abf\u3079\u308b <\/li>\n<\/ol>\n<p>\u3068\u3044\u3046\u30af\u30a8\u30ea\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u306b\u3088\u308b\u691c\u7d22\u306f1.\u306e\u30b5\u30d6\u30af\u30a8\u30ea\u3060\u3051\u3067\u30012.\u306f\u305d\u306e\u96c6\u8a08\u7d50\u679c\u3092\u7528\u3044\u3066\u5225\u306e\u96c6\u8a08\u3092\u884c\u3046\u30af\u30a8\u30ea\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n        <label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\">PREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nSELECT ?num_uppers (count(?auth) as ?count) WHERE {\r\n    {\r\n        SELECT ?auth (count(?upper) as ?num_uppers) WHERE {\r\n            ?auth skos:broader ?upper .\r\n        } GROUP BY ?auth\r\n    }\r\n} ORDER BY ASC(?num_uppers)<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<p>\u30b5\u30d6\u30af\u30a8\u30ea\u306f\u3001\u5185\u5074\u306e\u30af\u30a8\u30ea\u7d50\u679c\u3059\u3079\u3066\u306b\u5bfe\u3057\u3066\u5916\u5074\u306e\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u306e\u3067\u3001\u975e\u5e38\u306b\u9ad8\u8ca0\u8377\u306a\u30af\u30a8\u30ea\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u6050\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u5185\u5074\u306e\u30af\u30a8\u30ea\u7d50\u679c\u304c\u591a\u3044\u5834\u5408\u3001\u305d\u308c\u306b\u4f34\u3063\u3066\u8ca0\u8377\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<div align=\"right\">\n<p class=\"nakanavi\"><a href=\"#header\">\u3053\u306e\u30da\u30fc\u30b8\u306e\u5148\u982d\u3078<\/a><\/p>\n<\/div>\n<p><!--eos(4)--><\/section>\n<p><!--eos(3)--><\/section>\n<section>\n<h3 id=\"sec4\">4. \u5426\u5b9a\u8868\u73fe\u3068\u5909\u6570\u5272\u308a\u5f53\u3066<\/h3>\n<p><code>NOT EXISTS<\/code>\u3092\u7528\u3044\u305f\u5426\u5b9a\u6761\u4ef6\u306e\u8868\u73fe\u3068\u3001<code>BIND<\/code>\u3092\u7528\u3044\u305f\u5909\u6570\u3078\u306e\u5024\u306e\u5272\u308a\u5f53\u3066\u3092\u7d39\u4ecb\u3057\u3001\u3053\u308c\u3089\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u3084\u3084\u8907\u96d1\u306a\u5fdc\u7528\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<section>\n<h4 id=\"s4-1\">4-1. \u5426\u5b9a\uff1a\uff08\u4f8b6\uff09\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb\u3092\u6301\u305f\u306a\u3044\u5178\u62e0<\/h4>\n<p>SPARQL 1.1\u3067\u306f<code>NOT EXISTS<\/code>\u3092\u7528\u3044\u3066\u300c\u3042\u308b\u30d1\u30bf\u30fc\u30f3\u304c\u5b58\u5728\u3057\u306a\u3044\u300d\u3068\u3044\u3046\u6761\u4ef6\uff08<code>FILTER<\/code>\uff09\u3092\u52a0\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u300c\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb\u300d\u3092<strong>\u6301\u305f\u306a\u3044<\/strong>\u5178\u62e0\u30c7\u30fc\u30bf\u306e\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3092\u8abf\u3079\u305f\u3044\u5834\u5408\u306f\u3001\u5178\u62e0\u30c7\u30fc\u30bf\u306e\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\uff08<code>xl:prefLabel<\/code>\uff09\u3092\u5f97\u308b\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u306b\u3001\u5225\u540d\/\u5225\u30bf\u30a4\u30c8\u30eb\uff08<code>xl:altLabel<\/code>\uff09\u3092\u5426\u5b9a\u3059\u308b\u6761\u4ef6\u3092\u52a0\u3048\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n        <label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\">PREFIX xl: &lt;http:\/\/www.w3.org\/2008\/05\/skos-xl#&gt;\r\nSELECT * WHERE {\r\n    ?auth xl:prefLabel\/xl:literalForm ?preflabel .\r\n    FILTER NOT EXISTS {?auth xl:altLabel ?alt}\r\n} LIMIT 100<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<p><!--eos(4)--><\/section>\n<section>\n<h4 id=\"s4-2\">4-2. \u5909\u6570\u5272\u308a\u5f53\u3066\uff1a\uff08\u4f8b7\uff09\u500b\u4eba\u540d\u5178\u62e0\uff08\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\uff09\u3067\u51fa\u73fe\u983b\u5ea6\u306e\u9ad8\u3044\u540d\u5b57\u30c8\u30c3\u30d710<\/h4>\n<p>SPARQL 1.0\u3067\u306f\u3001\u5909\u6570\u306f\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u4e2d\u306e\u30ce\u30fc\u30c9\u307e\u305f\u306f\u30a2\u30fc\u30af\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\uff09\u306b\u5bfe\u5fdc\u3059\u308b\u5024\u306b\u3057\u304b\u7528\u3044\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001SPARQL 1.1\u3067\u306f<code>BIND<\/code>\u306b\u3088\u3063\u3066\u4efb\u610f\u306e\u5024\u3092\u5909\u6570\u306b\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u500b\u4eba\u540d\u5178\u62e0\u306e\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306f\u59d3\u540d\u304c\u30b3\u30f3\u30de\u304a\u3088\u3073\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u691c\u7d22\u3057\u305f\u5178\u62e0\u30c7\u30fc\u30bf\u304b\u3089\u540d\u5b57\u3092\u8abf\u3079\u308b\uff08\u95a2\u6570<code>strbefore<\/code>\u3092\u7528\u3044\u3066\u30b3\u30f3\u30de\u306e\u524d\u306e\u6587\u5b57\u5217\u3092\u53d6\u5f97\u3059\u308b\uff09\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u3092\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3067\u793a\u3059\u3068\u3001\u56f35\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure>\n<img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2018\/08\/bind.png\" alt=\"\"\/><figcaption>\n<div style=\"text-align: center;\">\u56f35<\/div>\n<\/figcaption><\/figure>\n<p>\u3053\u306e\u7d50\u679c\u3092\u5909\u6570\u306b\u5272\u308a\u5f53\u3066\u3066\u3001\u500b\u4eba\u540d\u5178\u62e0\u306e\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306b\u51fa\u73fe\u3059\u308b\u983b\u5ea6\u306e\u9ad8\u3044\u540d\u5b57\u30c8\u30c3\u30d710\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30af\u30a8\u30ea\u306b\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n        <label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\">PREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nPREFIX xl: &lt;http:\/\/www.w3.org\/2008\/05\/skos-xl#&gt;\r\nSELECT ?surname (count(?surname) as ?count) WHERE {\r\n    ?auth skos:inScheme &lt;http:\/\/id.ndl.go.jp\/auth#personalNames&gt; ;\r\n        xl:prefLabel\/xl:literalForm ?preflabel .\r\n    BIND (strbefore(?preflabel, &quot;,&quot;) as ?surname)\r\n    FILTER (?surname != &quot;&quot;)\r\n} GROUP BY ?surname ORDER BY DESC(?count) LIMIT 10<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<div align=\"right\">\n<p class=\"nakanavi\"><a href=\"#header\">\u3053\u306e\u30da\u30fc\u30b8\u306e\u5148\u982d\u3078<\/a><\/p>\n<\/div>\n<p><!--eos(4)--><\/section>\n<section>\n<h4 id=\"s4-3\">4-3. \u5426\u5b9a\u3068\u5272\u308a\u5f53\u3066\u306e\u5fdc\u7528\uff1a\uff08\u4f8b8\uff09\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304cNDC\u7b2c9\u7248\u3068\u7b2c10\u7248\u3067\u5909\u308f\u3063\u305f\u4ef6\u540d\u6a19\u76ee<\/h4>\n<p>\u5426\u5b9a\u8868\u73fe\u3068\u5909\u6570\u5272\u308a\u5f53\u3066\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u300cNDC\u7b2c9\u7248\uff08NDC9\uff09\u3068\u7b2c10\u7248\uff08NDC10\uff09\u3067\u3001\u7b2c\u4e8c\u6b21\u533a\u5206\uff08\u7db1\u76ee\uff09\u4ee5\u4e0b\u304c\u7570\u306a\u308b\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u4ef6\u540d\u6a19\u76ee\u3092\u8abf\u3079\u308b\u300d\u3068\u3044\u3063\u305f\u30af\u30a8\u30ea\u3092\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002\u8907\u96d1\u306a\u306e\u3067\u3001\u9806\u3092\u8ffd\u3063\u3066\u7d44\u307f\u7acb\u3066\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><strong id=\"step-1\">Step 1<\/strong>: \u307e\u305a\u5178\u62e0\u30c7\u30fc\u30bf\u306b\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308bNDC9\u3068NDC10\u306e\u5206\u985e\u8a18\u53f7\uff08<code>skos:relatedMatch<\/code>\uff09\u3092\u8abf\u3079\u307e\u3059\u3002\u5206\u985e\u8a18\u53f7\u306fNDC\u3060\u3051\u3067\u306a\u304f\u56fd\u7acb\u56fd\u4f1a\u56f3\u66f8\u9928\u5206\u985e\u8868\uff08<abbr title=\"National Diet Library Classification\">NDLC<\/abbr>\uff09\u3082\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u4e2d\u304b\u3089NDC9\u3068NDC10\u3060\u3051\u3092\u3001<abbr title=\"Uniform Resource Identifier\">URI<\/abbr>\u306e\u6b63\u898f\u8868\u73fe\u306b\u3088\u3063\u3066\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<div class=\"example\">\n<pre><code>SELECT ?auth ?label ?ndc9 ?ndc10 WHERE {\r\n    ?auth rdfs:label ?label;\r\n        skos:relatedMatch ?rel;\r\n        skos:relatedMatch ?rel2.\r\n    FILTER (regex(str(?rel), &quot;^http:\/\/id.ndl.go.jp\/class\/ndc9\/&quot;))\r\n    FILTER (regex(str(?rel2), &quot;^http:\/\/id.ndl.go.jp\/class\/ndc10\/&quot;))\r\n}\r\n<\/code><\/pre>\n<p><!--eoc(example)--><\/div>\n<p><strong id=\"step-2\">Step 2<\/strong>: \u5909\u6570<code>?rel<\/code>\u3068<code>?rel2<\/code>\u306e\u5024\u306fURI\u306a\u306e\u3067\u3001\u3053\u3053\u304b\u3089\u5206\u985e\u8a18\u53f7\u306e\u307f\u3092\u53d6\u308a\u51fa\u3057\u3066\uff08\u95a2\u6570<code>strafter<\/code>\u3092\u7528\u3044\u3066\u300cndc9\/\u300d\u3068\u300cndc10\/\u300d\u306e\u5f8c\u306e\u6587\u5b57\u5217\u3092\u305d\u308c\u305e\u308c\u53d6\u5f97\u3059\u308b\uff09\u3001\u5225\u306e\u5909\u6570\u306b\u305d\u308c\u305e\u308c\u5272\u308a\u5f53\u3066\u307e\u3059\u3002<\/p>\n<div class=\"example\">\n<pre><code>    BIND (strafter(str(?rel), &quot;ndc9\/&quot;) as ?ndc9)\r\n    BIND (strafter(str(?rel2), &quot;ndc10\/&quot;) as ?ndc10)\r\n<\/code><\/pre>\n<p><!--eoc(example)--><\/div>\n<p><strong id=\"step-3\">Step 3<\/strong>: \u300cNDC9\u3068NDC10\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304c\u5909\u308f\u3063\u305f\u300d\u3068\u3044\u3046\u3053\u3068\u306f\u300c\u3042\u308b\u5178\u62e0\u306eNDC9\u3068\u5206\u985e\u8a18\u53f7\u304c\u540c\u3058\u3067\u3042\u308bNDC10\u304c\u3001\u540c\u4e00\u5178\u62e0\u306e<code>skos:relatedMatch<\/code>\u306e\u5024\u306b\u306a\u3044\u300d\u3068\u8a00\u3044\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u6761\u4ef6\u306b\u8a72\u5f53\u3059\u308b\u5178\u62e0\u30c7\u30fc\u30bf\u3092\u8abf\u3079\u308b\u305f\u3081\u306b\u3001<\/p>\n<ol>\n<li>\u300cNDC9\u306e\u5206\u985e\u8a18\u53f7\u3092NDC10\u306e\u57fa\u5e95URI \uff08http:\/\/id.ndl.go.jp\/class\/ndc10\/\uff09\u3068\u7d44\u307f\u5408\u308f\u305b\u305f\u5024\uff08\u3064\u307e\u308aNDC9\u3068\u5206\u985e\u8a18\u53f7\u304c\u540c\u3058\u3067\u3042\u308bNDC10\uff09\u300d\u3092\u5909\u6570<code>?ndc9as10<\/code>\u3068\u3057\u3066\u5272\u308a\u5f53\u3066\uff08<code>BIND<\/code>\uff09\u3001<\/li>\n<li>\u305d\u306e\u5909\u6570\u304c<code>skos:relatedMatch<\/code>\u306e\u76ee\u7684\u8a9e\u306b\u306a\u308b\u30d1\u30bf\u30fc\u30f3\uff08\u4ee5\u4e0b\u201c9as10\u30d1\u30bf\u30fc\u30f3\u201d\uff09\u306b\u306f\u30de\u30c3\u30c1<strong>\u3057\u306a\u3044<\/strong>\uff08<code>NOT EXISTS<\/code>\uff09\u3068\u3044\u3046<code>FILTER<\/code>\u3092\u8a2d\u5b9a\u3059\u308b<\/li>\n<\/ol>\n<p>\u3068\u3044\u3046\u624b\u9806\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"example\">\n<pre><code>    BIND (IRI(concat(&quot;http:\/\/id.ndl.go.jp\/class\/ndc10\/&quot;, ?ndc9)) as ?ndc9as10)\r\n    FILTER NOT EXISTS {?auth skos:relatedMatch ?ndc9as10}\r\n<\/code><\/pre>\n<p><!--eoc(example)--><\/div>\n<p><strong id=\"step-4\">Step 4<\/strong>: \u5178\u62e0\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304cNDC9\u3001NDC10\u305d\u308c\u305e\u308c1\u3064\u3067\u3042\u308b\u5834\u5408\u306f\u4ee5\u4e0a\u306e\u6761\u4ef6\u3067\u300cNDC9\u3068NDC10\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304c\u5909\u308f\u3063\u305f\u300d\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u540c\u3058\u5206\u985e\u8868\u306e\u5206\u985e\u8a18\u53f7\u304c\u8907\u6570\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u3055\u3089\u306b\u7d44\u307f\u5408\u308f\u305b\u306e\u691c\u8a0e\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u4ef6\u540d\u6a19\u76ee\u300c<a href=\"\/auth\/ndlsh\/00572891\">\u30c6\u30ec\u30d3\u30c9\u30e9\u30de<\/a>\u300d\u306b\u5bfe\u3059\u308bNDC9\u306e778.8\uff08\u30c6\u30ec\u30d3\u6f14\u5287\uff0e\u653e\u9001\u5287\uff09\u3068901.27\uff08\u30b7\u30ca\u30ea\u30aa\uff0e\u653e\u9001\u30c9\u30e9\u30de\uff09\u3084\u3001\u4ef6\u540d\u6a19\u76ee\u300c<a href=\"\/auth\/ndlsh\/00566954\">\u30af\u30a4\u30ba<\/a>\u300d\u306b\u5bfe\u3059\u308bNDC9\u306e031.7\uff08\u30af\u30a4\u30ba\u96c6\uff0e\u306a\u305e\u306a\u305e\u96c6\uff09\u3068798\uff08\u5ba4\u5185\u5a2f\u697d\uff09\u306a\u3069\u304c\u305d\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u300c\u30c6\u30ec\u30d3\u30c9\u30e9\u30de\u300d\u306fNDC10\u3082\u540c\u3058\u5206\u985e\u8a18\u53f7\uff08778.8\u3068901.27\uff09\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4e0a\u8a18\u306b\u3088\u308b\u6bd4\u8f03\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\uff08\u3069\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3082\u201c9as10\u30d1\u30bf\u30fc\u30f3\u201d\u306b\u30de\u30c3\u30c1\u3059\u308b\u305f\u3081\u3001FILTER\u3067\u5374\u4e0b\u3055\u308c\u308b\uff1d\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u306f\u5909\u308f\u3063\u3066\u3044\u306a\u3044\uff09\u3002\u4e00\u65b9\u3001\u300c\u30af\u30a4\u30ba\u300d\u3067\u306fNDC9\u306e<em>798<\/em>\u304cNDC10\u3067<em>798.3<\/em>\u306b\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u306e\u4e0a\u8a18\u30af\u30a8\u30ea\u306e\u30d5\u30a3\u30eb\u30bf\u7d50\u679c\u3092\u8868\u306b\u3057\u3066\u8003\u3048\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff08\u300c\u5bfeNDC10\u300d\u306f\u3001\u300c\u30af\u30a4\u30ba\u300d\u306e2\u3064\u306eNDC10\u306e\u3046\u3061\u3001<a href=\"#step-2\">Step 2<\/a>\u306e\u30d1\u30bf\u30fc\u30f3\u3067<code>?ndc10<\/code>\u306b\u30de\u30c3\u30c1\u3057\u306a\u304b\u3063\u305f\u65b9\u306e\u5024\uff09\u3002<\/p>\n<table summary=\"\u3053\u306e\u8868\u306f\u4ef6\u540d\u6a19\u76ee\u300c\u30af\u30a4\u30ba\u300d\u306b\u4ed8\u4e0e\u3055\u308c\u305fNDC9\u3068NDC10\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u306e\u7d44\u307f\u5408\u308f\u305b\u6bd4\u8f03\u7d50\u679c\u3092\u8868\u3057\u3066\u3044\u307e\u3059\">\n<caption>\u8868\uff1a\u300c\u30af\u30a4\u30ba\u300d\u306eNDC9\u3068NDC10\u306e\u7d44\u307f\u5408\u308f\u305b\u3068Step 3\u306e\u30d5\u30a3\u30eb\u30bf\u7d50\u679c<\/caption>\n<thead>\n<tr>\n<th>#<\/th>\n<th>?ndc9<\/th>\n<th>?ndc10<\/th>\n<th>\u5bfeNDC10<\/th>\n<th>\u30d5\u30a3\u30eb\u30bf<\/th>\n<th>\u5224\u5b9a\u304c\u6b63\u3057\u3044\u304b\u3069\u3046\u304b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>1<\/th>\n<td>031.7<\/td>\n<td>031.7<\/td>\n<td>798.3<\/td>\n<td>\u5374\u4e0b<\/td>\n<td>\u25cb\uff1d?ndc10\u304c?ndc9as10\u3068\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<th>2<\/th>\n<td>031.7<\/td>\n<td>798.3<\/td>\n<td>031.7<\/td>\n<td>\u5374\u4e0b<\/td>\n<td>\u25cb\uff1d\u5bfeNDC10\u304c?ndc9as10\u3068\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<th>3<\/th>\n<td class=\"hilite\">798<\/td>\n<td class=\"hilite\">798.3<\/td>\n<td>031.7<\/td>\n<td>\u30d1\u30b9<\/td>\n<td>\u25cb\uff1dNDC9\u3068NDC10\u3067\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u5909\u66f4<\/td>\n<\/tr>\n<tr>\n<th>4<\/th>\n<td>798<\/td>\n<td>031.7<\/td>\n<td>798.3<\/td>\n<td>\u30d1\u30b9<\/td>\n<td>\u00d7\uff1d?ndc10\u3092?ndc9\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u5909\u66f4\u3068\u8aa4\u5224\u5b9a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30d5\u30a3\u30eb\u30bf\u306e\u7d50\u679c\u306f\u3001<a href=\"#step-3\">Step 3<\/a>\u306e\u65b9\u6cd5\u3067\u751f\u6210\u3057\u305f<code>?ndc9as10<\/code>\uff08\u5206\u985e\u8a18\u53f7\u306f<code>?ndc9<\/code>\u3068\u540c\u3058\uff09\u304c<\/p>\n<ul>\n<li><code>?ndc10<\/code>\u307e\u305f\u306f\u300c\u5bfeNDC10\u300d\u306e\u3044\u305a\u308c\u304b\u306b\u4e00\u81f4\u3059\u308c\u3070\u3001\u201c9as10\u30d1\u30bf\u30fc\u30f3\u201d\u306b\u30de\u30c3\u30c1\uff1d\u5374\u4e0b<\/li>\n<li>\u3044\u305a\u308c\u306b\u3082\u4e00\u81f4\u3057\u306a\u3051\u308c\u3070\u201c9as10\u30d1\u30bf\u30fc\u30f3\u201d\u306b\u306f\u30de\u30c3\u30c1\u305b\u305a\u3001<code>NOT EXISTS<\/code>\u304c\u6210\u7acb\uff1d\u30d1\u30b9<\/li>\n<\/ul>\n<p>\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<a href=\"#step-3\">Step 3<\/a>\u3067\u306f\u3001\u3053\u308c\u3092\u30d1\u30b9\u3059\u308c\u3070<code>?ndc9<\/code>\u3068<code>?ndc10<\/code>\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u300cNDC9\u3068NDC10\u306e\u4ee3\u8868\u5206\u985e\u8a18\u53f7\u304c\u5909\u308f\u3063\u305f\u300d\u3082\u306e\u306b\u5f53\u305f\u308b\u3088\u3046\u306b\u3068\u3001\u6761\u4ef6\u3092\u8003\u3048\u307e\u3057\u305f\u3002<\/p>\n<p>\u8868\u3092\u898b\u308b\u3068\u3001\u6b63\u3057\u304f\u5224\u5b9a\u3055\u308c\u3001NDC9\u3068NDC10\u306e\u9055\u3044\u3068\u3057\u3066\u30d5\u30a3\u30eb\u30bf\u3092\u30d1\u30b9\u3057\u305f\u306e\u306f\u3001\u300a\u7d44\u307f\u5408\u308f\u305b#3\u300b\u306e798\u2192798.3\u3060\u3051\u3067\u3059\u3002\u4e0a\u306e\u6761\u4ef6\u3060\u3051\u3067\u306f\u3001\u300a\u7d44\u307f\u5408\u308f\u305b#4\u300b\u3082<code>?ndc9as10<\/code>\u306e798\u304c<code>?ndc10<\/code>\u306e031.7\u3068\u3082\u300c\u5bfeNDC10\u300d\u306e798.3\u3068\u3082\u4e00\u81f4\u3057\u306a\u3044\u3001\u3059\u306a\u308f\u3061\u201c9as10\u30d1\u30bf\u30fc\u30f3\u201d\u306b\u30de\u30c3\u30c1\u305b\u305a\u3001<code>NOT EXISTS<\/code>\u304c\u6210\u7acb\u3057\u3066\u30d1\u30b9\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u3002<\/p>\n<p><strong id=\"step-5\">Step 5<\/strong>: \u305d\u3053\u3067\u3001<a href=\"#step-4\">Step 4<\/a>\u3092\u30d1\u30b9\u3057\u305fNDC9\u3068NDC10\u306e\u7b2c\u4e00\u6b21\u533a\u5206\uff08\u985e\u76ee\uff09\u3092\u6bd4\u8f03\u3057\u3001\u985e\u76ee\u304c\u540c\u3058\u5834\u5408\u306e\u307fNDC9\u3068NDC10\u3068\u306e\u9055\u3044\u3068\u8003\u3048\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u306b\u3001NDC9\u3068NDC10\u306e1\u6841\u76ee\u304c\u4e00\u81f4\u3059\u308b\u3068\u3044\u3046\u6761\u4ef6\uff08<code>FILTER<\/code>\uff09\u3092\u3055\u3089\u306b\u8ffd\u52a0\u3057\u307e\u3059<a href=\"#note1\"><sup>\uff08\u6ce8\uff09<\/sup><\/a>\u3002<\/p>\n<div class=\"example\">\n<pre><code>    FILTER (substr(?ndc9, 1, 1) = substr(?ndc10, 1, 1))\r\n<\/code><\/pre>\n<p><!--eoc(example)--><\/div>\n<p>\u4ee5\u4e0a\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u304c\u3001\u6b21\u306e\u30af\u30a8\u30ea\u4f8b\u3067\u3059\u3002<\/p>\n<form action=\"\/auth\/ndla\/sparql\" method=\"get\">\n<fieldset>\n<legend>SPARQL\u30af\u30a8\u30ea\u691c\u7d22\u30d5\u30a9\u30fc\u30e0<\/legend>\n<div>\n        <label for=\"query\">SPARQL\u30af\u30a8\u30ea<\/label><\/p>\n<pre><textarea name=\"query\" style=\"height:15em\">PREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nPREFIX skos: &lt;http:\/\/www.w3.org\/2004\/02\/skos\/core#&gt;\r\nPREFIX rdfs: &lt;http:\/\/www.w3.org\/2000\/01\/rdf-schema#&gt;\r\n#Step1\r\nSELECT ?auth ?label ?ndc9 ?ndc10 WHERE { \r\n    ?auth rdfs:label ?label;\r\n        skos:relatedMatch ?rel;\r\n        skos:relatedMatch ?rel2.\r\n    FILTER (regex(str(?rel), &quot;^http:\/\/id.ndl.go.jp\/class\/ndc9\/&quot;))\r\n    FILTER (regex(str(?rel2), &quot;^http:\/\/id.ndl.go.jp\/class\/ndc10\/&quot;))\r\n    #Step2\r\n    BIND (strafter(str(?rel), &quot;ndc9\/&quot;) as ?ndc9)\r\n    BIND (strafter(str(?rel2), &quot;ndc10\/&quot;) as ?ndc10)\r\n    #Step3:NDC10\u5206\u985e\u8a18\u53f7\u3068\u540c\u3058\u8a18\u53f7\u3092\u6301\u3064NDC9\u5206\u985eURI\u3092\u5909\u6570\u306b\u5272\u308a\u5f53\u3066\u3001\r\n    BIND (IRI(concat(&quot;http:\/\/id.ndl.go.jp\/class\/ndc10\/&quot;, ?ndc9)) as ?ndc9as10)\r\n    #Step3:\u305d\u306eURI\u304crelatedMatch\u3068\u3057\u3066\u5b58\u5728\u3057\u306a\u3044\uff08\uff1d\u305d\u306e\u5178\u62e0\u306b\u4ed8\u4e0e\u3055\u308c\u308bNDC10\u3068NDC9\u304c\u7570\u306a\u308b\uff09\u3082\u306e\u306b\u9650\u5b9a\r\n    FILTER NOT EXISTS {?auth skos:relatedMatch ?ndc9as10}\r\n    #Step5:\u540c\u3058\u985e\u76ee\u306eNDC\u5206\u985e\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u3082\u306e\u306e\u307f\u5bfe\u8c61\u3068\u3059\u308b\r\n    FILTER (substr(?ndc9, 1, 1) = substr(?ndc10, 1, 1))\r\n}<\/textarea><\/pre>\n<p><select name=\"format\"><option selected=\"selected\">HTML<\/option><option>Turtle<\/option><option>JSON<\/option><option>XML<\/option><option>CSV<\/option><\/select><\/div>\n<p><input type=\"submit\" value=\"\u30af\u30a8\u30ea\u5b9f\u884c\"\/><\/fieldset>\n<\/form>\n<p id=\"note1\">\uff08\u6ce8\uff09\u306a\u304a\u3001NDC9\u3068NDC10\u306e\u985e\u76ee\u304c\u540c\u3058\u5834\u5408\u3067\u3082\u3001\u3059\u3079\u3066\u306e\u30d5\u30a3\u30eb\u30bf\u3092\u30d1\u30b9\u3057\u305f\u7d44\u307f\u5408\u308f\u305b\u304cNDC9\u3068NDC10\u306e\u9055\u3044\u3067\u306f\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u4ef6\u540d\u6a19\u76ee\u300c<a href=\"\/auth\/ndlsh\/00566172\">\u8208\u884c<\/a>\u300d\u306b\u306fNDC9\u306e760.69\uff08\u97f3\u697d\u5802\uff0e\u97f3\u697d\u4f1a\uff0e\u97f3\u697d\u8208\u884c\uff09\u3068770.9\uff08\u8208\u884c\uff0e\u691c\u95b2\uff0e\u5ba3\u4f1d\uff0e\u770b\u677f\uff0e\u5165\u5834\u6599\uff09\u304c\u305d\u308c\u305e\u308c\u4ed8\u4e0e\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u308c\u304cNDC10\u3067\u306f760.9\uff08\u97f3\u697d\u7523\u696d\uff09\u3068770.9\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u3001<a href=\"#step-4\">Step 4<\/a>\u307e\u3067\u306e\u624b\u9806\u3067\u306f760.69\u2192760.9\uff08\u6b63\u3057\u3044\u300a\u7d44\u307f\u5408\u308f\u305bA\u300b\uff09\u3060\u3051\u3067\u306a\u304f\u3001760.69\u2192770.9\uff08\u6b63\u3057\u304f\u306a\u3044\u300a\u7d44\u307f\u5408\u308f\u305bB\u300b\uff09\u3082\u30d5\u30a3\u30eb\u30bf\u3092\u30d1\u30b9\u3057\u3066\u3057\u307e\u3046\u306e\u306f\u300c\u30af\u30a4\u30ba\u300d\u306e\u4f8b\u3068\u540c\u3058\u3067\u3059\u3002\u3068\u3053\u308d\u304c\u300c\u8208\u884c\u300d\u306e\u5834\u5408\u306f\u3001\u300a\u7d44\u307f\u5408\u308f\u305bB\u300b\u306e\u7b2c\u4e00\u6b21\u533a\u5206\uff08\u985e\u76ee\uff09\u304c\u540c\u3058\u3067\u3042\u308b\u305f\u3081\u3001<a href=\"#step-5\">Step 5<\/a>\u306e\u30d5\u30a3\u30eb\u30bf\u3067\u3082\u53d6\u308a\u9664\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u30011\u3064\u306e\u4ef6\u540d\u6a19\u76ee\u306b\u540c\u3058\u985e\u76ee\uff08\u3053\u3053\u3067\u306f7\u985e\uff09\u306eNDC9\u304c\u8907\u6570\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u985e\u76ee\u3060\u3051\u3067\u306f\u6b63\u78ba\u306a\u533a\u5225\u304c\u3067\u304d\u306a\u3044\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<div align=\"right\">\n<p class=\"nakanavi\"><a href=\"#header\">\u3053\u306e\u30da\u30fc\u30b8\u306e\u5148\u982d\u3078<\/a><\/p>\n<\/div>\n<p><!--eos(4)--><\/section>\n<p><!--eos(3)--><\/section>\n","protected":false},"excerpt":{"rendered":"<p>SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8 \u30d7\u30ed\u30d1\u30c6\u30a3\u30d1\u30b9\u3092\u7528\u3044\u308b \u30b5\u30d6\u30af\u30a8\u30ea \u5426\u5b9a\u8868\u73fe\u3068\u5909\u6570\u5272\u308a\u5f53\u3066 \u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u3001SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u53ef\u80fd\u306b\u306a\u3063\u305f\u691c\u7d22\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u300cSPAR [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-820","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages\/820"}],"collection":[{"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/comments?post=820"}],"version-history":[{"count":18,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages\/820\/revisions"}],"predecessor-version":[{"id":1260,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages\/820\/revisions\/1260"}],"wp:attachment":[{"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/media?parent=820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}