| title | description | category | difficulty-level | tags | updated-date | |||
|---|---|---|---|---|---|---|---|---|
Database Schema Reference |
Complete database schema documentation for VisionFlow |
reference |
intermediate |
|
2025-01-29 |
Complete database schema documentation for VisionFlow including SQLite, Neo4j, and Solid pod schemas.
VisionFlow uses two complementary databases:
| Database | Technology | Purpose | Performance |
|---|---|---|---|
| Graph DB | Neo4j | Graph data, relationships, analytics | 1M+ nodes, <20ms queries |
| Ontology Store | In-Memory | OWL classes, axioms, reasoning | Sub-millisecond reads |
| Topic | File | Description |
|---|---|---|
| Unified Schema | schemas.md | Legacy SQLite schema reference |
| Neo4j Schema | neo4j-schema.md | Neo4j graph database schema |
| Ontology Schema | ontology-schema-v2.md | OWL ontology storage |
| Solid Pod Schema | solid-pod-schema.md | Decentralized data storage |
| User Settings | user-settings-schema.md | User preferences |
| Table | Purpose |
|---|---|
graph_nodes |
Knowledge graph nodes with 3D positions |
graph_edges |
Relationships between nodes |
owl_classes |
OWL ontology class definitions |
owl_class_hierarchy |
SubClassOf relationships |
owl_properties |
OWL property definitions |
owl_axioms |
Complete OWL axiom storage |
file_metadata |
Source file tracking |
graph_statistics |
Runtime metrics |
| Label | Purpose |
|---|---|
GraphNode |
Primary knowledge graph nodes |
OWLClass |
Ontology class definitions |
| Type | Purpose |
|---|---|
RELATES_TO |
Generic relationships from graph_edges |
SUBCLASS_OF |
OWL SubClassOf relationships |
INSTANCE_OF |
Class membership |
Source Files --> File Metadata Table
|
v
Sync Process
|
+--> Neo4j: Graph DB
| |
| +--> GraphNode labels
| +--> Relationships
| +--> owl_classes
| +--> owl_axioms
|
+--> In-Memory: OntologyRepository
|
+--> GraphNode labels
+--> Relationships
- ADR-0001 - Database architecture decision
- API Reference
- Configuration Reference
- Error Codes