Cypher (query language)
Tools & Environment CypherCypher languageCypher query language
Cypher is Neo4j's graph database query language — the SQL equivalent for knowledge graphs, enabling relationship analysis and node centrality metrics.
Key operations: MERGE (create without duplicates), MATCH (pattern search), CREATE (creation), DELETE (removal), RETURN (result output). In semantic audits Cypher is used to build knowledge graphs (MERGE nodes and relationships), analyze graph metrics (degree centrality, betweenness centrality) and export data for further processing.
Example query: MATCH (e:Entity)-[:HAS_ATTRIBUTE]->(a:Attribute) WHERE e.name = 'probate' RETURN a.name — returns all attributes of the 'probate' entity. Cypher is declarative (you say WHAT you want, not HOW to do it), which makes it relatively easy to learn.
Source: AI Semantic SEO Expert, Robert Niechciał (sensai.io)