{"id":929246,"date":"2024-12-26T16:51:53","date_gmt":"2024-12-26T08:51:53","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/929246.html"},"modified":"2024-12-26T16:51:55","modified_gmt":"2024-12-26T08:51:55","slug":"python%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8jena","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/929246.html","title":{"rendered":"python\u5982\u4f55\u4f7f\u7528jena"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064536\/d6286bf5-e0c3-4cf2-83cb-eced550ace04.webp\" alt=\"python\u5982\u4f55\u4f7f\u7528jena\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Jena\u4e0ePython\u8fdb\u884c\u96c6\u6210\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\uff1a\u901a\u8fc7SPARQL\u4e0eJena Fuseki\u8fdb\u884c\u901a\u4fe1\u3001\u4f7f\u7528Jena\u63d0\u4f9b\u7684REST API\u3001\u4ee5\u53ca\u4f7f\u7528Python\u5e93\u5982 RDFlib \u8fdb\u884cRDF\u6570\u636e\u7684\u5904\u7406\u3002<\/strong>\u5176\u4e2d\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u901a\u8fc7SPARQL\u4e0eJena Fuseki\u8fdb\u884c\u901a\u4fe1\u3002\u8fd9\u79cd\u65b9\u5f0f\u5141\u8bb8Python\u7a0b\u5e8f\u901a\u8fc7HTTP\u8bf7\u6c42\u4e0eJena Fuseki\u670d\u52a1\u5668\u4ea4\u4e92\uff0c\u6267\u884cSPARQL\u67e5\u8be2\u548c\u66f4\u65b0\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5b9e\u73b0\u8fd9\u79cd\u96c6\u6210\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001JENA\u4e0eFUSEKI\u7b80\u4ecb<\/h3>\n<\/p>\n<p><p>Apache Jena\u662f\u4e00\u4e2a\u7528\u4e8e\u6784\u5efa\u8bed\u4e49Web\u548c\u94fe\u63a5\u6570\u636e\u5e94\u7528\u7a0b\u5e8f\u7684Java\u6846\u67b6\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684API\u6765\u5904\u7406RDF\uff08\u8d44\u6e90\u63cf\u8ff0\u6846\u67b6\uff09\u6570\u636e\u3002Jena\u7684\u4e3b\u8981\u7ec4\u6210\u90e8\u5206\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>RDF API<\/strong>\uff1a\u7528\u4e8e\u521b\u5efa\u548c\u64cd\u4f5cRDF\u56fe\u3002<\/li>\n<li><strong>SPARQL<\/strong>\uff1a\u652f\u6301\u67e5\u8be2\u548c\u66f4\u65b0RDF\u6570\u636e\u7684\u6807\u51c6\u67e5\u8be2\u8bed\u8a00\u3002<\/li>\n<li><strong>TDB<\/strong>\uff1a\u4e00\u4e2a\u9ad8\u6548\u7684\u672c\u5730RDF\u5b58\u50a8\u548c\u67e5\u8be2\u5f15\u64ce\u3002<\/li>\n<li><strong>Fuseki<\/strong>\uff1a\u4e00\u4e2a\u53ef\u4ee5\u901a\u8fc7HTTP\u63a5\u53e3\u8bbf\u95ee\u7684SPARQL\u670d\u52a1\u5668\u3002<\/li>\n<\/ul>\n<p><p>Fuseki\u662fJena\u4e2d\u7684\u4e00\u4e2a\u7ec4\u4ef6\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u901a\u8fc7HTTP\u63a5\u53e3\u4e0eRDF\u6570\u636e\u8fdb\u884c\u4ea4\u4e92\u3002\u5b83\u652f\u6301SPARQL 1.1\uff0c\u5e76\u4e14\u80fd\u591f\u5904\u7406\u67e5\u8be2\u3001\u66f4\u65b0\u548c\u56fe\u7ba1\u7406\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u901a\u8fc7SPARQL\u4e0eJENA FUSEKI\u8fdb\u884c\u901a\u4fe1<\/h3>\n<\/p>\n<p><h4>1. Fuseki\u670d\u52a1\u5668\u7684\u5b89\u88c5\u548c\u914d\u7f6e<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Python\u4e0eJena\u8fdb\u884c\u4ea4\u4e92\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5\u5e76\u914d\u7f6eFuseki\u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4eceApache Jena\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7dFuseki\u7684\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4e0b\u8f7d\u548c\u5b89\u88c5<\/strong>\uff1a\u4e0b\u8f7dFuseki\u540e\uff0c\u5c06\u5176\u89e3\u538b\u5230\u4e00\u4e2a\u76ee\u5f55\u4e2d\u3002\u8fdb\u5165\u8be5\u76ee\u5f55\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u542f\u52a8Fuseki\u670d\u52a1\u5668\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">.\/fuseki-server<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u6570\u636e\u96c6<\/strong>\uff1a\u53ef\u4ee5\u901a\u8fc7Fuseki\u63d0\u4f9b\u7684Web\u754c\u9762\u914d\u7f6e\u6570\u636e\u96c6\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cWeb\u754c\u9762\u53ef\u4ee5\u901a\u8fc7<code>http:\/\/localhost:3030<\/code>\u8bbf\u95ee\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h4>2. \u4f7f\u7528Python\u8fdb\u884cSPARQL\u67e5\u8be2<\/h4>\n<\/p>\n<p><p>Python\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7HTTP\u8bf7\u6c42\u4e0eFuseki\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\uff0c\u6267\u884cSPARQL\u67e5\u8be2\u548c\u66f4\u65b0\u3002\u5e38\u7528\u7684\u5e93\u6709<code>requests<\/code>\u548c<code>SPARQLWrapper<\/code>\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528SPARQLWrapper\u5e93<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from SPARQLWrapper import SPARQLWrapper, JSON<\/p>\n<p>sparql = SPARQLWrapper(&quot;http:\/\/localhost:3030\/dataset\/query&quot;)<\/p>\n<p>sparql.setQuery(&quot;&quot;&quot;<\/p>\n<p>    SELECT ?subject ?predicate ?object<\/p>\n<p>    WHERE {<\/p>\n<p>        ?subject ?predicate ?object<\/p>\n<p>    }<\/p>\n<p>&quot;&quot;&quot;)<\/p>\n<p>sparql.setReturnFormat(JSON)<\/p>\n<p>results = sparql.query().convert()<\/p>\n<p>for result in results[&quot;results&quot;][&quot;bindings&quot;]:<\/p>\n<p>    print(result[&quot;subject&quot;][&quot;value&quot;], result[&quot;predicate&quot;][&quot;value&quot;], result[&quot;object&quot;][&quot;value&quot;])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528requests\u5e93<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>query = &quot;&quot;&quot;<\/p>\n<p>SELECT ?subject ?predicate ?object<\/p>\n<p>WHERE {<\/p>\n<p>    ?subject ?predicate ?object<\/p>\n<p>}<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<p>response = requests.post(&quot;http:\/\/localhost:3030\/dataset\/query&quot;, data={&quot;query&quot;: query})<\/p>\n<p>print(response.json())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h4>3. \u6267\u884cSPARQL\u66f4\u65b0<\/h4>\n<\/p>\n<p><p>\u7c7b\u4f3c\u4e8e\u67e5\u8be2\uff0cSPARQL\u66f4\u65b0\u4e5f\u53ef\u4ee5\u901a\u8fc7Python\u53d1\u9001\u5230Fuseki\u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528SPARQLWrapper\u6216\u76f4\u63a5\u4f7f\u7528requests\u5e93\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from SPARQLWrapper import SPARQLWrapper, POST, JSON<\/p>\n<p>sparql = SPARQLWrapper(&quot;http:\/\/localhost:3030\/dataset\/update&quot;)<\/p>\n<p>sparql.setMethod(POST)<\/p>\n<p>sparql.setQuery(&quot;&quot;&quot;<\/p>\n<p>    INSERT DATA { &lt;http:\/\/example\/subject&gt; &lt;http:\/\/example\/predicate&gt; &lt;http:\/\/example\/object&gt; }<\/p>\n<p>&quot;&quot;&quot;)<\/p>\n<p>sparql.setReturnFormat(JSON)<\/p>\n<p>sparql.query()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528JENA\u63d0\u4f9b\u7684REST API<\/h3>\n<\/p>\n<p><p>\u9664\u4e86SPARQL\u63a5\u53e3\uff0cJena\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9bREST API\uff0c\u7528\u4e8e\u6570\u636e\u96c6\u7684\u7ba1\u7406\u3001\u4e0a\u4f20\u548c\u4e0b\u8f7dRDF\u6570\u636e\u7b49\u3002\u53ef\u4ee5\u901a\u8fc7HTTP\u8bf7\u6c42\u76f4\u63a5\u4e0e\u8fd9\u4e9bAPI\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4e0a\u4f20RDF\u6570\u636e<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>rdf_data = &quot;&quot;&quot;<\/p>\n<p>@prefix ex: &lt;http:\/\/example.org\/&gt; .<\/p>\n<p>ex:subject ex:predicate ex:object .<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<p>headers = {&quot;Content-Type&quot;: &quot;text\/turtle&quot;}<\/p>\n<p>response = requests.post(&quot;http:\/\/localhost:3030\/dataset\/data&quot;, headers=headers, data=rdf_data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0b\u8f7dRDF\u6570\u636e<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">response = requests.get(&quot;http:\/\/localhost:3030\/dataset\/data?default&quot;)<\/p>\n<p>print(response.text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u4f7f\u7528Python\u5e93\u5982RDFlib\u5904\u7406RDF\u6570\u636e<\/h3>\n<\/p>\n<p><p>RDFlib\u662f\u4e00\u4e2a\u7528\u4e8e\u5904\u7406RDF\u6570\u636e\u7684Python\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684API\u7528\u4e8e\u521b\u5efa\u3001\u89e3\u6790\u3001\u5e8f\u5217\u5316\u548c\u67e5\u8be2RDF\u56fe\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5RDFlib<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7pip\u5b89\u88c5RDFlib\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install rdflib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528RDFlib\u521b\u5efa\u548c\u64cd\u4f5cRDF\u56fe<\/h4>\n<\/p>\n<ul>\n<li>\n<p><strong>\u521b\u5efaRDF\u56fe<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from rdflib import Graph, URIRef, Literal<\/p>\n<p>g = Graph()<\/p>\n<p>subject = URIRef(&quot;http:\/\/example.org\/subject&quot;)<\/p>\n<p>predicate = URIRef(&quot;http:\/\/example.org\/predicate&quot;)<\/p>\n<p>obj = Literal(&quot;object&quot;)<\/p>\n<p>g.add((subject, predicate, obj))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u8be2RDF\u56fe<\/strong>\uff1a<\/p>\n<p>RDFlib\u652f\u6301SPARQL\u67e5\u8be2\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728Python\u4e2d\u6267\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">result = g.query(&quot;&quot;&quot;<\/p>\n<p>SELECT ?subject ?predicate ?object<\/p>\n<p>WHERE {<\/p>\n<p>    ?subject ?predicate ?object<\/p>\n<p>}<\/p>\n<p>&quot;&quot;&quot;)<\/p>\n<p>for row in result:<\/p>\n<p>    print(row)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e8f\u5217\u5316RDF\u56fe<\/strong>\uff1a<\/p>\n<p>RDF\u56fe\u53ef\u4ee5\u5e8f\u5217\u5316\u4e3a\u591a\u79cd\u683c\u5f0f\uff0c\u5982Turtle\u3001XML\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(g.serialize(format=&quot;turtle&quot;).decode(&quot;utf-8&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u96c6\u6210\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u5c06Python\u4e0eJena\u96c6\u6210\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u5e94\u7528\u573a\u666f\uff0c\u5982\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u6570\u636e\u96c6\u6210\u4e0e\u8f6c\u6362<\/strong>\uff1a\u5c06\u4e0d\u540c\u6765\u6e90\u7684RDF\u6570\u636e\u96c6\u6210\u5728\u4e00\u8d77\uff0c\u4f7f\u7528SPARQL\u8fdb\u884c\u8f6c\u6362\u548c\u67e5\u8be2\u3002<\/li>\n<li><strong>\u77e5\u8bc6\u56fe\u8c31\u6784\u5efa<\/strong>\uff1a\u4f7f\u7528RDF\u548cSPARQL\u6784\u5efa\u548c\u7ba1\u7406\u77e5\u8bc6\u56fe\u8c31\u3002<\/li>\n<li><strong>\u8bed\u4e49\u641c\u7d22\u5f15\u64ce<\/strong>\uff1a\u4f7f\u7528SPARQL\u67e5\u8be2\u5f15\u64ce\u5b9e\u73b0\u8bed\u4e49\u641c\u7d22\u529f\u80fd\u3002<\/li>\n<li><strong>\u6570\u636e\u5206\u6790\u4e0e\u53ef\u89c6\u5316<\/strong>\uff1a\u7ed3\u5408Python\u7684\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u5e93\uff0c\u5bf9RDF\u6570\u636e\u8fdb\u884c\u5206\u6790\u548c\u5c55\u793a\u3002<\/li>\n<\/ul>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u60a8\u5e94\u8be5\u638c\u63e1\u4e86\u5982\u4f55\u4f7f\u7528Python\u4e0eJena\u8fdb\u884c\u96c6\u6210\u7684\u591a\u79cd\u65b9\u5f0f\u3002\u65e0\u8bba\u662f\u901a\u8fc7SPARQL\u4e0eFuseki\u8fdb\u884c\u901a\u4fe1\uff0c\u8fd8\u662f\u4f7f\u7528Jena\u7684REST API\uff0c\u4ea6\u6216\u662f\u4f7f\u7528Python\u5e93\u5982RDFlib\uff0c\u90fd\u662f\u5b9e\u73b0RDF\u6570\u636e\u5904\u7406\u548c\u67e5\u8be2\u7684\u6709\u6548\u624b\u6bb5\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6848\uff0c\u5b9e\u73b0\u8bed\u4e49Web\u548c\u94fe\u63a5\u6570\u636e\u5e94\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>Python\u4e2d\u5982\u4f55\u4e0eJena\u8fdb\u884c\u4ea4\u4e92\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Apache Jena\u7684REST API\u6216\u901a\u8fc7Jena\u7684\u547d\u4ee4\u884c\u5de5\u5177\u6765\u4e0eJena\u8fdb\u884c\u4ea4\u4e92\u3002\u5bf9\u4e8e\u9700\u8981\u5904\u7406\u7684RDF\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684requests\u5e93\u6765\u53d1\u9001HTTP\u8bf7\u6c42\uff0c\u83b7\u53d6\u6216\u66f4\u65b0\u6570\u636e\u3002\u6b64\u5916\uff0cPython\u4e5f\u6709\u4e00\u4e9b\u5e93\u5982rdflib\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5904\u7406RDF\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u5e76\u901a\u8fc7Jena\u7684API\u6765\u7ba1\u7406\u548c\u67e5\u8be2\u6570\u636e\u3002<\/p>\n<p><strong>\u4f7f\u7528Jena\u7684Python\u5e93\u6709\u54ea\u4e9b\u63a8\u8350\uff1f<\/strong><br \/>\u867d\u7136Jena\u4e3b\u8981\u662fJava\u7f16\u5199\u7684\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e9bPython\u5e93\u4e0e\u5176\u7ed3\u5408\u4f7f\u7528\u3002\u63a8\u8350\u4f7f\u7528<code>rdflib<\/code>\uff0c\u8fd9\u662f\u4e00\u4e2a\u5f3a\u5927\u7684Python\u5e93\uff0c\u53ef\u4ee5\u521b\u5efa\u3001\u89e3\u6790\u548c\u67e5\u8be2RDF\u56fe\u3002\u901a\u8fc7SPARQL\u67e5\u8be2\uff0c\u7528\u6237\u80fd\u591f\u76f4\u63a5\u4e0e\u5b58\u50a8\u5728Jena\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u4ea4\u4e92\u3002\u6b64\u5916\uff0c\u4f7f\u7528<code>pyjena<\/code>\u5e93\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5728Python\u4e2d\u6267\u884cSPARQL\u67e5\u8be2\u548c\u6570\u636e\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5b89\u88c5\u5e76\u914d\u7f6eJena\uff1f<\/strong><br \/>\u8981\u5728Python\u4e2d\u4f7f\u7528Jena\uff0c\u9996\u5148\u9700\u8981\u5728\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5Apache Jena\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u4eceJena\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u89e3\u538b\u6587\u4ef6\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u4fbf\u4e8e\u8bbf\u95eeJena\u7684\u547d\u4ee4\u884c\u5de5\u5177\u3002\u4e4b\u540e\uff0c\u786e\u4fddPython\u73af\u5883\u4e2d\u5b89\u88c5\u4e86\u4e0eJena\u4ea4\u4e92\u6240\u9700\u7684\u5e93\uff0c\u5982requests\u548crdflib\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u7528\u6237\u5c06\u80fd\u591f\u5728Python\u4e2d\u987a\u5229\u4f7f\u7528Jena\u8fdb\u884cRDF\u6570\u636e\u5904\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Jena\u4e0ePython\u8fdb\u884c\u96c6\u6210\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\uff1a\u901a\u8fc7SPARQL\u4e0eJena Fuseki\u8fdb\u884c\u901a\u4fe1\u3001\u4f7f\u7528Jena [&hellip;]","protected":false},"author":3,"featured_media":929249,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/929246"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=929246"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/929246\/revisions"}],"predecessor-version":[{"id":929250,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/929246\/revisions\/929250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/929249"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=929246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=929246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=929246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}