WorldCypher Overview

Canonical surface for the Query Engine layer.

ArcFlow's query language is GQL — the ISO international standard for graph query languages (ISO/IEC 39075). If you know Cypher, you already know it: MATCH, CREATE, MERGE, WHERE, RETURN all work exactly as expected, with no migration needed.

ArcFlow's implementation is called WorldCypher. It passes ~56% of the openCypher TCK at strict canonical equivalence (2,192/3,881, measured 2026-06-29; hardening in progress under I-INIT-GQLC), implements ISO/IEC 39075:2024 (GQL Edition 1) plus accepted forward-looking V2 proposals, and extends GQL with capabilities the standard leaves to implementations.

StandardConformance
openCypher TCK🔧 ~56% — 2192/3881 strict canonical
ISO GQL V2 (ISO/IEC 39075)✅ Full — GQLSTATUS codes, IS LABELED, ELEMENT_ID, NEXT WHEN/THEN/ELSE/END, UNIQUE/PRIMARY KEY constraints, transaction control

WorldCypher extensions beyond the standard: AS OF temporal snapshots, LIVE MATCH standing queries, CREATE LIVE VIEW, confidence filtering (WHERE r._confidence > 0.8), spatial predicates, CREATE SKILL, PROCESS NODE.

WorldCypher is a language for world models. A single query can express all three dimensions of agent reasoning simultaneously: spatial (what's near me, what's in this zone), temporal (what was true at sequence N, what changed since), and relational (what connects these entities, through what paths, with what confidence). That composability is what separates world model queries from SQL or key-value lookups.

Operator Summary#

CategoryOperators
ReadMATCH, WHERE (=, <>, >, <, >=, <=), AND/OR/NOT, CONTAINS, STARTS WITH, EXISTS
TraversalSingle-hop, variable-length *min..max, shortestPath()
WriteCREATE node, CREATE relationship, MERGE (upsert), DELETE, SET
ProjectionRETURN, RETURN ... AS, DISTINCT, ORDER BY, SKIP, LIMIT
AggregationCOUNT, SUM, AVG, COLLECT
GQL V2IS LABELED :Label, ELEMENT_ID(n), NEXT WHEN/THEN/ELSE/END
ConstraintsCREATE CONSTRAINT ON :L(p) ASSERT UNIQUE, ASSERT PRIMARY KEY
TransactionSTART TRANSACTION [READ ONLY], COMMIT, ROLLBACK
SkillsCREATE SKILL, PROCESS NODE, REPROCESS EDGES
IntrospectionEXPLAIN

Quick Examples#

Read#

MATCH (n:Person) WHERE n.age > 25 AND n.name CONTAINS 'li' RETURN n.name

Write#

CREATE (n:Person {name: 'Eve', age: 28}) RETURN n
MERGE (n:Person {name: 'Eve'}) RETURN n
MATCH (n) WHERE n.name = 'Eve' SET n.age = 29
MATCH (n) WHERE n.name = 'Eve' DELETE n

Traverse#

MATCH (a:Person {name: 'Alice'})-[:KNOWS*1..3]->(b) RETURN b.name
shortestPath (a:Person {name: 'Alice'}), (b:Person {name: 'Dave'})

Aggregate#

MATCH (n:Person) RETURN count(n), avg(n.age), collect(n.name) ORDER BY n.age DESC

Introspect#

EXPLAIN MATCH (n:Person) WHERE n.age > 25 RETURN n.name

Sections#

Query Syntax#

  • MATCH — pattern matching
  • WHERE — filtering predicates
  • RETURN — projection, ordering, pagination

Statements#

  • CREATE — node and relationship creation
  • MERGE — upsert semantics
  • DELETE — removal
  • SET — property mutation

Data Types#

Functions#

Execution#

  • Execution Options — QueryOptions(deadline_ms=…), result.transport_outcome, result.io_stats

Standards & Compatibility#

Try it
Open ↗
Loading engine…