MATIH Platform is in active MVP development. Documentation reflects current implementation status.
2. Architecture
Data Stores
Graph Stores

Graph Stores

Graph databases in the MATIH Platform store knowledge graphs, data lineage, and entity relationships. They enable the AI Service to understand data context, trace data provenance, and resolve business terminology.


Graph Store Options

TechnologyUse CaseQuery Language
Neo4j 5.xKnowledge graphs, entity relationshipsCypher
DgraphContext graphs, high-performance graph operationsGraphQL, DQL

Use Cases

Use CaseGraph StoreDescription
Data lineageNeo4j / DgraphTrack data flow from source to dashboard
Context graphDgraphAI context for query understanding
Business term relationshipsNeo4jOntology relationships between terms
Impact analysisNeo4jUnderstand downstream effects of schema changes
Entity resolutionDgraphLink related entities across data sources

Context Graph Architecture

The context graph stores relationships between data entities to help the AI Service understand the data landscape:

[Table: orders] --HAS_COLUMN--> [Column: amount]
[Table: orders] --HAS_COLUMN--> [Column: order_date]
[Table: orders] --JOINS_TO--> [Table: customers]
[Column: amount] --USED_IN--> [Metric: revenue]
[Metric: revenue] --DEFINED_BY--> [Model: sales_model]

Data Lineage

Graph stores track the complete lineage of data:

RelationshipFromToExample
SOURCE_OFData sourceTableS3 bucket --> raw_orders
TRANSFORMS_TOPipeline stepTableraw_orders --> clean_orders
JOINS_WITHTableTableorders JOIN customers
FEEDS_INTOTableDashboardorders --> Revenue Dashboard
TRAINED_ONDatasetML Modelfeatures --> churn_model

Multi-Tenancy

StrategyImplementation
Neo4jTenant ID property on all nodes, Cypher queries filtered by tenant
DgraphTenant-scoped predicates, query-time filtering
// Neo4j: All queries include tenant filter
MATCH (t:Table)-[:HAS_COLUMN]->(c:Column)
WHERE t.tenant_id = 'acme-corp'
RETURN t.name, c.name, c.data_type

Deployment

TechnologyDeploymentNamespace
Neo4jHelm chart (StatefulSet)matih-data-plane
DgraphHelm chart (StatefulSet)matih-data-plane

Related Pages