{"id":51530,"date":"2022-06-15T10:00:05","date_gmt":"2022-06-15T01:00:05","guid":{"rendered":"https:\/\/www.creationline.com\/?p=51530"},"modified":"2022-11-18T11:42:24","modified_gmt":"2022-11-18T02:42:24","slug":"cypher%e3%81%aa%e3%82%89%e3%81%a7%e3%81%8d%e3%82%8b%ef%bc%81sql%e3%81%ab%e3%81%af%e9%9b%a3%e3%81%97%e3%81%84%e3%81%93%e3%81%a810%e9%81%b8-neo4j-cypher-sql","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530","title":{"rendered":"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql"},"content":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c<a href=\"https:\/\/neo4j.com\/blog\/10-things-you-can-do-with-cypher\/\" rel=\"noopener\" target=\"_blank\">10 Things You Can Do With Cypher That Are Hard With SQL<\/a>\u300d\u306e\u65e5\u672c\u8a9e\u7ffb\u8a33\u3067\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u306f\u30012021\u5e7412\u6708\u3001<a href=\"https:\/\/neo4j.com\/video\/connections\/graphs-for-cloud-developers\/?ref=blog\" rel=\"noopener\" target=\"_blank\">Neo4j Connections: Graphs for Cloud Developers<\/a>\u3067<a href=\"https:\/\/www.linkedin.com\/in\/jexpde\/\" rel=\"noopener\" target=\"_blank\">Michael Hunger<\/a>\u3055\u3093\u304c\u884c\u3063\u305f\u767a\u8868\u5185\u5bb9\u3092\u5143\u306b\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><center><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher-360x188.png\" alt=\"10-Things-You-Can-Do-With-Cypher\" width=\"720\" height=\"376\" class=\"alignnone size-medium wp-image-51533\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher-360x188.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher-768x401.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png 800w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/center><\/p>\n<p>SQL\u306f\u6b74\u53f2\u306e\u3042\u308b\u5f37\u529b\u306a\u30af\u30a8\u30ea\u8a00\u8a9e\u3067\u3059\u304c\u3001SQL\u3088\u308aCypher\u306e\u307b\u3046\u304c\u9069\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u6bd4\u8f03\u306e\u305f\u3081SQL\u306b\u3064\u3044\u3066\u3082\u8a00\u53ca\u3057\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306b\u306fNeo4j\u306e\u30af\u30a8\u30ea\u8a00\u8a9e\u3067\u3042\u308bCypher\u306b\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002<\/p>\n<div style=\"color: #333333; \n            background: #EEEEEE;\n            font-weight: bold; \n            border: solid 3px #CCCCCC; \n            padding: 0.5em 1em; \n            margin: 0 0 20px;\"><br \/>\n\u76ee\u6b21<\/p>\n<ul>\n<li><a href=\"#001\">Cypher\u3068SQL\u306e\u6bd4\u8f03<\/a><\/li>\n<li><a href=\"#002\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8<\/a><\/li>\n<li><a href=\"#003\">\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3068JOIN\u306e\u6bd4\u8f03<\/a><\/li>\n<li><a href=\"#004\">1. \u7d4c\u8def\u30d1\u30bf\u30fc\u30f3<\/a><\/li>\n<li><a href=\"#005\">2. \u6700\u77ed\u7d4c\u8def<\/a><\/li>\n<li><a href=\"#006\">3. GROUP BY\u3092\u4f7f\u7528\u305b\u305a\u306b\u96c6\u8a08<\/a><\/li>\n<li><a href=\"\/lab\/51771#anchor_001\" rel=\"noopener\" target=\"_blank\">4. \u30d3\u30eb\u30c8\u30a4\u30f3\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u30b5\u30dd\u30fc\u30c8\uff1a\u30ea\u30b9\u30c8\u3068\u30de\u30c3\u30d7<\/a><\/li>\n<li><a href=\"\/lab\/51771#002\" rel=\"noopener\" target=\"_blank\">5. UNWIND \u3068 Collect<\/a><\/li>\n<li><a href=\"\/lab\/51771#003\" rel=\"noopener\" target=\"_blank\">6. \u30de\u30c3\u30d7\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3068\u30d1\u30bf\u30fc\u30f3\u5185\u5305<\/a><\/li>\n<li><a href=\"\/lab\/51771#004\" rel=\"noopener\" target=\"_blank\">7. Read\u3068Write\u306e\u4f75\u7528<\/a><\/li>\n<li><a href=\"\/lab\/51771#005\" rel=\"noopener\" target=\"_blank\">8. \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30ca\u30eb\u30fb\u30d0\u30c3\u30c1\u30f3\u30b0<\/a><\/li>\n<li><a href=\"\/lab\/51771#006\" rel=\"noopener\" target=\"_blank\">9. \u30d3\u30eb\u30c8\u30a4\u30f3\u306e\u30c7\u30fc\u30bf\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\uff1aCSV<\/a><\/li>\n<li><a href=\"\/lab\/51771#007\" rel=\"noopener\" target=\"_blank\">10. \u30d3\u30eb\u30c8\u30a4\u30f3\u306e\u30c7\u30fc\u30bf\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\uff1a API<\/a><\/li>\n<li><a href=\"\/lab\/51771#008\" rel=\"noopener\" target=\"_blank\">\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n<p><small id=\"001\">\u3000\uff08\u6ce8\uff1a\u300c4. \u30d3\u30eb\u30c8\u30a4\u30f3\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u30b5\u30dd\u30fc\u30c8\uff1a\u30ea\u30b9\u30c8\u3068\u30de\u30c3\u30d7\u300d\u4ee5\u964d\u306f<a href=\"\/lab\/51771\" rel=\"noopener\" target=\"_blank\">\u5f8c\u7de8<\/a>\u306b\u3066\uff09<\/small><\/p>\n<\/div>\n<p>\u307e\u305a\u3001Cypher\u3068SQL\u306e\u6bd4\u8f03\u3001\u4f8b\u3068\u3057\u3066\u6271\u3046\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u7d39\u4ecb\u3001\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3068JOIN\u306e\u6bd4\u8f03\u3092\u3057\u307e\u3059\u3002<\/p>\n<h3>Cypher\u3068SQL\u306e\u6bd4\u8f03<\/h3>\n<p>\u30af\u30a8\u30ea\u8a00\u8a9e\u3068\u3057\u3066\u306eSQL\u306f50\u5e74\u4ee5\u4e0a\u306e\u6b74\u53f2\u304c\u3042\u308a\u3001\u591a\u304f\u306e\u30d9\u30f3\u30c0\u30fc\u3084ISO\u59d4\u54e1\u4f1a\u306e\u5354\u529b\u306b\u3088\u308a\u958b\u767a\u3055\u308c\u305f\u3082\u306e\u3067\u3059\u3002\u5f53\u521d\u3001SQL\u306f\u5358\u4e00\u30c6\u30fc\u30d6\u30eb\u7528\u306e\u30af\u30a8\u30ea\u8a00\u8a9e\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c\u3001JOIN\u306b\u52a0\u3048\u3001\u4f8b\u3048\u3070\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u306e\u3088\u3046\u306a\u3001XML\u3084JSON\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306f\u3001\u5c0f\u58f2\u696d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u58f2\u308c\u7b4b\u306e\u5546\u54c1\u3092\u9078\u629e\u3059\u308b\u5178\u578b\u7684\u306aSQL\u30af\u30a8\u30ea\u3067\u3059\u3002<\/p>\n<pre>\r\nSELECT p.product_name, count(*) as cnt\r\nFROM customers c\r\nJOIN orders o ON (c.customer_id = o.customer_id)\r\nJOIN order_details od on (od.order_id = o.order_id)\r\nJOIN products p ON (od.product_id = p.product_id)\r\nWHERE p.product_name LIKE '%G%'\r\nGROUP BY p.product_name\r\nORDER BY cnt DESC LIMIT 5;\r\n<\/pre>\n<p>4\u3064\u306eJOIN\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u3092\u5f97\u307e\u3059\u3002<\/p>\n<table>\n<tr bgcolor=\"#EEEEEE\">\n<th><b> product_name   <\/b><\/th>\n<th><b>cnt<\/b><\/th>\n<\/tr>\n<tr>\n<td>Guaran\u00e1 Fant\u00e1stica <\/td>\n<td>51<\/td>\n<\/tr>\n<tr>\n<td>Gorgonzola Telino<\/td>\n<td>51<\/td>\n<\/tr>\n<tr>\n<td>Gnocchi di nonna Alice<\/td>\n<td>50<\/td>\n<\/tr>\n<tr>\n<td>Mozzarella di Giovanni<\/td>\n<td>38<\/td>\n<\/tr>\n<tr>\n<td>Gumb\u00e4r Gummib\u00e4rchen<\/td>\n<td>32<\/td>\n<\/tr>\n<\/table>\n<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u30c6\u30fc\u30d6\u30eb\u3067\u69cb\u7bc9\u3055\u308c\u3001<a href=\"https:\/\/neo4j.com\/blog\/join-context-neo4j\/?ref=blog\" rel=\"noopener\" target=\"_blank\">JOIN<\/a>\u306b\u3088\u3063\u3066\u3064\u306a\u304c\u308a\u3092\u8868\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001<a href=\"https:\/\/neo4j.com\/developer\/cypher\/?ref=blog\" rel=\"noopener\" target=\"_blank\">Cypher<\/a>\u306f<a href=\"https:\/\/neo4j.com\/blog\/graph-databases-for-beginners-wait-what-do-you-mean-by-graph\/?ref=blog\" rel=\"noopener\" target=\"_blank\">\u30b0\u30e9\u30d5<\/a>\u306e\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u8a00\u8a9e\u3067\u3059\u3002\u6bd4\u8f03\u306e\u305f\u3081\u3001\u4ee5\u4e0b\u306eCypher\u30af\u30a8\u30ea\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>\r\nMATCH (a:Person)-[:ACTED_IN]->(m:Movie)\r\n\r\nWITH a, count(m) as movies WHERE movies > 2\r\n\r\nMATCH (a)-[:DIRECTED]->(m)\r\n\r\nRETURN a.name, collect(m.title) as movies, count(*) as count\r\nORDER BY count DESC LIMIT 5;\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1aMovie><\/em>\r\n<\/pre>\n<p id=\"note1\">\u3053\u306e\u30af\u30a8\u30ea\u306b\u306f\u3001\u30b0\u30e9\u30d5\u306e\u69cb\u6210\u8981\u7d20\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30ce\u30fc\u30c9\u3084\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u306e\u3088\u3046\u306a\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u304c\u30b3\u30fc\u30c9\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002Cypher\u306f\u3001\u958b\u767a\u8005\u3067\u306a\u3044\u4eba\u306b\u3068\u3063\u3066\u3082\u8aad\u307f\u3084\u3059\u304f\u3001\u7406\u89e3\u3057\u3084\u3059\u3044\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002\u5f37\u529b\u3067\u30e2\u30c0\u30f3\u306a\u8a00\u8a9e\u3067\u3042\u308a\u3001\u4ed6\u306e\u30af\u30a8\u30ea\u3084Python\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u304b\u3089\u8868\u73fe\u3092\u501f\u7528\u3057\u3066\u3044\u308b\u90e8\u5206\u3082\u3042\u308a\u307e\u3059\u3002\u5404\u5206\u91ce\u306e\u5c02\u9580\u5bb6\u3084\u30d3\u30b8\u30cd\u30b9\u30a2\u30ca\u30ea\u30b9\u30c8\u3067\u3082\u3001\u3053\u308c\u3089\u306e\u30af\u30a8\u30ea\u3092\u8aad\u307f\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u63d0\u4f9b\u3057\u3001\u3055\u3089\u306b\u306f\u81ea\u3089\u30af\u30a8\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p id=\"002\">\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u9577\u6240\u3068\u3057\u3066\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u691c\u7d22\u3092\u884c\u3046\u969b\u306b\u30b9\u30ad\u30fc\u30de<sup><a href=\"#note1\" title=\"\u203b\u30b9\u30ad\u30fc\u30de\u3068\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u69cb\u9020\u3092\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u3002\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30c7\u30fc\u30bf\u578b\u3084\u30c7\u30fc\u30bf\u306e\u5927\u304d\u3055\u3001\u4e3b\u30ad\u30fc\u306e\u9078\u629e\u306a\u3069\u3002\">\u203b<\/a><\/sup>\u306e\u6307\u5b9a\u304c\u5fc5\u9808\u3067\u306f\u306a\u3044\u3053\u3068\u304c\u3042\u3052\u3089\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30c7\u30fc\u30bf\u3092\u8868\u3059\u30b9\u30ad\u30fc\u30de\u304c\u56fa\u5b9a\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u65b0\u3057\u3044\u5c5e\u6027\u30bf\u30a4\u30d7\u3084\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u3092\u8ffd\u52a0\u3057\u306a\u304c\u3089\u3001\u30b9\u30ad\u30fc\u30de\u30c7\u30fc\u30bf\u3092\u9032\u5316\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u67d4\u8edf\u6027\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002<\/p>\n<p style=\"color:#808080;font-size:10px;\">\u203b\u30b9\u30ad\u30fc\u30de\u3068\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u69cb\u9020\u3092\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u3002\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30c7\u30fc\u30bf\u578b\u3084\u30c7\u30fc\u30bf\u306e\u5927\u304d\u3055\u3001\u4e3b\u30ad\u30fc\u306e\u9078\u629e\u306a\u3069\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8<\/h3>\n<p>\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001<a href=\"https:\/\/neo4j.com\/developer\/example-data\/?ref=blog\" rel=\"noopener\" target=\"_blank\">Neo4j\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b2\u3064\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8<\/a>\uff08<em>Movies<\/em>\u3068<em>Northwind<\/em>\uff09\u3092\u5229\u7528\u3057\u3066\u8aac\u660e\u3057\u307e\u3059\u3002IMDb\uff08Internet Movie Database\uff09\u30b9\u30bf\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068Northwind\u3068\u3044\u3046\u5c0f\u58f2\u696d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u53d6\u308a\u4e0a\u3052\u305f\u7406\u7531\u306f\u3001SQL\u3067\u3082\u7d20\u6750\u304c\u305f\u304f\u3055\u3093\u3042\u308b\u305f\u3081\u3067\u3059\u3002\u3053\u308c\u30892\u3064\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><center><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/movies-dataset-360x219.png\" alt=\"movies-dataset\" width=\"450\" height=\"273.75\" class=\"alignnone size-medium wp-image-51560\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/movies-dataset-360x219.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/movies-dataset.png 466w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><\/center><\/p>\n<p id=\"003\">\u4e0a\u56f3\u306f\u3001\u6620\u753b\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308a\u3001\u4eba\u306f\u6620\u753b\u3068\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u304c\u3042\u308a\u307e\u3059\u3002\u6620\u753b\u306e\u76e3\u7763\u3092\u52d9\u3081\u305f\u3001\u811a\u672c\u3092\u66f8\u3044\u305f\u3001\u88fd\u4f5c\u3057\u305f\u3001\u51fa\u6f14\u3057\u305f\u3001\u8a55\u8ad6\u3057\u305f\u3001\u306a\u3069\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u3067\u3059\u3002\u3082\u30461\u3064\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308bNorthwind\u306b\u306f\u3001\u5546\u54c1\u3001\u30ab\u30c6\u30b4\u30ea\u3001\u9867\u5ba2\u306e\u6ce8\u6587\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><center><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/movies-data-model-360x263.png\" alt=\"movies-data-model\" width=\"450\" height=\"328.75\" class=\"alignnone size-medium wp-image-51559\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/movies-data-model-360x263.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/movies-data-model.png 458w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><\/center><\/p>\n<h3>\u30b0\u30e9\u30d5\u30d1\u30bf\u30fc\u30f3\u3068JOIN\u306e\u6bd4\u8f03<\/h3>\n<p>Cypher\u3067\u306f\u3001\u8996\u899a\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u306b\u7740\u76ee\u3057\u307e\u3059\u3002\u30db\u30ef\u30a4\u30c8\u30dc\u30fc\u30c9\u3084\u56f3\u306b\u63cf\u304f\u3088\u3046\u306a\u4e38\u3084\u77e2\u5370\u306a\u3069\u3092\u3001Cypher\u30af\u30a8\u30ea\u8a00\u8a9e\u3067\u306f\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b>\u30ce\u30fc\u30c9<\/b><\/p>\n<p>\u3059\u3079\u3066\u306e\u30ce\u30fc\u30c9\u3068\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306f\u62ec\u5f27\u3067\u56f2\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u62ec\u5f27\u306e\u4e2d\u306b\u30ce\u30fc\u30c9\u306e\u7a2e\u985e\u3084\u8ffd\u52a0\u306e\u5c5e\u6027\u306a\u3069\u3092\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>()<\/pre>\n<pre>(:Person)<\/pre>\n<pre>(p:Person {name:'Emil'})<\/pre>\n<p><b>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7<\/b><\/p>\n<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u306e\u8868\u73fe\u3082\u540c\u69d8\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u30c0\u30c3\u30b7\u30e5\u8a18\u53f7\u30922\u3064\u9023\u306d\u308c\u3070\u3001\u305d\u308c\u3060\u3051\u3067\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u3092\u8868\u305b\u307e\u3059\u3002\u307e\u305f\u306f\u30012\u672c\u306e\u30c0\u30c3\u30b7\u30e5\u3068\u5927\u306a\u308a\u8a18\u53f7\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u77e2\u5370\u306b\u3057\u305f\u308a\u3001\u89d2\u62ec\u5f27\u3092\u4f7f\u3063\u3066\u8ffd\u52a0\u306e\u60c5\u5831\u3092\u633f\u5165\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>--<\/pre>\n<pre>--><\/pre>\n<pre>-[:RATED]-><\/pre>\n<pre>-[:RATED {stars:5}]-><\/pre>\n<p>\u30ce\u30fc\u30c9\u3068\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u308a\u3001Cypher\u30d1\u30bf\u30fc\u30f3\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\n(:Person {name:'Emil'})-[:RATED {stars:5}]->(:Movie {title:'The Matrix'})\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1aMovie><\/em>\r\n<\/pre>\n<p>\u30db\u30ef\u30a4\u30c8\u30dc\u30fc\u30c9\u306b\u63cf\u304b\u308c\u305f\u300c\u30a8\u30df\u30eb\u300d\u3068\u3044\u3046\u4eba\u7269\u3068\u3001\u300c\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u300d\u3068\u3044\u3046\u6620\u753b\u3092\u6307\u3059\u77e2\u5370\u304c\u76ee\u306b\u6d6e\u304b\u3076\u3088\u3046\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u5c0f\u3055\u306a\u534a\u89d2\u30c0\u30c3\u30b7\u30e5\u306f\u3001\u5b9f\u306f\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u304a\u3051\u308bJOIN\u306e\u3088\u3046\u306a\u3082\u306e\u306a\u306e\u3067\u3059\u3002\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5834\u5408\u306f\u3001\u5bfe\u8c61\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u304b\u3089JOIN\u30c6\u30fc\u30d6\u30eb\u3078\u3001\u3055\u3089\u306bJOIN\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u4ed6\u306e\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3078JOIN\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u8a08\u7b97\u30b9\u30c6\u30c3\u30d7\u304c\u5897\u5927\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nFROM customers c1\r\nJOIN orders o1 ON (c1.customer_id = o1.customer_id)\r\nJOIN order_details od1 ON (od1.order_id = o1.order_id)\r\nJOIN products p1 ON (od1.product_id = p1.product_id)\r\nJOIN orders o2 ON (o2.customer_id = o1.customer_id)\r\nJOIN order_details od2 ON (od2.order_id = o2.order_id)\r\nJOIN products p2 ON (od2.product_id = p2.product_id)\r\nWHERE c1.customer_name = 'Emil'\r\n  AND p1.product_name = 'Philz Coffee'\r\n<\/pre>\n<p id=\"004\">\u4e0a\u8a18\u306e\u9867\u5ba2\u3068\u88fd\u54c1\u306e\u95a2\u4fc2\u306eSQL\u3092\u4f7f\u3063\u3066\u3001\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30a8\u30f3\u30b8\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002\u305f\u3060\u3057\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u3001\u591a\u304f\u306eJOIN\u304c\u5fc5\u8981\u3067\u3001\u305d\u306e\u4e00\u3064\u4e00\u3064\u304c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u901f\u5ea6\u3092\u4f4e\u4e0b\u3055\u305b\u307e\u3059\u3002\uff08\u3061\u306a\u307f\u306b\u30a8\u30df\u30eb\u306f\u30d5\u30a3\u30eb\u30c4\u30b3\u30fc\u30d2\u30fc\u304c\u5927\u597d\u7269\u306e\u3088\u3046\u3067\u3059\u306d\u3002\uff09<\/p>\n<p>\u3055\u3066\u3001\u3044\u304f\u3064\u304b\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u62bc\u3055\u3048\u305f\u3068\u3053\u308d\u3067\u3001SQL\u3067\u306f\u96e3\u3057\u3044\u3051\u308c\u3069\u3001Cypher\u306a\u3089\u7c21\u5358\u306b\u3067\u304d\u308b\u3053\u306810\u9078\u3092\u3054\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\uff01<\/p>\n<h3>1. \u7d4c\u8def\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p>\u6700\u521d\u304b\u3089\u9ad8\u5ea6\u306a\u6a5f\u80fd\u306e\u7d39\u4ecb\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u7d4c\u8def\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<pre>:param product=>\"Pavlova\";<\/pre>\n<p>\u3053\u3053\u3067\u306f\u3001\u5f8c\u307b\u3069\u30af\u30a8\u30ea\u3067\u4f7f\u7528\u3059\u308bproduct\u3068\u3044\u3046\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3067\u306f\u3001\u30d1\u30b9\u30d1\u30bf\u30fc\u30f3\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>\r\nMATCH path = (p:Product {productName:$product})-[:PART_OF*]->(root:Category)\r\nRETURN path\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1a Northwind><\/em>\r\n<\/pre>\n<p>\u30ab\u30c6\u30b4\u30ea\u306e\u30ea\u30b9\u30c8\u3092\u6307\u3059\u88fd\u54c1\u304c\u3042\u308a\u307e\u3059\u3002\u30ab\u30c6\u30b4\u30ea\u306e\u968e\u5c64\u306e\u6df1\u3055\u304c\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\u3092\u4ed8\u3051\u3066\u304a\u3051\u3070\u3001\u30eb\u30fc\u30c8\u30ab\u30c6\u30b4\u30ea\u306b\u305f\u3069\u308a\u7740\u304f\u307e\u3067\u306e\u4efb\u610f\u306e\u30ea\u30f3\u30af\u3057\u305f\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u304c\u691c\u7d22\u7d50\u679c\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre>\r\nMATCH path = (p:Product {productName:$product})-[:PART_OF*1..10]->(root:Category)\r\nRETURN path\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1a Northwind><\/em>\r\n<\/pre>\n<p>\u6700\u592710\u500b\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u306e\u30d1\u30b9\u3092\u898b\u3064\u3051\u308b\u3068\u3044\u3063\u305f\u5236\u9650\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e1\u884c\u76ee\u3067\u306f\u300cConfections\u300d\u3068\u3044\u30461\u3064\u306e\u30ab\u30c6\u30b4\u30ea\u306e\u307f\u3042\u308a\u307e\u3059\u304c\u3001\u30ab\u30c6\u30b4\u30ea\u3092\u5897\u3084\u3059\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre>\r\nMATCH path = (c:Category {categoryName: \"Confections\"})\r\nCREATE (c-[:PART_OF]->(:Category {categoryName: \"Sweets\"})-[:PART_OF]->(:Category {categoryName: \"Unhealthy Food\"})\r\nRETURN path\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1a Northwind><\/em>\r\n<\/pre>\n<p>\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u30bf\u30a4\u30d7PART_OF\u3092\u4f7f\u7528\u3057\u3066\u3001categoryName\u304c\u300cSweets\u300d\u306e\u30ab\u30c6\u30b4\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001categoryName\u3092\u300cUnhealthy Food\u300d\u3068\u3057\u305f\u30ab\u30c6\u30b4\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u30d1\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><center><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/path-patterns.png\" alt=\"path-patterns\" width=\"295\" height=\"276\" class=\"alignnone size-full wp-image-51579\" \/><\/center><\/p>\n<p>\u898b\u3066\u306e\u901a\u308a\u3001\u5546\u54c1\u304b\u3089\u30eb\u30fc\u30c8\u30ab\u30c6\u30b4\u30ea\u307e\u3067\u30d1\u30b9\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002SQL\u3067\u540c\u3058\u3053\u3068\u3092\u5b9f\u73fe\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u3059\u3079\u3066\u306e\u968e\u5c64\u3067JOIN\u3092\u4f7f\u308f\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3042\u308b\u3044\u306f\u3001\u5171\u901a\u30c6\u30fc\u30d6\u30eb\u5f0f\u3092\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u30c6\u30fc\u30d6\u30eb\u3092\u518d\u5e30\u7684\u306b\u7d50\u5408\u3059\u308b\u3001\u3088\u308a\u8907\u96d1\u306a\u65b9\u6cd5\u306b\u904e\u304e\u307e\u305b\u3093\u3002<\/p>\n<p><b>\u30eb\u30fc\u30d7\u3092\u898b\u3064\u3051\u308b<\/b><\/p>\n<p>\u30d1\u30b9\u30d1\u30bf\u30fc\u30f3\u306b\u95a2\u9023\u3057\u3066\u3001\u30b0\u30e9\u30d5\u3067\u306f\u3001\u30eb\u30fc\u30d7\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4eba\u7269A\u304b\u3089\u59cb\u307e\u3063\u3066\u3001\u6700\u7d42\u7684\u306b\u307e\u305f\u4eba\u7269A\u306b\u3064\u306a\u304c\u308b\u30eb\u30fc\u30d7\u3092\u898b\u3064\u3051\u305f\u3044\u5834\u5408\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\nMATCH path = (p:Person)-[*1..5]-(p)\r\nRETURN [n in nodes(path) | coalesce(n.name, n.title)] as path, length(path)\r\nLIMIT 10\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1a Movies><\/em>\r\n<\/pre>\n<p>\u3053\u3053\u3067\u306f\u30011\uff5e5\u30db\u30c3\u30d7\u3067\u30b9\u30bf\u30fc\u30c8\u5730\u70b9\u306e\u4eba\u306b\u623b\u3063\u3066\u304f\u308b\u30d1\u30b9\u3092\u63a2\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u3092\u8868\u5f62\u5f0f\u3060\u3051\u3067\u306a\u304f\u3001\u8996\u899a\u7684\u306b\u793a\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u304c\u30b0\u30e9\u30d5\u306e\u7279\u5fb4\u3067\u3059\u3002\u3082\u3046\u5c11\u3057\u9577\u3081\u306e\u30eb\u30fc\u30d7\u306e\u30af\u30a8\u30ea\u3068\u30b0\u30e9\u30d5\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre id=\"005\">\r\nMATCH path = (p:Person)-[*3..10]-(p)\r\nRETURN path\r\nLIMIT 1\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1a Movies><\/em>\r\n<\/pre>\n<p><center><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/finding-loops-360x319.png\" alt=\"finding-loops\" width=\"360\" height=\"319\" class=\"alignnone size-medium wp-image-51583\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/finding-loops-360x319.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/finding-loops.png 443w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/center><\/p>\n<h3>2. \u6700\u77ed\u7d4c\u8def<\/h3>\n<p>Cypher\u3067\u3067\u304d\u308b\u3053\u3068\u306e2\u3064\u76ee\u306f\u3001\u6700\u77ed\u7d4c\u8def\u3067\u3059\u3002LinkedIn\u3067\u300c\u3053\u306e\u4eba\u3068\u306f\u4f55\u30db\u30c3\u30d7\u96e2\u308c\u3066\u3044\u308b\u300d\u3068\u3044\u3046\u3088\u3046\u306a\u60c5\u5831\u3092\u898b\u305f\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7c21\u5358\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\n:param name=>\"Meg Ryan\";\r\n<\/pre>\n<p>\u307e\u305a\u3001\u51fa\u767a\u70b9\u3068\u306a\u308b\u4eba\u7269\u304b\u3089\u59cb\u3081\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u300c\u30e1\u30b0\u30fb\u30e9\u30a4\u30a2\u30f3\u300d\u3068\u3044\u3046\u540d\u524d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30e1\u30b0\u30fb\u30e9\u30a4\u30a2\u30f3\u304b\u3089\u30b1\u30d3\u30f3\u30fb\u30d9\u30fc\u30b3\u30f3\u3078\u306e\u6700\u77ed\u7d4c\u8def\u3092\u63a2\u3057\u305f\u3044\u3068\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>\r\nMATCH path = shortestPath(\r\n    (:Person {name:$name})-[:ACTED_IN*..10]-(:Person {name:'Kevin Bacon'}) )\r\nRETURN path, length(path);\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1a Movies><\/em>\r\n<\/pre>\n<p id=\"006\">ACTED_IN\u3067\u306e\u9023\u7d50\u3092\u6700\u592710\u30db\u30c3\u30d7\u307e\u3067\u306b\u8a2d\u5b9a\u3057\u3001\u30d1\u30b9\u3068\u30d1\u30b9\u306e\u9577\u3055\u3092\u8fd4\u3059\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d1\u30b9\u306f1\u30db\u30c3\u30d7\u30012\u30db\u30c3\u30d7\u30013\u30db\u30c3\u30d7\u306a\u3069\u3068\u4efb\u610f\u306e\u9577\u3055\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/shortest-path-1-360x200.png\" alt=\"shortest-path-1\" width=\"450\" height=\"250\" class=\"alignnone size-medium wp-image-51588\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/shortest-path-1-360x200.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/shortest-path-1.png 455w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><br \/>\n<\/center><\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u30e1\u30b0\u30fb\u30e9\u30a4\u30a2\u30f3\u304b\u3089\u30b1\u30d3\u30f3\u30fb\u30d9\u30fc\u30b3\u30f3\u307e\u3067\u30014\u30db\u30c3\u30d7\u3042\u308b\u7d50\u679c\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u9593\u306b\u6620\u753b\u3092\u631f\u3093\u3060\u3001\u4ff3\u512a\u3068\u4ff3\u512a\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u3067\u3059\u3002<\/p>\n<h3>3. GROUP BY\u3092\u4f7f\u7528\u305b\u305a\u306b\u96c6\u8a08<\/h3>\n<p>\u3053\u306e\u6a5f\u80fd\u304c\u3067\u304d\u305f\u6642\u3001\u500b\u4eba\u7684\u306b\u3068\u3066\u3082\u5b09\u3057\u304b\u3063\u305f\u3067\u3059\u3002SQL\u3067\u306f\u30d5\u30a3\u30fc\u30eb\u30c9\u9078\u629e\u3068GROUP BY\u6587\u306e\u4e21\u65b9\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u30ad\u30fc\u3092\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001GROUP BY\u306f\u5197\u9577\u3060\u3068\u3044\u3064\u3082\u611f\u3058\u3066\u3044\u307e\u3057\u305f\u3002GROUP BY\u6587\u307e\u305f\u306f\u975e\u96c6\u8a08\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30b0\u30eb\u30fc\u30d7\u5316\u30ad\u30fc\u306e\u3069\u3061\u3089\u304b\u304c\u3042\u308c\u3070\u5145\u5206\u306a\u306e\u3067\u3001\u79c1\u542b\u3081Neo4j\u30e1\u30f3\u30d0\u30fc\u306fCypher\u3092\u4f5c\u308b\u306b\u3042\u305f\u3063\u3066\u3001\u3053\u306e\u5197\u9577\u306a\u8868\u73fe\u3092\u907f\u3051\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\nMATCH (m:Movie)<-[:ACTED_IN]-(a:Person)\r\n\r\n\/\/ \u4e2d\u9593\u96c6\u8a08\u3001\u5ba3\u8a00\u3055\u308c\u305f\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u307f\u3092\u6e21\u3059\r\nWITH a, count(m) as movies\r\n\/\/ \u96c6\u8a08\u5024\u306b\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u308b\r\nWHERE movies > 2\r\n\r\n\/\/ \u6b21\u306e\u30af\u30a8\u30ea\u90e8\u5206\r\nMATCH (a)-[:DIRECTED]->(m)\r\n\r\n\/\/ \u6700\u5f8c\u306ba.name\u306b\u3088\u308b\u96c6\u8a08\r\nRETURN a.name, collect(m.title) as movies, count(*) as count\r\nORDER BY count DESC LIMIT 5;\r\n\r\n<em><\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff1aMovie><\/em>\r\n<\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001\u3042\u308b\u6620\u753b\u306b\u51fa\u6f14\u3057\u305f\u4eba\u3092\u63a2\u3057\u3066\u3001\u4e2d\u9593\u96c6\u8a08\u3092\u884c\u3044\u307e\u3059\u3002\u6b21\u306b\u3001WITH\u53e5\u3092\u4f7f\u7528\u3057\u3066\u3001\u4eba\u5225\u306e\u96c6\u8a08\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u81ea\u52d5\u7684\u306bPerson\u304c\u30b0\u30eb\u30fc\u30d7\u5316\u30ad\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u306a\u305c\u306a\u3089\u3001\u7d50\u679c\u3067\u3053\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3060\u3051\u304c\u96c6\u7d04\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/p>\n<hr>\n<\/p>\n<p>\u7d9a\u304d\u306f<a href=\"\/lab\/51771\" rel=\"noopener\" target=\"_blank\">\u5f8c\u7de8\u306e\u8a18\u4e8b<\/a>\u306b\u3066\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can Do With Cypher That Are Hard Wi [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":51533,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[37],"tags":[306,46],"class_list":["post-51530","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-neo4j","tag-cypher","tag-neo4j"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Neo4j |\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can\" \/>\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\/51530\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Neo4j |\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530\" \/>\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=\"2022-06-15T01:00:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-18T02:42:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"418\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\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\/51530#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"headline\":\"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql\",\"datePublished\":\"2022-06-15T01:00:05+00:00\",\"dateModified\":\"2022-11-18T02:42:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530\"},\"wordCount\":141,\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png\",\"keywords\":[\"Cypher\",\"neo4j\"],\"articleSection\":[\"Neo4j\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530\",\"name\":\"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql - 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\/51530#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png\",\"datePublished\":\"2022-06-15T01:00:05+00:00\",\"dateModified\":\"2022-11-18T02:42:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"description\":\"Neo4j |\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#primaryimage\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png\",\"width\":800,\"height\":418,\"caption\":\"10-Things-You-Can-Do-With-Cypher\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#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\":\"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql\"}]},{\"@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\/7d923d1c017568a1a5e66d7bb1c8764a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Neo4j |\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can","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\/51530","og_locale":"ja_JP","og_type":"article","og_title":"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Neo4j |\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can","og_url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530","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":"2022-06-15T01:00:05+00:00","article_modified_time":"2022-11-18T02:42:24+00:00","og_image":[{"width":800,"height":418,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530"},"author":{"name":"admin","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"headline":"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql","datePublished":"2022-06-15T01:00:05+00:00","dateModified":"2022-11-18T02:42:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530"},"wordCount":141,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png","keywords":["Cypher","neo4j"],"articleSection":["Neo4j"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530","url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530","name":"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql - 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\/51530#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png","datePublished":"2022-06-15T01:00:05+00:00","dateModified":"2022-11-18T02:42:24+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"description":"Neo4j |\u672c\u30d6\u30ed\u30b0\u306f\u3001Neo4j\u793e\u306e\u30d6\u30ed\u30b0\u3067Neo4j\u793e\u306eMichael Hunger\u3055\u3093\u304c\u57f7\u7b46\u3057\u30012022\u5e745\u67086\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c10 Things You Can","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/06\/10-Things-You-Can-Do-With-Cypher.png","width":800,"height":418,"caption":"10-Things-You-Can-Do-With-Cypher"},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/51530#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":"Cypher\u306a\u3089\u3067\u304d\u308b\uff01SQL\u306b\u306f\u96e3\u3057\u3044\u3053\u306810\u9078\uff08\u524d\u7de8\uff09 #neo4j #cypher #sql"}]},{"@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\/7d923d1c017568a1a5e66d7bb1c8764a","name":"admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"admin"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/51530","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=51530"}],"version-history":[{"count":103,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/51530\/revisions"}],"predecessor-version":[{"id":56777,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/51530\/revisions\/56777"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/51533"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=51530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=51530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=51530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}