{"id":7,"date":"2011-04-05T17:39:01","date_gmt":"2011-04-05T08:39:01","guid":{"rendered":"http:\/\/id.ndl.go.jp\/information\/uri%e3%83%bbsparql\/"},"modified":"2025-08-29T12:00:10","modified_gmt":"2025-08-29T03:00:10","slug":"sparql","status":"publish","type":"page","link":"https:\/\/id.ndl.go.jp\/information\/sparql\/","title":{"rendered":"SPARQL\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 {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: 20px}  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=\"#anchor01\" target=\"_self\" rel=\"noopener noreferrer\">SPARQL\u306b\u3088\u308b\u691c\u7d22<\/a><\/li>\n<li><a href=\"#anchor02\" target=\"_self\" rel=\"noopener noreferrer\">\u4f8b1\uff1a\u3042\u308b\u500b\u4eba\u306e\u751f\u5e74\u3001\u6ca1\u5e74\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u8abf\u3079\u308b<\/a><\/li>\n<li><a href=\"#anchor03\">\u4f8b2\uff1a\u6ca1\u5e74\u304b\u3089\u5178\u62e0URI\u3001\u540d\u79f0\u5b9f\u4f53URI\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u8abf\u3079\u308b<\/a><\/li>\n<li><a href=\"#anchor04\">\u4f8b3\uff1a\u3042\u308b\u4ef6\u540d\u6a19\u76ee\u306e\u4e0a\u4f4d\u8a9e\u3001\u4e0b\u4f4d\u8a9e\u306a\u3069\u3092\u8abf\u3079\u308b<\/a><\/li>\n<li><a href=\"#anchor05\">\u4f8b4\uff1a\u3042\u308b\u4ee3\u8868\u5206\u985e\u306b\u5c5e\u3059\u308b\u4ef6\u540d\u6a19\u76ee\u3092\u8abf\u3079\u308b<\/a><\/li>\n<li><a href=\"#anchor06\">SPARQL 1.1\u3078\u306e\u5bfe\u5fdc<\/a><\/li>\n<\/ol>\n<\/div>\n<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u3001SPARQL\u306b\u3088\u308b\u691c\u7d22\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002GUI\u4e0a\u3067\u306e\u691c\u7d22\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u300c<a href=\"\/information\/help\/\" >\u30d8\u30eb\u30d7<\/a>\u300d\u306e\u8a72\u5f53\u7b87\u6240\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u73fe\u5728\u306f\u3088\u308a\u65b0\u3057\u3044\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3042\u308bSPARQL1.1\u306e\u5229\u7528\u3092\u304a\u52e7\u3081\u3057\u3066\u3044\u307e\u3059\u3002\u8a73\u3057\u304f\u306f\u300c<a href=\"\/information\/sparql\/#anchor06\" >SPARQL1.1\u3078\u306e\u5bfe\u5fdc<\/a>\u300d\u300c<a href=\"\/information\/sparql-11\/\" >SPARQL 1.1\u306b\u3064\u3044\u3066<\/a>\u300d\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001SPARQL1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u7528\u3044\u305f\u3001\u4fbf\u5229\u306a\u691c\u7d22\u4e8b\u4f8b\u3092\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\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3><a name=\"anchor01\"><\/a>1. SPARQL\u306b\u3088\u308b\u691c\u7d22<\/h3>\n<p>\u5f53\u30b7\u30b9\u30c6\u30e0\u306f\u3001<a href=\"http:\/\/www.asahi-net.or.jp\/~ax2s-kmtn\/internet\/rdf\/NOTE-rdf11-primer-20140225.html\"><abbr title=\"Resource Description Framework\">RDF<\/abbr><\/a>\u5f62\u5f0f\u3067\u5178\u62e0\u30c7\u30fc\u30bf\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u683c\u7d0d\u3057\u3066\u304a\u308a\u3001RDF\u3067\u8a18\u8ff0\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u691c\u7d22\u30fb\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u8a00\u8a9e\u3067\u3042\u308b<abbr title=\"SPARQL Protocol and RDF Query Language\">SPARQL<\/abbr>\u3092\u7528\u3044\u3066\u5916\u90e8\u304b\u3089\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002SPARQL\u306b\u3088\u308b\u30af\u30a8\u30ea\u306f\u3001RDF\u306e\u30e2\u30c7\u30eb\u306e\u3046\u3061\u3001\u672a\u77e5\u306e\u90e8\u5206\u3092\u5909\u6570\uff08\u534a\u89d2\u30af\u30a8\u30b9\u30c1\u30e7\u30f3\u30de\u30fc\u30af\uff08<code>?<\/code>\uff09\u3067\u59cb\u307e\u308b\u540d\u524d\uff09\u3068\u3057\u3066\u5909\u6570\u3092\u542b\u3080RDF\u30b0\u30e9\u30d5\u3092\u8a18\u8ff0\u3057\u3001\u5909\u6570\u306b\u3042\u3066\u306f\u307e\u308b<abbr title=\"Uniform Resource Identifier\">URI<\/abbr>\u3084\u30ea\u30c6\u30e9\u30eb\u5024\u3092\u53d6\u5f97\u3059\u308b\u3001\u3068\u3044\u3046\u5f62\u5f0f\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u5909\u6570\u3092\u542b\u3080\u30b0\u30e9\u30d5\u306e\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u534a\u89d2\u6ce2\u62ec\u5f27\uff08<code>{}<\/code>\uff09\u3067\u56f2\u307f\u3001<abbr title=\"Structured Query Language\">SQL<\/abbr>\u3068\u540c\u69d8\u306b<code>WHERE<\/code>\u53e5\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u53d6\u308a\u51fa\u3057\u305f\u3044\u5909\u6570\u306f\u3001SQL\u3068\u540c\u69d8\u306b<code>SELECT<\/code>\u53e5\u306b\u5217\u6319\u3057\u307e\u3059\u3002<code>PREFIX<\/code>\u53e5\u3092\u7528\u3044\u3066\u540d\u524d\u7a7a\u9593URI\u306e\u63a5\u982d\u8f9e\u3092\u5ba3\u8a00\u3059\u308b\u3053\u3068\u3067\u3001URI\u3092\u4fee\u98fe\u540d\u3068\u3057\u3066\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>1-1. SPARQL\u3092\u5229\u7528\u3059\u308bAPI<\/h4>\n<p>SPARQL Endpoint\uff08API\u306eURI\uff09\u306f<code>https:\/\/id.ndl.go.jp\/auth\/ndla<\/code>\u3067\u3059\u3002<code>?query<\/code>\u30d1\u30e9\u30e1\u30fc\u30bf\u5024\u3068\u3057\u3066URL\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305fSPARQL\u30af\u30a8\u30ea\u3092\u9001\u308b\u3053\u3068\u3067\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u30021\u56de\u306b\u53d6\u5f97\u3067\u304d\u308b\u30c7\u30fc\u30bf\u4ef6\u6570\u306e\u4e0a\u9650\u306f100\u4ef6\u3067\u3059\u3002<\/p>\n<p>\uff08\u6ce8\uff09Web NDL Authorities\u3067\u306f\u3001SPARQL 1.0\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nSPARQL 1.1\u3078\u306e\u5bfe\u5fdc\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"#anchor06\">6. SPARQL 1.1\u3078\u306e\u5bfe\u5fdc<\/a>\u300d\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4e0b\u8a18\u306e\u30d5\u30a9\u30fc\u30e0\u3092\u7528\u3044\u3066\u3001SPARQL\u306b\u3088\u308b\u691c\u7d22\u3092\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<form method=\"get\" action=\"\/auth\/ndla\">\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><br \/>\n\t<textarea rows=\"8\" style=\"width:40em\" name=\"query\">\u30af\u30a8\u30ea\u3092\u3053\u3053\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/textarea><br \/>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<p><a name=\"sparql_api\"><\/a>SPARQL\u3092\u5229\u7528\u3059\u308bAPI\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306eAPI\u4ed5\u69d8\u66f8\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\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<p>RDF\u3068\u3057\u3066\u683c\u7d0d\u3055\u308c\u308b\u30c7\u30fc\u30bf\u9805\u76ee\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"\/information\/model\/#anchor04\">4. RDF\/XML\u5f62\u5f0f\u306b\u3088\u308b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u4ed5\u69d8<\/a>\u300d\u3092\u3054\u53c2\u7167\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<h3><a name=\"anchor02\"><\/a>2. \u4f8b1\uff1a\u3042\u308b\u500b\u4eba\u306e\u751f\u5e74\u3001\u6ca1\u5e74\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u8abf\u3079\u308b<\/h3>\n<p>\u300c\u590f\u76ee\u6f31\u77f3\u300d\u306e<a href=\"\/information\/function\/#2\">\u5178\u62e0\u60c5\u5831URI<\/a>\u3001<a href=\"\/information\/function\/#2\">\u540d\u79f0\u5b9f\u4f53URI<\/a>\u3001\u751f\u5e74\u3001\u6ca1\u5e74\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u305d\u308c\u305e\u308c\u3001\u5909\u6570\u300c<code>?uri1<\/code>\u300d\u3001\u300c<code>?uri2<\/code>\u300d\u3001\u300c<code>?birth<\/code>\u300d\u3001\u300c<code>?death<\/code>\u300d\u3001\u300c<code>?heading<\/code>\u300d\u3001\u300c<code>?yomi<\/code>\u300d\u3068\u3059\u308b\u3068\u3001\u3053\u308c\u3089\u306e\u5909\u6570\u3092\u542b\u3080RDF\u30b0\u30e9\u30d5\u306f\u56f31\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a><img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2011\/04\/image_sparql_01.bmp\" alt=\"\" title=\"image_sparql_01\" class=\"aligncenter size-full wp-image-33\" \/><\/a><\/p>\n<div style=\"text-align: center;\">\u56f31<\/div>\n<p>RDF\u30b0\u30e9\u30d5\u3092\u30af\u30a8\u30ea\u306b\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<form method=\"get\" action=\"\/auth\/ndla\">\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 rows=\"14\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nPREFIX rda: <http:\/\/RDVocab.info\/ElementsGr2\/>\r\nPREFIX foaf: <http:\/\/xmlns.com\/foaf\/0.1\/>\r\nPREFIX xl: <http:\/\/www.w3.org\/2008\/05\/skos-xl#>\r\nPREFIX ndl: <http:\/\/ndl.go.jp\/dcndl\/terms\/>\r\nSELECT * WHERE {\r\n?uri1 foaf:primaryTopic ?uri2.\r\n?uri1 xl:prefLabel [ xl:literalForm ?heading; ndl:transcription ?yomi ].\r\n?uri2 rda:dateOfBirth ?birth.\r\n?uri2 rda:dateOfDeath ?death.\r\n?uri2 foaf:name &quot;\u590f\u76ee\u6f31\u77f3&quot;.\r\nFILTER (lang(?yomi) = &#x27;ja-Kana&#x27;).\r\n}\r\n<\/textarea><\/pre>\n<p>\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<p>\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u304c\u300c\u590f\u76ee\u300d\u3067\u59cb\u307e\u308b\u5178\u62e0\u30c7\u30fc\u30bf\u306e\u751f\u5e74\u3001\u6ca1\u5e74\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3092\u8abf\u3079\u308b\u30af\u30a8\u30ea\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<form method=\"get\" action=\"\/auth\/ndla\">\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 rows=\"14\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nPREFIX rda: <http:\/\/RDVocab.info\/ElementsGr2\/>\r\nPREFIX foaf: <http:\/\/xmlns.com\/foaf\/0.1\/>\r\nPREFIX xl: <http:\/\/www.w3.org\/2008\/05\/skos-xl#>\r\nPREFIX ndl: <http:\/\/ndl.go.jp\/dcndl\/terms\/>\r\nSELECT * WHERE {\r\n?uri1 foaf:primaryTopic ?uri2.\r\n?uri1 xl:prefLabel [ xl:literalForm ?heading; ndl:transcription ?yomi ].\r\n?uri2 rda:dateOfBirth ?birth.\r\n?uri2 rda:dateOfDeath ?death.\r\nFILTER (lang(?yomi) = &#x27;ja-Kana&#x27;).\r\nFILTER regex(?heading, &#x27;^\u590f\u76ee&#x27;).\r\n}\r\n\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<p>\uff08\u6ce8\uff09\u500b\u4eba\u540d\u306e\u5178\u62e0\u30c7\u30fc\u30bf\u306b\u306f\u3001\u5fc5\u305a\u3057\u3082\u751f\u5e74\u3001\u6ca1\u5e74\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002\u4e0a\u8a18\u306e\u30af\u30a8\u30ea\u3067\u306f\u3001\u751f\u5e74\u307e\u305f\u306f\u6ca1\u5e74\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3082\u306e\u306f\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u4ee5\u4e0b\u306e<code>OPTIONAL<\/code>\u3092\u4f7f\u3063\u305f\u30af\u30a8\u30ea\u3067\u3042\u308c\u3070\u3001\u751f\u5e74\u3001\u6ca1\u5e74\u306e\u3044\u305a\u308c\u304b\u3001\u307e\u305f\u306f\u305d\u306e\u4e21\u65b9\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3067\u3082\u3001\u300c\u590f\u76ee\u300d\u3067\u59cb\u307e\u308b\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<form method=\"get\" action=\"\/auth\/ndla\">\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 rows=\"14\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nPREFIX rda: <http:\/\/RDVocab.info\/ElementsGr2\/>\r\nPREFIX foaf: <http:\/\/xmlns.com\/foaf\/0.1\/>\r\nPREFIX xl: <http:\/\/www.w3.org\/2008\/05\/skos-xl#>\r\nPREFIX ndl: <http:\/\/ndl.go.jp\/dcndl\/terms\/>\r\nSELECT * WHERE {\r\n?uri1 foaf:primaryTopic ?uri2.\r\n?uri1 xl:prefLabel [ xl:literalForm ?heading; ndl:transcription ?yomi ].\r\nOPTIONAL {\r\n?uri2 rda:dateOfBirth ?birth.\r\n?uri2 rda:dateOfDeath ?death.\r\n}\r\nFILTER (lang(?yomi) = &#x27;ja-Kana&#x27;).\r\nFILTER regex(?heading, &#x27;^\u590f\u76ee&#x27;).\r\n}\r\n\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/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<h3><a name=\"anchor03\"><\/a>3. \u4f8b2\uff1a\u6ca1\u5e74\u304b\u3089\u5178\u62e0URI\u3001\u540d\u79f0\u5b9f\u4f53URI\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u8abf\u3079\u308b<\/h3>\n<p>\u6ca1\u5e74\u304c\u300c1962\u300d\u3067\u3042\u308b\u5178\u62e0URI\u3001\u540d\u79f0\u5b9f\u4f53URI\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u305d\u308c\u305e\u308c\u3001\u5909\u6570\u300c<code>?uri1<\/code>\u300d\u3001\u300c<code>?uri2<\/code>\u300d\u3001\u300c<code>?heading<\/code>\u300d\u3001\u300c<code>?yomi<\/code>\u300d\u3068\u3059\u308b\u3068\u3001\u3053\u308c\u3089\u306e\u5909\u6570\u3092\u542b\u3080RDF\u30b0\u30e9\u30d5\u306f\u56f32\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a><img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2011\/04\/image_sparql_02.bmp\" alt=\"\" title=\"image_sparql_02\" class=\"aligncenter size-full wp-image-34\" \/><\/a><\/p>\n<div style=\"text-align: center;\">\u56f32<\/div>\n<p>RDF\u30b0\u30e9\u30d5\u3092\u30af\u30a8\u30ea\u306b\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<form method=\"get\" action=\"\/auth\/ndla\" accept-charset=\"UTF-8\">\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 rows=\"12\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nPREFIX rda: <http:\/\/RDVocab.info\/ElementsGr2\/>\r\nPREFIX foaf: <http:\/\/xmlns.com\/foaf\/0.1\/>\r\nPREFIX xl: <http:\/\/www.w3.org\/2008\/05\/skos-xl#>\r\nPREFIX ndl: <http:\/\/ndl.go.jp\/dcndl\/terms\/>\r\nSELECT * WHERE {\r\n?uri1 foaf:primaryTopic ?uri2.\r\n?uri1 xl:prefLabel [ xl:literalForm ?heading; ndl:transcription ?yomi ].\r\n?uri2 rda:dateOfDeath &quot;1962&quot;.\r\nFILTER (lang(?yomi) = &#x27;ja-Kana&#x27;).\r\n}\r\nORDER BY ?yomi\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<p>101\u4ef6\u76ee\u4ee5\u964d\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u3001<code>OFFSET<\/code>\u53e5\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<form method=\"get\" action=\"\/auth\/ndla\" accept-charset=\"UTF-8\">\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 rows=\"12\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nPREFIX rda: <http:\/\/RDVocab.info\/ElementsGr2\/>\r\nPREFIX foaf: <http:\/\/xmlns.com\/foaf\/0.1\/>\r\nPREFIX xl: <http:\/\/www.w3.org\/2008\/05\/skos-xl#>\r\nPREFIX ndl: <http:\/\/ndl.go.jp\/dcndl\/terms\/>\r\nSELECT * WHERE {\r\n?uri1 foaf:primaryTopic ?uri2.\r\n?uri1 xl:prefLabel [ xl:literalForm ?heading; ndl:transcription ?yomi ].\r\n?uri2 rda:dateOfDeath &quot;1962&quot;.\r\nFILTER (lang(?yomi) = &#x27;ja-Kana&#x27;).\r\n}\r\nORDER BY ?yomi\r\nOFFSET 100\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/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<h3><a name=\"anchor04\"><\/a>4. \u4f8b3\uff1a\u3042\u308b\u4ef6\u540d\u6a19\u76ee\u306e\u4e0a\u4f4d\u8a9e\u3001\u4e0b\u4f4d\u8a9e\u306a\u3069\u3092\u8abf\u3079\u308b<\/h3>\n<p>\u4ef6\u540d\u6a19\u76ee\u300c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u300d\u306e\u5178\u62e0URI\u3001\u4e0a\u4f4d\u8a9e\u306eURI\u3001\u4e0a\u4f4d\u8a9e\u306e\u30e9\u30d9\u30eb\u3092\u305d\u308c\u305e\u308c\u5909\u6570\u300c<code>?uri1<\/code>\u300d\u3001\u300c<code>?uri2<\/code>\u300d\u3001\u300c<code>?label<\/code>\u300d\u3068\u3059\u308b\u3068\u3001\u3053\u308c\u3089\u306e\u5909\u6570\u3092\u542b\u3080RDF\u30b0\u30e9\u30d5\u306f\u56f33\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a><img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2011\/04\/image_sparql_03.bmp\" alt=\"\" title=\"image_sparql_03\" class=\"aligncenter size-full wp-image-35\" \/><\/a><\/p>\n<div style=\"text-align: center;\">\u56f33<\/div>\n<form method=\"get\" action=\"\/auth\/ndla\">\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 rows=\"6\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nSELECT * WHERE {\r\n\t?uri1 rdfs:label &quot;\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8&quot;; skos:broader ?uri2.\r\n        ?uri2 rdfs:label ?label.\r\n}\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<p>\u4e0b\u4f4d\u8a9e\u3001\u95a2\u9023\u8a9e\u3001\u540c\u7fa9\u8a9e\u3092\u8abf\u3079\u308b\u5834\u5408\u306f\u3001\u300c<code>skos:broader<\/code>\u300d\u3092\u305d\u308c\u305e\u308c\u300c<code>skos:narrower<\/code>\u300d\u3001\u300c<code>skos:related<\/code>\u300d\u3001\u300c<code>xl:altLabel<\/code>\u300d\u306b\u7f6e\u63db\u3048\u307e\u3059\u3002<\/p>\n<h3><a name=\"anchor05\"><\/a>5. \u4f8b4\uff1a\u3042\u308b\u4ee3\u8868\u5206\u985e\u306b\u5c5e\u3059\u308b\u4ef6\u540d\u6a19\u76ee\u3092\u8abf\u3079\u308b<\/h3>\n<p>\u56fd\u7acb\u56fd\u4f1a\u56f3\u66f8\u9928\u5206\u985e\u8868\uff08<abbr title=\"National Diet Library Classification\">NDLC<\/abbr>\uff09\u306e\u5206\u985e\u8a18\u53f7\u300cDM225\u300d\u306b\u5c5e\u3059\u308b\u4ef6\u540d\u6a19\u76ee\u306e\u5178\u62e0URI\u3001\u30e9\u30d9\u30eb\u3092\u5909\u6570\u300c<code>?uri1<\/code>\u300d\u3001\u300c<code>?label<\/code>\u300d\u3068\u3059\u308b\u3068\u3001\u3053\u308c\u3089\u306e\u5909\u6570\u3092\u542b\u3080RDF\u30b0\u30e9\u30d5\u306f\u56f34\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a><img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2011\/04\/image_sparql_04.bmp\" alt=\"\" title=\"image_sparql_04\" class=\"aligncenter size-full wp-image-32\" \/><\/a><\/p>\n<div style=\"text-align: center;\">\u56f34<\/div>\n<form method=\"get\" action=\"\/auth\/ndla\">\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 rows=\"6\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nSELECT * WHERE {\r\n\t?uri1 skos:relatedMatch <http:\/\/id.ndl.go.jp\/class\/ndlc\/DM225>;\r\n              rdfs:label ?label .\r\n}\r\n\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<p>NDLC\u306e\u300cDK341\u300d\u304b\u3064\u65e5\u672c\u5341\u9032\u5206\u985e\u6cd5\uff08<abbr title=\"Nippon Decimal Classification\">NDC<\/abbr>\uff09\u7b2c9\u7248\u306e\u300c694.5\u300d\u306b\u5c5e\u3059\u308b\u4ef6\u540d\u6a19\u76ee\u306e\u5178\u62e0URI\u3001\u30e9\u30d9\u30eb\u3092\u5909\u6570\u300c<code>?uri1<\/code>\u300d\u3001\u300c<code>?label<\/code>\u300d\u3068\u3059\u308b\u3068\u3001\u3053\u308c\u3089\u306e\u5909\u6570\u3092\u542b\u3080RDF\u30b0\u30e9\u30d5\u306f\u56f35\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a><img decoding=\"async\" src=\"\/information\/wp-content\/uploads\/2011\/04\/image_sparql_05.bmp\" alt=\"\" title=\"image_sparql_05\" class=\"aligncenter size-full wp-image-36\" \/><\/a><\/p>\n<div style=\"text-align: center;\">\u56f35<\/div>\n<form method=\"get\" action=\"\/auth\/ndla\">\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\u3000\u3000<\/label><\/p>\n<pre><textarea rows=\"6\" style=\"width:40em\" name=\"query\">\r\nPREFIX skos: <http:\/\/www.w3.org\/2004\/02\/skos\/core#>\r\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\r\nSELECT * WHERE {\r\n\t?uri1 skos:relatedMatch <http:\/\/id.ndl.go.jp\/class\/ndlc\/DK341>, <http:\/\/id.ndl.go.jp\/class\/ndc9\/694.5>.\r\n        ?uri1 rdfs:label ?label .\r\n}\r\n\r\n<\/textarea><\/pre>\n<p>\n\t<select id=\"output\" name=\"output\"><option value=\"htmltab\" selected=\"selected\">HTML Table<\/option><option value=\"xml\">XML<\/option><option value=\"json\">JSON<\/option><option value=\"plain\">Plain<\/option><option value=\"php_ser\">Serialized PHP<\/option><\/select>\n\t<\/div>\n<p>\t<input type=\"submit\" class=\"submit\" value=\"\u691c\u7d22\" \/><br \/>\n\t<\/fieldset>\n<\/form>\n<h3><a name=\"anchor06\"><\/a>6. SPARQL 1.1\u3078\u306e\u5bfe\u5fdc<\/h3>\n<p>SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code>https:\/\/id.ndl.go.jp\/auth\/ndla\/sparql<\/code><\/p>\n<p>1\u56de\u306b\u53d6\u5f97\u3067\u304d\u308b\u30c7\u30fc\u30bf\u4ef6\u6570\u306e\u4e0a\u9650\u306f\u30011,000\u4ef6\u3067\u3059\u3002<br \/>\n\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\u3053\u306e\u30da\u30fc\u30b8\u306b\u8a18\u8f09\u3057\u3066\u3044\u308b\u691c\u7d22\u306f\u3001SPARQL1.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\u305f\u3060\u3057\u3001SPARQL 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<\/p>\n<p>SPARQL 1.1\u306b\u5bfe\u5fdc\u3057\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u306e\u8a73\u3057\u3044\u691c\u7d22\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"\/information\/sparql-11\/\">SPARQL 1.1\u306b\u3064\u3044\u3066<\/a>\u300d\u3092\u3054\u89a7\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","protected":false},"excerpt":{"rendered":"<p>SPARQL\u306b\u3088\u308b\u691c\u7d22 \u4f8b1\uff1a\u3042\u308b\u500b\u4eba\u306e\u751f\u5e74\u3001\u6ca1\u5e74\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u8abf\u3079\u308b \u4f8b2\uff1a\u6ca1\u5e74\u304b\u3089\u5178\u62e0URI\u3001\u540d\u79f0\u5b9f\u4f53URI\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u3001\u540d\u79f0\/\u30bf\u30a4\u30c8\u30eb\u306e\u30ab\u30ca\u8aad\u307f\u3092\u8abf\u3079\u308b \u4f8b3\uff1a\u3042\u308b\u4ef6\u540d\u6a19\u76ee\u306e\u4e0a\u4f4d\u8a9e [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages\/7"}],"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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":21,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages\/7\/revisions"}],"predecessor-version":[{"id":734,"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/pages\/7\/revisions\/734"}],"wp:attachment":[{"href":"https:\/\/id.ndl.go.jp\/information\/wp-json\/wp\/v2\/media?parent=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}