{"id":1879,"date":"2016-09-13T01:00:00","date_gmt":"2016-09-12T16:00:00","guid":{"rendered":"https:\/\/ecpplus.net\/weblog\/?p=1879"},"modified":"2020-06-06T19:23:13","modified_gmt":"2020-06-06T10:23:13","slug":"%e3%82%b0%e3%83%a9%e3%83%95db-neo4j-%e3%81%a7%e7%b5%8c%e8%b7%af%e6%a4%9c%e7%b4%a2","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/%e3%82%b0%e3%83%a9%e3%83%95db-neo4j-%e3%81%a7%e7%b5%8c%e8%b7%af%e6%a4%9c%e7%b4%a2\/","title":{"rendered":"\u30b0\u30e9\u30d5DB neo4j \u3067\u7d4c\u8def\u691c\u7d22"},"content":{"rendered":"<p>\u6700\u8fd1 NoSQL \u3092\u3044\u304f\u3064\u304b\u4f7f\u3063\u3066\u3044\u3066\u3001\u30b0\u30e9\u30d5DB\u306e neo4j \u304c\u9762\u767d\u304b\u3063\u305f\u3002<\/p>\n<p>\u30b0\u30e9\u30d5DB\u306e\u7279\u5fb4\u306f\u3001RDB\u3067\u306f\u96e3\u3057\u3044\u95a2\u9023\u6027\u306e\u691c\u7d22\u3092\u5f97\u610f\u3068\u3057\u3066\u3044\u308b\u3053\u3068\u3067\u3001\u5b9f\u969b\u306b\u7d4c\u8def\u691c\u7d22\u3084\u30ea\u30b3\u30e1\u30f3\u30c9\u30a8\u30f3\u30b8\u30f3\u306a\u3069\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u9762\u767d\u304b\u3063\u305f\u306e\u306f\u3001RDB\u3067\u306f\u96e3\u3057\u3044\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306e\u8a50\u6b3a\u691c\u77e5\u306a\u3069\u3067\u3082\u4f7f\u3048\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eba\u9593\u304c\u30ed\u30b8\u30c3\u30af\u3092\u4f5c\u308b\u306e\u304c\u82e6\u624b\u306a\u90e8\u5206\u304c\u5f97\u610f\u3068\u3044\u3046\u9762\u3067\u3001\u6a5f\u68b0\u5b66\u7fd2\u3068\u304b\u306b\u901a\u305a\u308b\u697d\u3057\u3055\u304c\u3042\u308a\u305d\u3046\u3002<\/p>\n<p>\u521d\u5fc3\u8005\u306a\u306e\u3067\u3001\u7528\u8a9e\u306e\u4f7f\u3044\u65b9\u304c\u304a\u304b\u3057\u304b\u3063\u305f\u308a\u3001\u30af\u30bd\u30b3\u30fc\u30c9\u3060\u3063\u305f\u308a\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u306e\u70b9\u306f\u3054\u5bb9\u8d66\u304f\u3060\u3055\u3044\u3002\u3002<\/p>\n<p>\u8a66\u3057\u306b\u3001\u96fb\u8eca\u306e\u7d4c\u8def\u691c\u7d22\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>OSX \u3067\u7c21\u5358\u306b\u8a66\u305b\u307e\u3059\u3002<\/p>\n<h1>\u6e96\u5099<\/h1>\n<h2>install<\/h2>\n<pre><code class=\"line-numbers\">$ brew install neo4j\n<\/code><\/pre>\n<h2>run<\/h2>\n<pre><code class=\"line-numbers\">$ neo4j start\n<\/code><\/pre>\n<p>\u3068\u3084\u308b\u3068  background \u3067\u7acb\u3061\u4e0a\u304c\u308b\u306e\u3067\u3059\u304c\u3001\u4f55\u5ea6\u3084\u3063\u3066\u3082\u7acb\u3061\u4e0a\u304c\u3089\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u3001\u305d\u306e\u5834\u5408\u306f\u3001<\/p>\n<pre><code class=\"line-numbers\">$ neo4j console\n<\/code><\/pre>\n<p>\u3068\u3084\u308b\u3068\u30d5\u30a9\u30a2\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u3001\u78ba\u5b9f\u306b\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002\uff08\u8b0e\uff09<\/p>\n<h2>reset<\/h2>\n<p>\u8272\u3005\u3084\u3063\u3066\u3066\u30c7\u30fc\u30bf\u3092\u5168\u6d88\u53bb\u3057\u305f\u304f\u306a\u3063\u305f\u6642\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3069\u3092\u8aad\u307f\u66ff\u3048\u3066\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4e71\u66b4\u306b\u6d88\u305b\u307e\u3059\u3002 <strong>\u5b9f\u884c\u6642\u306f\u8272\u3005\u306a\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044!<\/strong><\/p>\n<pre><code class=\"line-numbers\">$ neo4j stop\n$ rm -rf \/usr\/local\/Cellar\/neo4j\/3.0.4\/libexec\/data\/databases\/graph.db\n$ neo4j start\n<\/code><\/pre>\n<h2>\u30d6\u30e9\u30a6\u30b6\u3067\u898b\u308b<\/h2>\n<p><code>http:\/\/localhost:7474\/<\/code><\/p>\n<p>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u89aa\u5207\u305d\u3046\u306a\u753b\u9762\u304c\u73fe\u308c\u307e\u3059\u3002\u4e0a\u306e\u3068\u3053\u308d\u306b\u30b3\u30de\u30f3\u30c9\u5165\u308c\u308b\u3068\u8272\u3005\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u2193\u306e\u30b7\u30a7\u30eb\u306f\u3001<code>;<\/code> \u3067\u533a\u5207\u3063\u3066\u8907\u6570\u5b9f\u884c\u51fa\u6765\u308b\u306e\u3067\u3059\u304c\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u898b\u308b\u5834\u5408\u306f1\u56de\u306e\u5b9f\u884c\u3067\u5fc5\u305a1\u56de\u3057\u304b\u5b9f\u884c\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u540c\u3058\u5909\u6570\u304c2\u56de\u73fe\u308c\u305f\u308a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306a\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002<\/p>\n<h2>\u30b7\u30a7\u30eb\u3067\u898b\u308b<\/h2>\n<pre><code class=\"line-numbers\">$ neo4j-shell\n<\/code><\/pre>\n<p>\u3067\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u898b\u305f\u6642\u306b\u3001\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u4ff3\u512a\u3068\u6620\u753b\u3068\u5f79\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30c9\u3057\u3066\u3001\u8a66\u305b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u3084\u308b\u3068\u306a\u3093\u3068\u306a\u304f\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<h1>\u7c21\u5358\u306a\u6982\u5ff5\u306e\u8aac\u660e<\/h1>\n<p>neo4j \u306f\u5b8c\u5168\u306b\u30b9\u30ad\u30fc\u30de\u30ec\u30b9\u3067\u3059\u3002INDEX \u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u51fa\u6765\u307e\u3059\u304c\u3001INDEX \u306e\u30b9\u30ad\u30fc\u30de\u3082\u6c7a\u3081\u306a\u304f\u3066\u5927\u4e08\u592b\u306a\u3088\u3046\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30ce\u30fc\u30c9<\/li>\n<li>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u767b\u5834\u4eba\u7269\u304c\u3044\u307e\u3059\u3002\u8a00\u8449\u304b\u3089\u9023\u60f3\u3055\u308c\u308b\u901a\u308a\u306b\u3001\u30ce\u30fc\u30c9\u304c\u5b9f\u969b\u306e\u30e2\u30ce\u3092\u8868\u3057\u3066\u3044\u3066\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306f\u30ce\u30fc\u30c9\u3068\u30ce\u30fc\u30c9\u3092\u3064\u306a\u3050\u95a2\u9023\u6027\u3092\u8868\u3057\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u3001\u30e9\u30d9\u30eb(\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u3044\u3046\u3068\u3053\u308d\u306e\u30af\u30e9\u30b9\u3068\u540c\u3058\u3068\u601d\u3063\u3066OK\u305d\u3046\uff09\u3068\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u3053\u308c\u306f\u305d\u306e\u307e\u307e\u306e\u610f\u5473\uff09\u3092\u6301\u3066\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u66f8\u7c4d\u304b\u3089\u306e\u53d7\u3051\u58f2\u308a\u3067\u3059\u304c\u3001\u3069\u3061\u3089\u3082\u62bd\u8c61\u7684\u306a\u306e\u3067\u3001RDB\u306e\u3088\u3046\u306b\u4e8b\u524d\u306b\u8a2d\u8a08\u3059\u308b\u3053\u3068\u306f\u96e3\u3057\u304f\u3001\u30c7\u30fc\u30bf\u69cb\u9020\u306f\u8a66\u884c\u932f\u8aa4\u3057\u306a\u304c\u3089\u30c8\u30e9\u30a4\u30a2\u30f3\u30c9\u30a8\u30e9\u30fc\u3067\u6c7a\u3081\u3066\u3044\u304f\u3082\u306e\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4eca\u3084\u308d\u3046\u3068\u3057\u3066\u3044\u308b\u8def\u7dda\u691c\u7d22\u306b\u5f53\u3066\u306f\u3081\u308b\u3068\u3001<\/p>\n<ul>\n<li>\u30ce\u30fc\u30c9 \u304c \u99c5<\/li>\n<li>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3 \u304c \u7dda\u8def<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3082\u3042\u308a\u305d\u3046\u3067\u3059\u304c\u3001\u666e\u901a\u3001\u6025\u884c\u3001\u7279\u6025\u3067\u305d\u308c\u305e\u308c\u6b62\u307e\u308b\u99c5\u304c\u7570\u306a\u308b\u306e\u3067\u3001\u300c\u99c5A\u304b\u3089\u99c5B\u306b1\u3064\u9032\u3080\u300d\u3068\u3044\u3046\u60c5\u5831\u3092\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u6301\u3064\u3068\u3044\u3046\u65b9\u91dd\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30ce\u30fc\u30c9 \u304c \u99c5(\u30e9\u30d9\u30eb\u306f <code>Station<\/code>) \u3067\u3001\u3053\u3053\u3067\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066 <code>\u99c5\u540d(name)<\/code><\/li>\n<li>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3 \u304c \u7d4c\u8def(\u30e9\u30d9\u30eb\u306f <code>Section<\/code>)\u3067\u3001\u3053\u3053\u3067\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066 <code>\u7a2e\u5225(kind)<\/code>, <code>\u6240\u8981\u6642\u9593(minutes)<\/code> \u203b\u7a2e\u5225\u306f\u3001\u666e\u901a\u30fb\u6025\u884c\u30fb\u7279\u6025\u3092\u8868\u3059<\/li>\n<\/ul>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u306e\u30d1\u30bf\u30fc\u30f3\u3068\u3057\u3066\u306f\u3001\u7d4c\u8def\u3092 <code>NormalSection<\/code> (\u5404\u505c\u306e\u7d4c\u8def) \u3068 <code>ExpressSection<\/code> (\u6025\u884c\u306e\u7d4c\u8def) \u3068\u5206\u3051\u305f\u308a\u3001\u5168\u99c5\u9593\u3092 Relation \u3068\u3057\u3066\u6301\u3064\u306a\u3069\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u4eca\u56de\u306f\u3001\u2191\u3067\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h1>\u7d4c\u8def\u691c\u7d22\u3092\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3053\u306e\u5f8c\u306f\u3001\u7a7a\u60f3\u306e3\u8def\u7dda\u3092\u3067\u3063\u3061\u4e0a\u3052\u3066\u3001\u8def\u7dda\u691c\u7d22\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u5b9a\u7fa9<\/h2>\n<p><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Group@2x-1024x661.png\" alt=\"\u8def\u7dda\u56f3\" width=\"660\" height=\"426\" class=\"alignnone size-large wp-image-1880 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Group@2x-1024x661.png 1024w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Group@2x-300x194.png 300w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Group@2x-768x495.png 768w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Group@2x.png 1392w\" data-sizes=\"(max-width: 660px) 100vw, 660px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 660px; --smush-placeholder-aspect-ratio: 660\/426;\" \/><\/p>\n<ul>\n<li>\u8d64\u8def\u7dda\u3001\u9ec4\u8def\u7dda\u3001\u9752\u8def\u7dda\u306e3\u8def\u7dda\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u3069\u306e\u8def\u7dda\u3082\u5fc5\u305a\u7aef\u304b\u3089\u7aef\u307e\u3067\u3057\u304b\u884c\u304b\u306a\u3044\u3068\u3057\u307e\u3059\u3002<\/li>\n<li>2\u3064\u4ee5\u4e0a\u306e\u8def\u7dda\u304c\u4ea4\u308f\u308b\u99c5\u3067\u306f\u4e57\u308a\u63db\u3048\u304c\u51fa\u6765\u307e\u3059\u3002<\/li>\n<li>\u7a2e\u5225\u306f\u3001\u5404\u99c5\u505c\u8eca\u3068\u6025\u884c\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002\n<ul>\n<li>\u5404\u99c5\u505c\u8eca\u306f\u3001\u5168\u90e8\u306e\u99c5\u306b\u505c\u8eca\u3057\u307e\u3059\u3002<\/li>\n<li>\u6025\u884c\u306f\u3001\u80cc\u666f\u304c\u9ed2\u3044\u99c5\u306e\u307f\u306b\u6b62\u307e\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u7dda\u8def\u306b\u66f8\u3044\u3066\u3042\u308b\u6570\u5b57\u306f\u3001\u99c5\u9593\u306e\u6240\u8981\u6642\u9593\u3067\u3059\u3002\n<ul>\n<li>\u66f2\u7dda\u3067\u66f8\u3044\u3066\u3042\u308b\u3068\u3053\u308d\u306f\u3001\u6025\u884c\u3067\u79fb\u52d5\u3057\u305f\u5834\u5408\u306e\u6240\u8981\u6642\u9593\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u5177\u5408\u3067\u3059\u3002<\/p>\n<h2>\u306f\u3058\u3081\u3066\u306e\u30ce\u30fc\u30c9<\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u3082\u30b7\u30a7\u30eb\u3067\u3082\u826f\u3044\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u304c\u6253\u3066\u308b\u72b6\u614b\u306b\u3057\u3066\u3001\u4e0b\u8a18\u3092\u6253\u3061\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">CREATE (station:Station {name: '\u6d77\u5cb81'});\n<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001<\/p>\n<pre><code class=\"line-numbers\">Added 1 label, created 1 node, set 1 properties, statement executed in 342 ms.\n<\/code><\/pre>\n<p>\u6210\u529f\u3057\u305f\u3063\u307d\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u305f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u72b6\u614b\u3067<\/p>\n<pre><code class=\"line-numbers\">MATCH (n) RETURN n;\n<\/code><\/pre>\n<p>\u3068\u3059\u308b\u3068\u3001\u4e38\u304c1\u500b\u3060\u3051\u753b\u9762\u4e0a\u306b\u51fa\u3066\u304d\u305f\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u308c\u304c\u30ce\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<h2>\u306f\u3058\u3081\u3066\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3<\/h2>\n<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30ce\u30fc\u30c9\u9593\u306e\u95a2\u4fc2\u306a\u306e\u3067\u3001\u30ce\u30fc\u30c9\u3092\u3082\u30461\u500b\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">CREATE (station:Station {name: '\u6d77\u5cb82'});\n<\/code><\/pre>\n<p>\u30ce\u30fc\u30c9\u30922\u500b\u6307\u5b9a\u3057\u3066\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">MATCH (from:Station { name: '\u6d77\u5cb81' })\nMATCH (dest:Station { name: '\u6d77\u5cb82' })\nCREATE (from)-[:Section{minutes:3, kind:'\u5404\u505c'}]-&gt;(dest);\n<\/code><\/pre>\n<p>MATCH \u3067\u5909\u6570\u306b\u675f\u7e1b\u3059\u308b\u306e\u306f\u3001Elixir \u3063\u307d\u3044\u3067\u3059\u3002(\u6700\u8fd1\u4f7f\u3044\u59cb\u3081\u305f)<\/p>\n<p>\u3082\u3046\u4e00\u5ea6\u5148\u307b\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n\u3053\u306e\u610f\u5473\u306f\u3001\u5168\u3066\u306b\u30de\u30c3\u30c1\u3059\u308b n \u3092\u8fd4\u3059\u3002\u306a\u306e\u3067\u5168\u90e8\u306e Nodes \u304c\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">MATCH (n) RETURN n;\n<\/code><\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-2.png\" alt=\"node\" width=\"58\" height=\"160\" class=\"alignnone size-full wp-image-1881 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 58px; --smush-placeholder-aspect-ratio: 58\/160;\" \/><\/p>\n<h2>MERGE<\/h2>\n<p><code>CREATE<\/code> \u3092\u4f7f\u3046\u3068\u3001\u540c\u3058\u3082\u306e\u304c\u4f55\u500b\u3082\u51fa\u6765\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u304c\u3001\u4ee3\u308f\u308a\u306b MERGE \u3092\u4f7f\u3046\u3068\u3001\u540c\u3058\u5c5e\u6027\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u3089\u305d\u308c\u3092\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">MERGE (station:Station {name: '\u6d77\u5cb81'});\n<\/code><\/pre>\n<p>\u3068\u3059\u308b\u3068<\/p>\n<pre><code class=\"line-numbers\">(no changes, no rows)\n<\/code><\/pre>\n<p>\u3068\u306a\u3063\u3066\u3001\u4f55\u3082\u8d77\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u4ee5\u5f8c MERGE \u3067\u66f8\u304d\u307e\u3059\u3002(\u4f46\u3057\u3053\u308c\u304c\u826f\u3044\u65b9\u6cd5\u306a\u306e\u304b\u306f\u4e0d\u660e)<\/p>\n<h2>\u30c7\u30fc\u30bf\u4f5c\u6210<\/h2>\n<p>\u8af8\u3005\u306e\u30c7\u30fc\u30bf\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/gist.github.com\/ecpplus\/87a9b239110093cbb7239a58711ea282\" target=\"_blank\" rel=\"noopener noreferrer\">\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u767b\u9332\u306e\u30af\u30a8\u30ea<\/a><\/p>\n<pre><code class=\"line-numbers\">MATCH (n) RETURN n;\n<\/code><\/pre>\n<p>\u3068\u3059\u308b\u3068\u3001\u3054\u3061\u3083\u3063\u3068\u51fa\u308b\u306e\u3067\u3059\u304c\u3001\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u306a\u3093\u3068\u306a\u304f\u4e26\u3079\u308b\u3068\u3001\u5148\u307b\u3069\u306e\u56f3\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff01<br \/>\n\u3053\u306e\u5f8c\u306f\u3001\u7d4c\u8def\u3092\u691c\u7d22\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-9.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-9.png\" alt=\"graph (9)\" width=\"925\" height=\"391\" class=\"alignnone size-full wp-image-1892 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-9.png 925w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-9-300x127.png 300w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-9-768x325.png 768w\" data-sizes=\"(max-width: 925px) 100vw, 925px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 925px; --smush-placeholder-aspect-ratio: 925\/391;\" \/><\/a><\/p>\n<h2>\u7d4c\u8def\u691c\u7d22<\/h2>\n<p>\u3068\u308a\u3042\u3048\u305a\u30012\u99c5\u5148\u307e\u3067\u306e\u7d4c\u8def\u60c5\u5831\u3092\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">MATCH (from:Station {name: \"\u6d77\u5cb81\"}), (to:Station {name: \"\u6d77\u5cb83\"}), path=((from)-[:Section*1..2]-&gt;(to))\nRETURN from, to, path\n<\/code><\/pre>\n<p>Section\u306e\u3068\u3053\u308d\u3067\u306f\u30011\u500b\u304b\u30892\u500b\u307e\u3067\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u631f\u3080\u7d4c\u8def\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6d77\u5cb81\u304b\u3089\u6d77\u5cb83\u306b\u884c\u304f\u306b\u306f\u3001\u5404\u505c\u30672\u500b\u9032\u3080\u304b\u3001\u6025\u884c\u30671\u500b\u9032\u3081\u3070\u826f\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-10.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-10.png\" alt=\"graph (10)\" width=\"150\" height=\"290\" class=\"alignnone size-full wp-image-1895 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/290;\" \/><\/a><\/p>\n<p>\u6b21\u306b\u3001REDUCE\u3092\u4f7f\u3063\u3066\u6240\u8981\u6642\u9593\u3092\u7b97\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">MATCH (from:Station {name: \"\u6d77\u5cb81\"}), (to:Station {name: \"\u5c71b\"}), path=((from)-[section:Section*1..3]-&gt;(to))\nRETURN from, to,path,\nREDUCE(totalMinutes = 0, s in section | totalMinutes + s.minutes) as \u6240\u8981\u6642\u9593\nORDER BY \u6240\u8981\u6642\u9593\nLIMIT 10\n<\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u51fa\u529b\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u4f55\u3084\u3089\u3044\u3063\u3071\u3044\u51fa\u3066\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-11.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-11.png\" alt=\"graph (11)\" width=\"249\" height=\"264\" class=\"alignnone size-full wp-image-1897 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 249px; --smush-placeholder-aspect-ratio: 249\/264;\" \/><\/a><\/p>\n<p>Rows\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u6240\u8981\u6642\u9593\u304c\u8868\u793a\u3055\u308c\u3066\u6240\u8981\u6642\u9593\u9806\u306b\u4e26\u3093\u3067\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j.png\" alt=\"Neo4j\" width=\"1111\" height=\"298\" class=\"alignnone size-full wp-image-1884 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j.png 1111w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-300x80.png 300w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-768x206.png 768w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-1024x275.png 1024w\" data-sizes=\"(max-width: 1111px) 100vw, 1111px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1111px; --smush-placeholder-aspect-ratio: 1111\/298;\" \/><\/a><br \/>\n\u3044\u3044\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n<pre><code class=\"line-numbers\">MATCH (from:Station {name: \"\u6d77\u5cb81\"}), (to:Station {name: \"\u5c71b\"}), path=((from)-[section:Section*1..3]-&gt;(to))\nWITH\nEXTRACT(section in rels(path) | section.kind) as \u7d4c\u8def,\nEXTRACT(station in nodes(path) | station.name) as \u4e57\u308a\u63db\u3048\u99c5,\nREDUCE(totalMinutes = 0, s in section | totalMinutes + s.minutes) as \u6240\u8981\u6642\u9593\nRETURN \u6240\u8981\u6642\u9593, \u4e57\u308a\u63db\u3048\u99c5, \u7d4c\u8def\nORDER BY \u6240\u8981\u6642\u9593\nLIMIT 10;\n<\/code><\/pre>\n<p>\u99c5\u3068\u533a\u9593\u3092\u30c6\u30ad\u30b9\u30c8\u3067\u4e26\u3079\u3066\u307f\u307e\u3059\u3002\u672c\u5f53\u306f <code>\u6d77\u5cb81-&gt;\u6025\u884c-&gt;\u6d77\u5cb83-&gt;\u5404\u505c-&gt;\u5c71b<\/code> \u307f\u305f\u3044\u306b\u8868\u793a\u3057\u305f\u304c\u3001\u307e\u3060\u305d\u306e\u3084\u308a\u65b9\u304c\u5206\u304b\u3063\u3066\u3044\u306a\u3044\u2026\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-2.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-2.png\" alt=\"Neo4j 2\" width=\"1228\" height=\"209\" class=\"alignnone size-full wp-image-1886 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-2.png 1228w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-2-300x51.png 300w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-2-768x131.png 768w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-2-1024x174.png 1024w\" data-sizes=\"(max-width: 1228px) 100vw, 1228px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1228px; --smush-placeholder-aspect-ratio: 1228\/209;\" \/><\/a><\/p>\n<h2>\u6700\u77ed\u7d4c\u8def\u691c\u7d22<\/h2>\n<pre><code class=\"line-numbers\">MATCH (from:Station {name: \"\u6d77\u5cb81\"}), (to:Station {name: \"\u5927\u90fd\u4f1a\"}), path=allShortestPaths ((from)-[section:Section*]-&gt;(to))\nWITH\nEXTRACT(section in rels(path) | section.kind) as \u7d4c\u8def,\nEXTRACT(station in nodes(path) | station.name) as \u4e57\u308a\u63db\u3048\u99c5,\nREDUCE(totalMinutes = 0, s in section | totalMinutes + s.minutes) as \u6240\u8981\u6642\u9593,\npath\nRETURN \u6240\u8981\u6642\u9593, \u4e57\u308a\u63db\u3048\u99c5, \u7d4c\u8def, path\nORDER BY \u6240\u8981\u6642\u9593\nLIMIT 10;\n<\/code><\/pre>\n<p>allShortestPaths \u3067\u3001\u6700\u77ed\u7d4c\u8def\u3068\u306a\u3063\u305f\u3082\u306e\u306e\u7d50\u679c\u4e00\u89a7\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002\u753a\u5074\u3092\u7d4c\u7531\u3057\u3066\u3044\u304f\u306e\u3068\u3001\u6d77\u2192\u5c71\u3068\u7d4c\u7531\u3057\u3066\u3044\u304f2\u3064\u306e\u30eb\u30fc\u30c8\u304c\u51fa\u3066\u3044\u307e\u3059\u3002shortestPath \u306b\u3059\u308b\u3068\u6700\u77ed\u306e\u3082\u306e\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-8.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-8.png\" alt=\"graph (8)\" width=\"369\" height=\"217\" class=\"alignnone size-full wp-image-1889 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-8.png 369w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/graph-8-300x176.png 300w\" data-sizes=\"(max-width: 369px) 100vw, 369px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 369px; --smush-placeholder-aspect-ratio: 369\/217;\" \/><\/a><\/p>\n<p>\u3053\u306e\u4f8b\u3060\u3068\u3001\u753a\u3092\u7d4c\u7531\u3057\u3066\u3044\u304f\u307b\u3046\u304c\u65e9\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-3.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-3.png\" alt=\"Neo4j 3\" width=\"1228\" height=\"222\" class=\"alignnone size-full wp-image-1887 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-3.png 1228w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-3-300x54.png 300w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-3-768x139.png 768w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-3-1024x185.png 1024w\" data-sizes=\"(max-width: 1228px) 100vw, 1228px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1228px; --smush-placeholder-aspect-ratio: 1228\/222;\" \/><\/a><\/p>\n<h2>\u30c8\u30e9\u30d6\u30eb\u6642\u306e\u8fc2\u56de\u7d4c\u8def\u306e\u691c\u7d22<\/h2>\n<p><code>\u5c71c<\/code> -> <code>\u753aE<\/code> \u3078\u884c\u304f\u3068\u3044\u3046\u7d4c\u8def\u3092\u8003\u3048\u307e\u3059\u3002\u901a\u5e38\u6642\u306f\u3001<code>\u5c71c<\/code> -> <code>\u5c71d<\/code> -> <code>\u753aC<\/code> -> <code>\u753aD<\/code> -> <code>\u753aE<\/code> \u3068\u9032\u3080\u306e\u304c\u65e9\u3044\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u4eca\u3001<code>\u753aC<\/code> \u3068 <code>\u5c71d<\/code> \u306e\u9593\u3067\u4f55\u3089\u304b\u306e\u30c8\u30e9\u30d6\u30eb\u304c\u3042\u308a\u3001\u305d\u306e\u533a\u9593\u306e\u6240\u8981\u6642\u9593\u304c120\u5206\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff01\u305d\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"line-numbers\">MATCH (from:Station {name: \"\u5c71c\"}),(to:Station {name: \"\u753aE\"}), path=((from)-[section:Section*1..9]-&gt;(to))\nWITH\nEXTRACT(section in rels(path) | section.kind) as \u7d4c\u8def,\nEXTRACT(station in nodes(path) | station.name) as \u4e57\u308a\u63db\u3048\u99c5,\nREDUCE(totalMinutes = 0, s in section | totalMinutes + s.minutes) as \u6240\u8981\u6642\u9593\nRETURN \u6240\u8981\u6642\u9593, \u4e57\u308a\u63db\u3048\u99c5, \u7d4c\u8def\nORDER BY \u6240\u8981\u6642\u9593\nLIMIT 10;\n<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u304c\u8fd4\u3063\u3066\u6765\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-4.png\"><img decoding=\"async\" data-src=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-4.png\" alt=\"Neo4j 4\" width=\"1229\" height=\"388\" class=\"alignnone size-full wp-image-1888 lazyload\" data-srcset=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-4.png 1229w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-4-300x95.png 300w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-4-768x242.png 768w, https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2016\/09\/Neo4j-4-1024x323.png 1024w\" data-sizes=\"(max-width: 1229px) 100vw, 1229px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1229px; --smush-placeholder-aspect-ratio: 1229\/388;\" \/><\/a><\/p>\n<p><code>\u5c71d<\/code> -> <code>\u753aC<\/code> \u3068\u3044\u3046\u90e8\u5206\u3092\u901a\u3063\u3066\u3057\u307e\u3046\u3068120\u5206\u52a0\u7b97\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6d77\u5cb8\u306e\u65b9\u3092\u8fc2\u56de\u3057\u3066\u3044\u304f\u65b9\u304c\u65e9\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<br \/>\n\u4e00\u756a\u65e9\u3044\u306e\u306f\u3001 <code>\u6d77\u5cb83<\/code> \u307e\u3067\u5404\u505c\u3067\u884c\u3063\u3066\u3001\u305d\u306e\u5f8c\u306f\u6025\u884c\u3092\u4e57\u308a\u7d99\u3050\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<br \/>\n\u4e8c\u756a\u76ee\u306b\u65e9\u3044\u306e\u306f\u3001\u4e00\u65e6 <code>\u5c71d<\/code> \u307e\u3067\u5404\u505c\u3067\u884c\u3063\u3066\u3001\u305d\u3053\u304b\u3089\u6025\u884c\u306b\u4e57\u308a <code>\u6d77\u5cb81<\/code> \u3092\u7d4c\u7531\u3057\u3066\u884c\u304f\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n<p>\u9045\u5ef6\u30c7\u30fc\u30bf\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306bDB\u306b\u53cd\u6620\u3057\u3066\u3044\u3051\u3070\u3001\u305d\u306e\u6642\u3005\u3067\u6700\u77ed\u306e\u30eb\u30fc\u30c8\u3092\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u3066\u4fbf\u5229\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1 NoSQL \u3092\u3044\u304f\u3064\u304b\u4f7f\u3063\u3066\u3044\u3066\u3001\u30b0\u30e9\u30d5DB\u306e neo4j \u304c\u9762\u767d\u304b\u3063\u305f\u3002 \u30b0\u30e9\u30d5DB\u306e\u7279\u5fb4\u306f\u3001RDB\u3067\u306f\u96e3\u3057\u3044\u95a2\u9023\u6027\u306e\u691c\u7d22\u3092\u5f97\u610f\u3068\u3057\u3066\u3044\u308b\u3053\u3068\u3067\u3001\u5b9f\u969b\u306b\u7d4c\u8def\u691c\u7d22\u3084\u30ea\u30b3\u30e1\u30f3\u30c9\u30a8\u30f3\u30b8\u30f3\u306a\u3069\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u9762\u767d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2303,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[34],"class_list":["post-1879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-neo4j"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/1879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=1879"}],"version-history":[{"count":11,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/1879\/revisions"}],"predecessor-version":[{"id":2305,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/1879\/revisions\/2305"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media\/2303"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=1879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=1879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=1879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}