GraphForge Reference Documentation¶
This directory contains comprehensive reference documentation for GraphForge's OpenCypher implementation and TCK compliance.
Directory Structure¶
opencypher-features/¶
Authoritative documentation of OpenCypher features from the official specification, organized by category:
01-clauses.md- Query clauses (MATCH, CREATE, WHERE, RETURN, WITH, etc.)02-functions.md- Built-in functions (string, numeric, list, aggregation, etc.)03-operators.md- Operators and expressions (comparison, logical, arithmetic, etc.)04-patterns.md- Pattern matching syntax (nodes, relationships, paths)05-data-types.md- Data types (primitives, structural, composite, temporal)
Each document includes: - Complete feature list for that category - Syntax and examples - Links to OpenCypher specification - Usage notes and edge cases
implementation-status/¶
Implementation status reports for GraphForge, showing which features are complete, partial, or not implemented:
clauses.md- Status of each query clausefunctions.md- Status of each built-in functionoperators.md- Status of each operatorpatterns.md- Status of pattern matching features
Each status report includes:
- Feature name
- Status: ✅ COMPLETE, ⚠️ PARTIAL, ❌ NOT_IMPLEMENTED
- File references (e.g., src/graphforge/executor/executor.py:234)
- Notes on partial implementations or known limitations
feature-mapping/¶
Mappings between OpenCypher features and TCK test coverage:
clause-to-tck.md- TCK scenarios that test each clausefunction-to-tck.md- TCK scenarios that test each functiontck-inventory.md- Complete inventory of all TCK test scenarios
Shows which features have strong TCK coverage and which have gaps.
Root Reference Documents¶
opencypher-compatibility.md- Main compatibility document (overview, quick reference)opencypher-compatibility-matrix.md- Comprehensive matrix showing all features, status, and TCK coveragefeature-graph-schema.md- Schema for the GraphForge knowledge graphfeature-graph-queries.md- Example Cypher queries for analyzing feature statustck-compliance.md- TCK compliance metrics and progress tracking
GraphForge Knowledge Graph¶
The feature inventory, implementation status, and TCK mapping are also available as a queryable GraphForge database:
- Location:
docs/feature-graph.db - Builder script:
scripts/build_feature_graph.py - Schema: See
feature-graph-schema.md - Example queries: See
feature-graph-queries.md
This demonstrates GraphForge's capabilities by using it to model its own feature landscape.
How to Use This Documentation¶
For Contributors¶
- Implementing a new feature?
- Check
implementation-status/to see current status - Check
feature-mapping/to find relevant TCK tests -
Update status after implementation
-
Improving TCK coverage?
- See
tck-inventory.mdfor all available scenarios -
Check
feature-mapping/to find under-tested features -
Planning a release?
- Query the feature graph for completion percentages
- Check
opencypher-compatibility-matrix.mdfor gaps
For Users¶
- Want to know if a feature is supported?
- Check
opencypher-features/for feature definition - Check
implementation-status/for GraphForge support -
See
opencypher-compatibility.mdfor quick reference -
Reporting a bug?
- Check if the feature is complete or partial
- Reference the implementation status in your issue
For Researchers¶
- Analyzing OpenCypher compliance?
- Query the GraphForge knowledge graph
- See
feature-graph-queries.mdfor examples - Use
opencypher-compatibility-matrix.mdfor overview
Maintenance¶
This documentation is maintained alongside the codebase:
- Update frequency: After each feature implementation
- Validation: Run
scripts/build_feature_graph.pyto ensure consistency - Source of truth: OpenCypher specification at https://opencypher.org/resources/
Related Documentation¶
docs/tutorial.md- Getting started with GraphForgedocs/datasets/- Dataset integration documentationdocs/use-cases/- Use case examplesCHANGELOG.md- Version history and release notes