Semantic modeling and Knowledge Graph queries via chat and editor.
| Capability | LibreChat | Zed IDE |
|---|---|---|
| Validate SEA-DSL | ✅ “Validate spec X” | ✅ validate_specs action |
| Generate projections | ✅ “Generate CALM/RDF” | ✅ generate_code action |
| Query Knowledge Graph | ✅ Natural language | ✅ SPARQL via query_knowledge |
| Semantic diff | ✅ “Compare versions” | Via git + chat |
1
2
3
4
5
6
7
8
9
You: Validate docs/specs/shared/kernel.sea with type checking
SEA™: ✅ Validation Results:
- Syntax: valid
- Types: consistent
- Units: compatible
- Policies: 1 validated (KernelIndependence)
No errors found.
.sea file1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
You: Find all entities in the governance domain that require HITL approval
SEA™: Querying Knowledge Graph...
SPARQL executed:
SELECT ?entity ?hitl_reason WHERE {
?entity a sea:Entity ;
sea:domain "governance" ;
sea:requiresHITL true ;
sea:hitlReason ?hitl_reason .
}
Results:
| Entity | HITL Reason |
|--------|-------------|
| PolicyRule | mutations affect compliance |
| AuthorityBoundary | existential tier actions |
| ComplianceEvidence | audit trail integrity |
1
2
3
4
5
6
7
{
"toolName": "query_knowledge",
"arguments": {
"sparql": "PREFIX sea: <http://sea-forge.com/schema/core#> SELECT ?flow ?from ?to WHERE { ?flow a sea:Flow ; sea:from ?from ; sea:to ?to }",
"context": "case-management"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
You: Generate CALM architecture diagram from case-management.sea
SEA™: Generating CALM projection...
Output: generated/case-management.calm.json
```json
{
"$schema": "https://calm.finos.org/schema/1.0",
"nodes": [
{"id": "case-service", "type": "service"},
{"id": "case-db", "type": "database"}
],
"relationships": [...]
}
1
2
3
### Generate RDF Triples
You: Export case-management domain to Turtle format
SEA™: Generated: generated/case-management.ttl
1
2
3
4
5
6
@prefix sea: <http://sea-forge.com/schema/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
sea:Case a sea:Entity ;
rdfs:label "Case" ;
sea:domain "case-management" .
1
2
3
4
5
---
## Semantic Debt Analysis
You: Analyze semantic debt in the governance bounded context
SEA™: Semantic Debt Report (SDS-016):
| Debt ID | Type | Severity | Description |
|---|---|---|---|
| SD-001 | Concept Drift | Medium | “PolicyRule” vs “PolicyConstraint” naming |
| SD-002 | Missing Invariant | High | No unit tests for POL-031 |
| SD-003 | Orphan Entity | Low | “LegacyAuditLog” not referenced |
Recommended Actions:
| Task | Prompt |
|---|---|
| Validate all specs | “Validate all .sea files in docs/specs/” |
| Find entity | “What is the definition of Entity X?” |
| List flows | “Show all flows in bounded context Y” |
| Policy coverage | “What policies cover Entity X?” |
| Semantic search | “Find all concepts related to ‘payment’” |
See Also:
Last Updated: January 2026