{"id":37688,"date":"2016-07-16T15:15:17","date_gmt":"2016-07-16T09:45:17","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=37688"},"modified":"2016-07-20T13:41:18","modified_gmt":"2016-07-20T08:11:18","slug":"syntax-creation-pattern-thinking-cypher-query-language","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/","title":{"rendered":"Understanding syntax and creating patterns | Cypher Query Language"},"content":{"rendered":"<p>Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it\u00a0is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL&#8217;s language syntax\u00a0suggests\u00a0that one must only define what to get without\u00a0specifying how to get it. Let&#8217;s revisit the schema example that i took in <a title=\"Up and Running with Neo4J\" href=\"http:\/\/www.tothenew.com\/blog\/up-and-running-with-neo4j\/\" target=\"_blank\">my last blog post<\/a> to understand this better.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-36617\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/06\/DB.png\" alt=\"NEO4J_SQLDB_SCHEMA\" width=\"767\" height=\"462\" \/><\/p>\n<p>Consider the above schema, lets find the number of persons who visited a particular city. Th SQL query should look something like this.<\/p>\n<p>[js]SELECT name FROM Person LEFT JOIN VISITED_CITIES ON Person.Id = VISITED_CITIES.Person_Id LEFT JOIN City ON City.Id = VISITED_CITIES.City_Id WHERE CITY.name = \u201cNew Delhi\u201d[\/js]<\/p>\n<p>However, the same thing can be achieved via CQL in Neo4j with only this :-<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-36618\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/06\/DB_NEO.png\" alt=\"Neo4J_CQL_Schema\" width=\"571\" height=\"452\" \/><\/p>\n<p>[js]MATCH (p:Person)-[:VISITED]-&gt;(c:City) WHERE c.name = \u201cNew Delhi\u201d RETURN p.name[\/js]<\/p>\n<p>It can be clearly observed that in SQL we have defined all the joins to let SQL database know that how to get the required data from different tables, but in CQL we have only defined what to get with a &#8216;PATTERN CLAUSE&#8217;<\/p>\n<p>Terminology and syntax of CQL :-<\/p>\n<p>CQL uses ASCII like characters for syntax :-<\/p>\n<ul>\n<li>Nodes are defined in round braces &#8216;<strong>(<\/strong>&#8216;, &#8216;<strong>)<\/strong>&#8216; . In above example we have defined a node of type person with (:Person) syntax and also has assigned it to a variable &#8216;p&#8217;, thus the complete sub expression (p:Person) also their is a node of type CIty which is assigned to variable c. Note that by assigning these nodes to variables we were able to apply different property checks too like city name must be &#8216;New Delhi&#8217; etc.<\/li>\n<li>Relationships are defined with arrows &#8216;-&gt;&#8217; and when you want to apply conditions on those too (e.g type of relation etc.) you embed those arrows with square braces that contains all the conditions. In the above example we have defined a relationship between nodes of type person and City where the type of relation should be Visited.<\/li>\n<\/ul>\n<p>So the complete PATTERN clause that we are looking at is, &#8216;Lets find a person who has visited a particular city&#8217;<\/p>\n<pre>(p:Person)-[:VISITED]-&gt;(c:City)<\/pre>\n<p>The power of CQL lies in pattern search and that&#8217;s why we are not limited to just this kind of simple relationships, you can provide any patterns that you may think of will exist in your schema. For e.g if you want to design a system in which you want to provide friendship recommendation on the basis of city visited history of a person, you can do so by something like this<\/p>\n<p>[js]MATCH (p:Person)-[:VISITED]-&gt;(c:City)&lt;-[:Lived_In]-(p2:Person) WHERE c.name = \u201cNew Delhi\u201d RETURN p.name, p2.name[\/js]<\/p>\n<p>The above query will provide you with name of persons who have visited New Delhi with name of persons who have Lived_in new delhi, so that you can match the common interests on persons and show recommendations based on it.<\/p>\n<p>Clauses in CQL :-<\/p>\n<ul>\n<li>Match :- It is similar to select clause of SQL<\/li>\n<li>Where :- Similar to where clause of SQL, used to filter out query results<\/li>\n<li>Create :- The &#8216;INSERT&#8217; of C, will be discussing in my next blog.<\/li>\n<li>Delete :- Used to delete\u00a0nodes from Neo4J.<\/li>\n<li>Set :- Update a property of node or relationship<\/li>\n<li>Remove :- Remove a property of node or relationship<\/li>\n<li>Return :- Used to filter out what is returned from the query.<\/li>\n<\/ul>\n<p>Next Blog about :- CRUD operations in CQL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it\u00a0is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL&#8217;s language [&hellip;]<\/p>\n","protected":false},"author":766,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":11,"footnotes":""},"categories":[1],"tags":[3755,3757,3754,4843,3609,3759,3608,1252,3756,3758],"class_list":["post-37688","post","type-post","status-publish","format-standard","hentry","category-technology","tag-cql","tag-cql-syntax","tag-cypher-query-language","tag-database","tag-graph-database","tag-graph-query-language","tag-neo4j","tag-nosql","tag-pattern-matching","tag-sql-to-cql"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL&#039;s language\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Shivam Khandelwal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL&#039;s language\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL&#039;s language\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#article\",\"name\":\"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog\",\"headline\":\"Understanding syntax and creating patterns | Cypher Query Language\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/Shivam\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/06\\\/DB.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#articleImage\"},\"datePublished\":\"2016-07-16T15:15:17+05:30\",\"dateModified\":\"2016-07-20T13:41:18+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#webpage\"},\"articleSection\":\"Technology, CQL, CQL Syntax, Cypher Query Language, Database, Graph Database, Graph Query Language, Neo4J, NoSQL, Pattern Matching, SQL to CQL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#listItem\",\"name\":\"Understanding syntax and creating patterns | Cypher Query Language\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#listItem\",\"position\":3,\"name\":\"Understanding syntax and creating patterns | Cypher Query Language\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/Shivam\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/Shivam\\\/\",\"name\":\"Shivam Khandelwal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5bcd4535e97668c6ec56ad9c151ee6ba3778956f59e45f626522d00cc480df7?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Shivam Khandelwal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/\",\"name\":\"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog\",\"description\":\"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL's language\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/syntax-creation-pattern-thinking-cypher-query-language\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/Shivam\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/Shivam\\\/#author\"},\"datePublished\":\"2016-07-16T15:15:17+05:30\",\"dateModified\":\"2016-07-20T13:41:18+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog","description":"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL's language","canonical_url":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#article","name":"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog","headline":"Understanding syntax and creating patterns | Cypher Query Language","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/Shivam\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/06\/DB.png","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#articleImage"},"datePublished":"2016-07-16T15:15:17+05:30","dateModified":"2016-07-20T13:41:18+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#webpage"},"articleSection":"Technology, CQL, CQL Syntax, Cypher Query Language, Database, Graph Database, Graph Query Language, Neo4J, NoSQL, Pattern Matching, SQL to CQL"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#listItem","name":"Understanding syntax and creating patterns | Cypher Query Language"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#listItem","position":3,"name":"Understanding syntax and creating patterns | Cypher Query Language","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/Shivam\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/Shivam\/","name":"Shivam Khandelwal","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c5bcd4535e97668c6ec56ad9c151ee6ba3778956f59e45f626522d00cc480df7?s=96&d=mm&r=g","width":96,"height":96,"caption":"Shivam Khandelwal"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/","name":"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog","description":"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL's language","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/Shivam\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/Shivam\/#author"},"datePublished":"2016-07-16T15:15:17+05:30","dateModified":"2016-07-20T13:41:18+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog","og:description":"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL's language","og:url":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Understanding syntax and creating patterns | Cypher Query Language | TO THE NEW Blog","twitter:description":"Cypher Query Language or CQL is the language to traverse and update graph structures in Neo4J. The language is similar to SQL and provides a declarative syntax for querying. However, it is worth mentioning that unlike SQL in which one needs to provide the complete procedure how to get records by defining joins etc. CQL's language","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"37688","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:37:11","updated":"2024-02-29 09:18:12","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUnderstanding syntax and creating patterns | Cypher Query Language\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"Understanding syntax and creating patterns | Cypher Query Language","link":"https:\/\/www.tothenew.com\/blog\/syntax-creation-pattern-thinking-cypher-query-language\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/37688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/766"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=37688"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/37688\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=37688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=37688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=37688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}