ArcFlow
Company
Managed Services
Markets
  • News
  • LOG IN
  • GET STARTED

OZ brings Visual Intelligence to physical venues, a managed edge layer that lets real-world environments see, understand, and act in real time.

Talk to us

ArcFlow

  • World Models
  • Sensors

Managed Services

  • OZ VI Venue 1
  • Case Studies

Markets

  • Sports
  • Broadcasting
  • Robotics

Company

  • About
  • Technology
  • Careers
  • Contact

Ready to see it live?

Talk to the OZ team about deploying at your venues, from a single pilot match to a full regional rollout.

Schedule a deployment review

© 2026 OZ. All rights reserved.

LinkedIn
ArcFlow Docs
Get Started
  • Get Started
  • Quickstart
  • Installation
  • Project Setup
  • Platforms
  • Bindings
  • Licensing
  • Pricing
Capabilities
  • Vector Search
  • Graph Algorithms
  • Sync
  • MCP Server (AI Agents)
  • Live Queries
  • Programs
  • Temporal
  • Spatial
  • Trusted RAG
  • Behavior Graph
  • Agent-Native
  • Event Sourcing
  • GPU Acceleration
  • Intent Relay
Concepts
  • World Model
  • Graph Model
  • Query Language (GQL)
  • Graph Patterns
  • SQL vs GQL
  • Parameters
  • Query Results
  • Persistence & WAL
  • Error Handling
  • Observations & Evidence
  • Confidence & Provenance
  • Proof Artifacts & Gates
  • Skills
GQL / WorldCypher
  • Overview
  • MATCH
  • WHERE
  • RETURN
  • OPTIONAL MATCH
  • CREATE
  • SET
  • MERGE
  • DELETE
  • REMOVE
  • WITH
  • UNION
  • UNWIND
  • CASE
  • Spatial Queries
  • Temporal Queries
  • Algorithms Reference
  • Triggers
Schema
  • Overview
  • Indexes
  • Constraints
  • Data Types
Functions
  • Built-in Functions
  • Aggregations
  • Procedures
  • Shortest Path
  • EXPLAIN
  • PROFILE
Skills
  • Overview
  • CREATE SKILL
  • PROCESS NODE
  • REPROCESS EDGES
Operations
  • CLI
  • REPL Commands
  • Snapshot & Restore
  • Server Modes & PG Wire
  • Persistence
  • Import & Export
  • Docker
  • Architecture
  • Cloud Architecture
  • Sync Protocol (Deep Dive)
Guides
  • Agent Integration
  • World Model
  • Graph Model Fundamentals
  • Trusted RAG
  • Using Skills
  • Behavior Graphs
  • Swarm & Multi-Agent
  • Migration Guide
  • Filesystem Workspace
  • From SQL to GQL
  • ArcFlow for Coding Agents
  • Data Quality & Pipeline Integrity
  • Code Intelligence
Tutorials
  • Knowledge Graph
  • Entity Linking
  • Vector Search
  • Graph Algorithms
Recipes
  • CRUD
  • Multi-MATCH
  • MERGE (Upsert)
  • Full-Text Search
  • Temporal Queries
  • Batch Projection
  • GraphRAG
Use Cases
  • Agent Tooling
  • Knowledge Management
  • RAG Pipeline
  • Fraud Detection
  • Sports Analytics
  • Grounded Neural Objects
  • Behavior Graphs
  • Autonomous Systems
  • Digital Twins
  • Robotics & Perception
Reference
  • TypeScript API
  • GQL Conformance
  • Compatibility Matrix
  • Glossary
  • Data Types
  • Operators
  • Error Codes
  • Known Issues

WorldCypher: Temporal Queries

ArcFlow natively supports time-aware queries — snapshot the graph at any point in time, track trajectories, and compute temporal metrics.

AS OF seq N — time travel queries#

Query the graph as it existed at a specific mutation sequence number. The engine replays the WAL onto a clean snapshot at that sequence.

-- What did the graph look like at sequence 42?
MATCH (n:Person) AS OF seq 42 RETURN n.name, n.age
// Get current sequence, then query an earlier snapshot
const clock = db.query("CALL db.clock()")
const currentSeq = Number(clock.rows[0].get('tick'))
 
// Query state from 100 mutations ago
const snapshot = db.query(`MATCH (n:Person) AS OF seq ${currentSeq - 100} RETURN n.name`)

Deprecated: AS OF <unix_timestamp> emits a deprecation warning. Use AS OF seq N for correctness.

Temporal procedures#

temporal.velocity — rate of change#

How fast is the graph changing?

const v = db.query("CALL temporal.velocity(7)")  // last 7 days
console.log(v.rows[0].get('totalNodes'))
console.log(v.rows[0].get('totalRelationships'))

temporal.decay — exponential decay#

Rank recent data higher with exponential decay:

const decayed = db.query("CALL temporal.decay(7, 0.01)")
// halfLife=7 days, floor=0.01

temporal.trajectory — entity history#

Track an entity's changes over time:

const trajectory = db.query("CALL temporal.trajectory()")

Temporal database operations#

-- Changes since last checkpoint
CALL db.changesSince
 
-- Compare two temporal versions
CALL db.temporalCompare
 
-- Replay temporal events
CALL db.temporalReplay
 
-- Nodes at a specific point in time
CALL db.nodesAsOf

Temporal live queries#

Combine temporal with live queries for continuous monitoring:

-- Continuously watch for new high-value nodes
LIVE MATCH (n:Person) WHERE n.score > 0.9 RETURN n.name, n.score

Use cases#

  • Audit trails — "What was the state of entity X on March 1st?"
  • Temporal analytics — "How has the network evolved over time?"
  • Event sourcing — replay graph mutations for debugging
  • Regulatory compliance — point-in-time reporting

See Also#

  • Temporal Queries — temporal capability overview with patterns and examples
  • Event Sourcing — WAL-backed mutation history
  • Persistence & WAL — how the WAL stores every mutation
  • Use Case: Autonomous Systems — temporal reasoning in autonomous agents
Try it
Open ↗⌘↵ to run
Loading engine…
← PreviousSpatial QueriesNext →Algorithms Reference