Continuous Query Syntax

Writing Continuous Queries

Continuous Queries Continuous Query A query that runs continuously, maintaining an always-current result set as data changes. Learn more are written using a subset of the Cypher Query Language openCypher A declarative graph query language used to write Drasi Continuous Queries. Learn more or Graph Query Language GQL An ISO-standard graph query language supported by Drasi for Continuous Queries. Learn more (GQL). These query languages allow you to describe patterns in graph data and specify transformations to detect changes of interest.

Both query languages work with graph patterns using ASCII-art syntax where round brackets represent nodes Node A data entity in the property graph model, representing a discrete object or concept. Learn more and arrows represent relationships Relationship A connection between two nodes in the property graph, representing how entities relate. Learn more . The key difference is that Drasi evaluates these queries continuously against streaming data changes rather than executing them once against static data.

Query Language Documentation

Learning Resources

If you are new to Cypher, Neo4j provides excellent resources: