{"id":14847,"date":"2016-10-15T14:19:13","date_gmt":"2016-10-15T05:19:13","guid":{"rendered":"http:\/\/www.creationline.com\/?p=14847"},"modified":"2022-12-13T15:29:47","modified_gmt":"2022-12-13T06:29:47","slug":"neo4j%e5%85%ac%e5%bc%8f%e3%81%ae%e8%a8%80%e8%aa%9e%e3%83%89%e3%83%a9%e3%82%a4%e3%83%90%e3%83%bcbolt%e3%81%ab%e3%82%88%e3%82%8b%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0-neo4j","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847","title":{"rendered":"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j"},"content":{"rendered":"<p>Neo4j v3.0\u304b\u3089Bolt\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u30d0\u30a4\u30ca\u30ea\u30c9\u30e9\u30a4\u30d0\u30fc\u3067\u300c.NET\/Java\/JavaScript\/Python\u300d\u306e4\u3064\u306e\u8a00\u8a9e\u306e\u516c\u5f0f\u7684\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u767a\u8868\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001Neo4j\u3000Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u6982\u8981\u3068Python\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u5229\u7528\u65b9\u6cd5\u3092\u7c21\u7565\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>Neo4j Bolt\u30d0\u30a4\u30ca\u30ea\u30c9\u30e9\u30a4\u30d0\u30fc\u3068\u306f<\/h2>\n<h3>\u6982\u8981<\/h3>\n<p>Bolt\u30d0\u30a4\u30ca\u30ea\u30c9\u30e9\u30a4\u30d0\u30fc\u3068\u306f\u3001Bolt\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3001\u591a\u69d8\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30c7\u30fc\u30bf\u74b0\u5883\u304b\u3089Neo4j\u306b\u4e00\u5143\u7684\u306b\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u958b\u767a\u3055\u308c\u305f\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc\u3067\u3059\u3002Neo4j\u306f\u3001\u3053\u308c\u307e\u3067\u3001HTTP\u3084JVM\u30d9\u30fc\u30b9\u306e\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u63d0\u4f9b\u3057\u3066\u6765\u307e\u3057\u305f\u304c\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u554f\u984c\u3092\u542b\u3080\u69d8\u3005\u306a\u8981\u6c42\u304c\u7d2f\u7a4d\u3057\u3066\u3044\u308b\u72b6\u6cc1\u306e\u306a\u304b\u3067\u3001Neo4j 3.0\u306e\u767a\u8868\u3092\u5ff5\u982d\u306b2015\u5e74\u304b\u3089Bolt\u30d0\u30a4\u30ca\u30ea\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u958b\u767a\u306b\u7740\u624b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14849\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png\" alt=\"bolt-driver-1\" width=\"375\" height=\"186\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png 375w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1-360x179.png 360w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/p>\n<p>Bolt\u30c9\u30e9\u30a4\u30d0\u306f\u3001\u30c7\u30fc\u30bf\u3092\u6271\u3046\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3068\u3057\u3066\u30d0\u30a4\u30ca\u30ea\u578b\u5f0f(PackStream)\u3092\u63a1\u7528\u3057\u3001\u30c7\u30fc\u30bf\u30b5\u30a4\u30ba\u3092\u8efd\u91cf\u5316\u3059\u308b\u3053\u3068\u3067\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3092\u56f3\u308a\u3001\u8907\u6570\u306e\u8a00\u8a9e\u306b\u304a\u3044\u3066\u7d71\u4e00\u3055\u308c\u305f\u898f\u683c\u306e\u4e0b\u3067\u958b\u767a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u9060\u9694\u5730\u304b\u3089\u306e\u63a5\u7d9a\u6642\u306b\u306fTLS\uff08Transport Layer Security\uff09\u6697\u53f7\u5316\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u5f8c\u3001\u5f93\u6765\u306eREST\u53ca\u3073JVM\u30d9\u30fc\u30b9\u306eAPI\u3082\u3001\u3057\u3070\u3089\u304f\u306f\u6df7\u5728\u3059\u308b\u3088\u3046\u306a\u72b6\u6cc1\u304c\u7d9a\u304f\u3067\u3057\u3087\u3046\u304c\u3001Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u9032\u5316\u3068\u5171\u306b\u3001\u6a5f\u80fd\u7684\u306b\u7af6\u5408\u3059\u308b\u3088\u3046\u306a\u3082\u306e\u306f\u3001\u304a\u305d\u3089\u304f\u81ea\u7136\u6dd8\u6c70\u3057\u3066\u3044\u304f\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u69cb\u6210\u8981\u7d20 <\/h3>\n<p>Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u69cb\u6210\u8981\u7d20\u306f\u3001\u4e0b\u8a18\u306e\u901a\u308a\u3001\u3068\u3066\u3082\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<table width=\"200\">\n<tr>\n<td>driver = GraphDatabase.driver()<\/td>\n<td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/td>\n<\/tr>\n<p>\u3000<\/p>\n<tr>\n<td>session = driver.session()<\/td>\n<td>\u30c9\u30e9\u30a4\u30d0\u30fc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/td>\n<\/tr>\n<tr>\n<td>session.run()<\/td>\n<td>\u5b9f\u884c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/td>\n<\/tr>\n<tr>\n<td>session.close()<\/td>\n<td>\u7d42\u4e86\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/td>\n<\/tr>\n<\/table>\n<h2>\u4e8b\u524d\u6e96\u5099<\/h2>\n<p>OS\u306f\u3001Linux\/Windows\/Mac\u306e\u3044\u305a\u308c\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306fWindows\u3092\u30d9\u30fc\u30b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>Neo4j\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4eca\u56de\u306e\u6f14\u7fd2\u74b0\u5883\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u69cb\u6210\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p><strong><br \/>\nNeo4j\uff1a3.0.6<br \/>\n\u30c9\u30e9\u30a4\u30d0\u2015\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a1.0<br \/>\nBolt\u30d7\u30ed\u30c8\u30b3\u30eb\uff1a1<br \/>\n<\/strong><\/p>\n<p>Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u4f7f\u3046\u305f\u3081\u306b\u306f\u3001Neo4j v3.0\u4ee5\u4e0a\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"http:\/\/qiita.com\/awk256\/items\/5622d601c2c3051b70ad\">Windows\u3067Neo4j\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><br \/>\n<a href=\"http:\/\/qiita.com\/awk256\/items\/a4c7457aad103a07e5d6\">Mac\u3067Neo4j\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h3>Python\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4eca\u56de\u306f\u3001<a href=\"https:\/\/www.python.org\/downloads\/\">python-2.7.12.msi<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u30023.x\u3067\u3082\u826f\u3044\u3067\u3059\u3002<\/p>\n<blockquote><p>C:\\&gt; python -V<br \/>\nPython 2.7.12<\/p>\n<p>C:\\&gt; pip -V<br \/>\npip 8.1.1 from c:\\python27\\lib\\site-packages (python 2.7)<\/p><\/blockquote>\n<h2>Neo4j \u30c9\u30e9\u30a4\u30d0\u30fc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Bolt\u306eNeo4j \u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote><p>C:\\&gt; pip install neo4j-driver<br \/>\nCollecting neo4j-driver<br \/>\nDownloading neo4j_driver-1.0.2-py2.py3-none-any.whl<br \/>\nInstalling collected packages: neo4j-driver<br \/>\nSuccessfully installed neo4j-driver-1.0.2<\/p><\/blockquote>\n<h3>Neo4j\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u6e96\u5099<\/h3>\n<p>\u4eca\u56de\u306b\u7d39\u4ecb\u3059\u308b\u7bc4\u56f2\u3067\u306f\u3001\u8ab0\u304b\u306b\u8ff7\u60d1\u3092\u304b\u3051\u306a\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u3042\u308c\u3070\u7d50\u69cb\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3001Neo4j\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u6620\u753b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u524d\u63d0\u306b\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6620\u753b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14850\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-2.png\" alt=\"bolt-driver-2\" width=\"416\" height=\"248\" \/><\/p>\n<h2>Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u306b\u3088\u308bNeo4j\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/h2>\n<p>Neo4j\u306f\u3001\u8d77\u52d5\u4e2d\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u6f14\u7fd20:Keanu Reeves\u3055\u3093\u304c\u51fa\u6f14\u3057\u305f\u6620\u753b\u306e\u691c\u7d22<\/h3>\n<blockquote><p>C:\\&gt; python query0.py<br \/>\nKeanu Reeves-ACTED_IN-&gt;Something's Gotta Give<br \/>\nKeanu Reeves-ACTED_IN-&gt;Johnny Mnemonic<br \/>\nKeanu Reeves-ACTED_IN-&gt;The Replacements<br \/>\nKeanu Reeves-ACTED_IN-&gt;The Devil's Advocate<br \/>\nKeanu Reeves-ACTED_IN-&gt;The Matrix Revolutions<br \/>\nKeanu Reeves-ACTED_IN-&gt;The Matrix Reloaded<br \/>\nKeanu Reeves-ACTED_IN-&gt;The Matrix\n<\/p><\/blockquote>\n<p><strong>python query0.py<\/strong><\/p>\n<blockquote><p>\nfrom neo4j.v1 import GraphDatabase, basic_auth<\/p>\n<p>driver = GraphDatabase.driver(\"bolt:\/\/localhost\", auth=basic_auth(\"neo4j\", \"neo4jadmin\"))<br \/>\nsession = driver.session()<\/p>\n<p>v_name = 'Keanu Reeves'<\/p>\n<p>result = session.run(\"MATCH (a:Person { name : '%s'})-[r:ACTED_IN]-&gt;(b) \"<br \/>\n                     \"RETURN a.name,type(r) AS Type, b.title\" % (v_name))<\/p>\n<p>for record in result:<br \/>\n   print(\"%s-%s-&gt;%s \" %  (record[\"a.name\"], record[\"Type\"], record[\"b.title\"]))<\/p>\n<p>session.close()\n<\/p><\/blockquote>\n<h3>\u6f14\u7fd21:\u4ff3\u512a\u30ce\u30fc\u30c9\u4f5c\u6210<\/h3>\n<p>\u4ff3\u512a\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<blockquote><p>C:\\&gt;python query1.py<\/p><\/blockquote>\n<p><strong>query1.py<\/strong><\/p>\n<blockquote><p>from neo4j.v1 import GraphDatabase, basic_auth<\/p>\n<p>driver = GraphDatabase.driver(\"bolt:\/\/localhost\", auth=basic_auth(\"neo4j\", \"neo4jadmin\"))<br \/>\nsession = driver.session()<\/p>\n<p>v_name = 'Nakamura'<\/p>\n<p>session.run(\"CREATE (:Person {name: '%s'})\" % (v_name))<\/p>\n<p>session.close()<\/p><\/blockquote>\n<p>Web\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304b\u3089\u30ce\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<blockquote><p>MATCH (person:Person) WHERE person.name='Nakamura' RETURN person<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14851\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/actor-nakamura.png\" alt=\"actor-nakamura\" width=\"70\" height=\"70\" \/><\/p>\n<h3>\u6f14\u7fd21-1:\u6620\u753b\u30ce\u30fc\u30c9\u4f5c\u6210<\/h3>\n<p>\u6620\u753b\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<blockquote><p>C:\\&gt; python query1-1.py<\/p><\/blockquote>\n<p><strong>query1-1.py<\/strong><\/p>\n<blockquote><p>from neo4j.v1 import GraphDatabase, basic_auth<\/p>\n<p>driver = GraphDatabase.driver(\"bolt:\/\/localhost\", auth=basic_auth(\"neo4j\", \"neo4jadmin\"))<br \/>\nsession = driver.session()<\/p>\n<p>v_title = 'Tokyo 2020'<\/p>\n<p>session.run(\"CREATE (:Movie {title: '%s'})\" % (v_title))<\/p>\n<p>session.close()\n<\/p><\/blockquote>\n<h3>\u6f14\u7fd22:\u30ce\u30fc\u30c9\u4f5c\u6210\u306e\u78ba\u8a8d<\/h3>\n<p>\u4f5c\u6210\u3057\u305f\u30ce\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<blockquote><p>C:\\&gt;python query2.py<br \/>\na.name: Nakamura, b.title: Tokyo 2020<\/p><\/blockquote>\n<p><strong>query2.py<\/strong><\/p>\n<blockquote><p>from neo4j.v1 import GraphDatabase, basic_auth<\/p>\n<p>driver = GraphDatabase.driver(\"bolt:\/\/localhost\", auth=basic_auth(\"neo4j\", \"neo4jadmin\"))<br \/>\nsession = driver.session()<\/p>\n<p>v_name= 'Nakamura'<br \/>\nv_title = 'Tokyo 2020'<\/p>\n<p>result = session.run(\"MATCH (a:Person) WHERE a.name = '%s' \"<br \/>\n\"MATCH (b:Movie) WHERE b.title = '%s' \"<br \/>\n\"RETURN a.name, b.title\" % (v_name,v_title))<\/p>\n<p>for record in result:<br \/>\n# print(\"%s %s \" % (record[\"a.name\"], record[\"b.title\"]))<br \/>\nprint(\", \".join(\"%s: %s\" % (key, record[key]) for key in record.keys()))<\/p>\n<p>session.close()<\/p><\/blockquote>\n<h3>\u6f14\u7fd23:\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210<\/h3>\n<p>\u4ff3\u512a\u30ce\u30fc\u30c9\u3068\u6620\u753b\u30ce\u30fc\u30c9\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<blockquote><p>C:\\&gt; python query3.py<\/p><\/blockquote>\n<p><strong>query3.py<\/strong><\/p>\n<blockquote>\n<p>from neo4j.v1 import GraphDatabase, basic_auth<br \/>\nimport sys<\/p>\n<p>driver = GraphDatabase.driver(\"bolt:\/\/localhost\", auth=basic_auth(\"neo4j\", \"neo4jadmin\"))<br \/>\nsession = driver.session()<\/p>\n<p>v_name = 'Nakamura'<br \/>\nv_title = 'Tokyo 2020'<\/p>\n<p>with session.begin_transaction() as tx:<br \/>\ntry:<br \/>\ntx.run(\"MATCH (a:Person) WHERE a.name = '%s' \"<br \/>\n\"MATCH (b:Movie) WHERE b.title = '%s' \"<br \/>\n\"CREATE (a)-[:ACTED_IN]-&gt;(b)\" % (v_name, v_title))<br \/>\ntx.success = True<br \/>\nprint(\"succeed\")<br \/>\n# tx.run(\"error\").consume()<br \/>\nexcept:<br \/>\ntx.success = False<br \/>\nprint \"Expected error:\", sys.exc_info()[0]<\/p>\n<p>session.close()<\/p>\n<\/blockquote>\n<p>COMMIT\u3068ROLEBACK\u306f\u3001\u660e\u793a\u7684\u306b\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>tx. success = True<\/strong><br \/>\nCOMMIT\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p><strong>tx. success = False<\/strong><br \/>\nROLEBACK\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30e1\u30f3\u30c8\u3057\u3066\u3044\u308b\u7b87\u6240\u3092\u30a2\u30f3\u30b3\u30e1\u30f3\u30c8\u306b\u3057\u305f\u308a\u3057\u306a\u304c\u3089\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u660e\u793a\u7684\u306btx. success\u3092\u5ba3\u8a00\u3057\u306a\u3044\u3068\u51e6\u7406\u306f\u6709\u52b9\u306b\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001tx. success = True\u3092\u5ba3\u8a00\u3057\u3066\u3082\u3001\u4f8b\u5916\u304c\u767a\u751f\u3057\u3001tx. success = False\u304c\u5ba3\u8a00\u3055\u308c\u308b\u3068\u3001\u51e6\u7406\u306f\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3055\u308c\u307e\u3059\u3002tx. success = True\u306e\u5ba3\u8a00\u3092\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u3001\u6697\u9ed9\u7684\u306b\u30b3\u30df\u30c3\u30c8\u3055\u308c\u308b\u3088\u3046\u306a\u3053\u3068\u306f\u8d77\u304d\u307e\u305b\u3093\u3002<\/p>\n<h3>\u6f14\u7fd24:\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d<\/h3>\n<p>\u3067\u306f\u3001\u6700\u5f8c\u306e\u30b5\u30d6\u30b0\u30e9\u30d5\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<blockquote>\n<p>C:\\&gt; python query4.py<br \/>\nNakamura-ACTED_IN-&gt;Tokyo 2020<\/p>\n<\/blockquote>\n<p><strong>query4.py<\/strong><\/p>\n<blockquote>\n<p>from neo4j.v1 import GraphDatabase, basic_auth<\/p>\n<p>driver = GraphDatabase.driver(\"bolt:\/\/localhost\", auth=basic_auth(\"neo4j\", \"neo4jadmin\"))<br \/>\nsession = driver.session()<\/p>\n<p>v_name = 'Nakamura'<\/p>\n<p>result = session.run(\"MATCH (a:Person { name : '%s'})-[r:ACTED_IN]-&gt;(b) \"<br \/>\n\"RETURN a.name,type(r) AS Type, b.title\" % (v_name))<\/p>\n<p>for record in result:<br \/>\nprint(\"%s-%s-&gt;%s \" % (record[\"a.name\"], record[\"Type\"], record[\"b.title\"]))<\/p>\n<p>session.close()<\/p>\n<\/blockquote>\n<p>\u30b0\u30e9\u30d5\u3092\u51fa\u529b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<blockquote>\n<p>MATCH (a:Person)-[:ACTED_IN]-&gt;(b) WHERE a.name='Nakamura' RETURN a, b<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14852\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/atcter-movie.png\" alt=\"atcter-movie\" width=\"88\" height=\"187\"\/><\/p>\n<h3>TLS\u6697\u53f7\u5316<\/h3>\n<p>\u9060\u9694\u5730\u304b\u3089\u63a5\u7d9a\u3059\u308b\u5834\u5408\u306f\u3001TLS\u6697\u53f7\u5316\u30e2\u30fc\u30c9\u3067\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<blockquote>\n<p>var driver = GraphDatabase.Driver(\"bolt:\/\/localhost:7687\", AuthTokens.Basic(\"neo4j\", \"neo4jadmin\"),<br \/>\nConfig.Builder.WithEncryptionLevel(EncryptionLevel.Encrypted).ToConfig());<\/p>\n<\/blockquote>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4e00\u8a00\u3067\u3044\u3046\u3068\u3001Bolt\u30c9\u30e9\u30a4\u30d0\u30fc\u306f\u3068\u3066\u3082\u4f7f\u3044\u3084\u3059\u3044\u3067\u3059\u306d\uff01<br \/>\n\u4ed6\u306e\u8a00\u8a9e\u306a\u3069\u3001\u3055\u3089\u306b\u8a73\u3057\u304f\u52c9\u5f37\u3057\u305f\u3044\u65b9\u306f\u3001\u4e0b\u8a18\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3055\u3044\u3002<\/p>\n<p><strong>[\u53c2\u8003]<\/strong><\/p>\n<p><a href=\"http:\/\/neo4j.com\/docs\/developer-manual\/current\/drivers\/\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8(4.Driver)<\/a><\/p>\n<p><a href=\"http:\/\/neo4j.com\/docs\/developer-manual\/current\/reference\/#status-codes\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8(Appendix A. Reference)<\/a><\/p>\n<p><a href=\"https:\/\/neo4j.com\/developer\/python\/#neo4j-python-driver\">Using Neo4j from Python<\/a><\/p>\n<p><a href=\"https:\/\/neo4j.com\/docs\/api\/python-driver\/current\/\">Neo4j Bolt Driver for Python<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/neo4j\/neo4j-python-driver\">GitHub(neo4j-python-driver)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Neo4j v3.0\u304b\u3089Bolt\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u30d0\u30a4\u30ca\u30ea\u30c9\u30e9\u30a4\u30d0\u30fc\u3067\u300c.NET\/Java\/JavaScript\/Python\u300d\u306e4\u3064\u306e\u8a00\u8a9e\u306e\u516c\u5f0f\u7684\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u767a\u8868\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001Neo4j\u3000Bolt\u30c9\u30e9\u30a4\u30d0 [&#8230;]<\/p>\n","protected":false},"author":13,"featured_media":14849,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[61,37],"tags":[],"class_list":["post-14847","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lee","category-neo4j"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"lee, Neo4j |Neo4j\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"lee, Neo4j |Neo4j\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-15T05:19:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-13T06:29:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"375\" \/>\n\t<meta property=\"og:image:height\" content=\"186\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@awk256\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847\"},\"author\":{\"name\":\"lee\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7a9c09b6fc036bd56d9a7f7264389616\"},\"headline\":\"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j\",\"datePublished\":\"2016-10-15T05:19:13+00:00\",\"dateModified\":\"2022-12-13T06:29:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847\"},\"wordCount\":709,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/bolt-driver-1.png\",\"articleSection\":[\"lee\",\"Neo4j\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847\",\"name\":\"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/bolt-driver-1.png\",\"datePublished\":\"2016-10-15T05:19:13+00:00\",\"dateModified\":\"2022-12-13T06:29:47+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7a9c09b6fc036bd56d9a7f7264389616\"},\"description\":\"lee, Neo4j |Neo4j\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/bolt-driver-1.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/bolt-driver-1.png\",\"width\":375,\"height\":186},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/14847#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Neo4j\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7a9c09b6fc036bd56d9a7f7264389616\",\"name\":\"lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g\",\"caption\":\"lee\"},\"description\":\"\u30e2\u30c0\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u57fa\u76e4\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c8\u3068\u3057\u3066\u6d3b\u52d5\u3057\u3066\u3044\u307e\u3059\u3002 [\u8457\u66f8] \u30fbAmazon Cloud\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9\u2015EC2\\\/S3\u304b\u3089VPC\u307e\u3067\u5fb9\u5e95\u89e3\u6790 \u30fbAmazon Elastic MapReduce\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9 \u2015\u30af\u30e9\u30a6\u30c9\u578bHadoop\u3067\u5b9f\u73fe\u3059\u308b\u5927\u898f\u6a21\u5206\u6563\u51e6\u7406 \u30fbCypher\u30af\u30a8\u30ea\u30fc\u8a00\u8a9e\u306e\u4e8b\u4f8b\u3067\u5b66\u3076\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9Neo4j \u30fbNeo4j\u3092\u4f7f\u3046\u30b0\u30e9\u30d5\u578b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5165\u9580(\u5171\u8457) \u30fbRDB\u6280\u8853\u8005\u306e\u305f\u3081\u306eNoSQL\u30ac\u30a4\u30c9(\u5171\u8457)\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/@awk256\"],\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/lee\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"lee, Neo4j |Neo4j","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847","og_locale":"ja_JP","og_type":"article","og_title":"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"lee, Neo4j |Neo4j","og_url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2016-10-15T05:19:13+00:00","article_modified_time":"2022-12-13T06:29:47+00:00","og_image":[{"width":375,"height":186,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png","type":"image\/png"}],"author":"lee","twitter_card":"summary_large_image","twitter_creator":"@awk256","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"lee","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847"},"author":{"name":"lee","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7a9c09b6fc036bd56d9a7f7264389616"},"headline":"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j","datePublished":"2016-10-15T05:19:13+00:00","dateModified":"2022-12-13T06:29:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847"},"wordCount":709,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png","articleSection":["lee","Neo4j"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847","url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847","name":"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png","datePublished":"2016-10-15T05:19:13+00:00","dateModified":"2022-12-13T06:29:47+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7a9c09b6fc036bd56d9a7f7264389616"},"description":"lee, Neo4j |Neo4j","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2016\/10\/bolt-driver-1.png","width":375,"height":186},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/14847#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8","item":"https:\/\/www.creationline.com\/tech-blog\/data-management"},{"@type":"ListItem","position":3,"name":"Neo4j","item":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j"},{"@type":"ListItem","position":4,"name":"Neo4j\u516c\u5f0f\u306e\u8a00\u8a9e\u30c9\u30e9\u30a4\u30d0\u30fc(Bolt)\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 #neo4j"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7a9c09b6fc036bd56d9a7f7264389616","name":"lee","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g","caption":"lee"},"description":"\u30e2\u30c0\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u57fa\u76e4\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c8\u3068\u3057\u3066\u6d3b\u52d5\u3057\u3066\u3044\u307e\u3059\u3002 [\u8457\u66f8] \u30fbAmazon Cloud\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9\u2015EC2\/S3\u304b\u3089VPC\u307e\u3067\u5fb9\u5e95\u89e3\u6790 \u30fbAmazon Elastic MapReduce\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9 \u2015\u30af\u30e9\u30a6\u30c9\u578bHadoop\u3067\u5b9f\u73fe\u3059\u308b\u5927\u898f\u6a21\u5206\u6563\u51e6\u7406 \u30fbCypher\u30af\u30a8\u30ea\u30fc\u8a00\u8a9e\u306e\u4e8b\u4f8b\u3067\u5b66\u3076\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9Neo4j \u30fbNeo4j\u3092\u4f7f\u3046\u30b0\u30e9\u30d5\u578b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5165\u9580(\u5171\u8457) \u30fbRDB\u6280\u8853\u8005\u306e\u305f\u3081\u306eNoSQL\u30ac\u30a4\u30c9(\u5171\u8457)","sameAs":["https:\/\/x.com\/@awk256"],"url":"https:\/\/www.creationline.com\/tech-blog\/author\/lee"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/14847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=14847"}],"version-history":[{"count":33,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/14847\/revisions"}],"predecessor-version":[{"id":57637,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/14847\/revisions\/57637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/14849"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=14847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=14847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=14847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}