rust-kgdb 0.6.50 → 0.6.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +22 -2
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,47 @@
2
2
 
3
3
  All notable changes to the rust-kgdb TypeScript SDK will be documented in this file.
4
4
 
5
+ ## [0.6.52] - 2025-12-17
6
+
7
+ ### Added W3C Standards Support
8
+
9
+ #### New Features in Architecture Table
10
+ - **RDF 1.2**: RDF-Star (quoted triples), TriG, N-Quads
11
+ - **SHACL**: W3C Shapes Constraint Language validation
12
+ - **PROV**: W3C Provenance ontology support
13
+
14
+ #### Added to Capabilities Comparison
15
+ | Capability | HyperMind | LangChain/DSPy |
16
+ |------------|-----------|----------------|
17
+ | RDF-Star | Native quoted triples | Not supported |
18
+ | Data Validation | SHACL constraints (W3C) | External validator |
19
+ | Provenance Tracking | W3C PROV ontology | Manual implementation |
20
+
21
+ ---
22
+
23
+ ## [0.6.51] - 2025-12-17
24
+
25
+ ### Factual Capabilities Comparison
26
+
27
+ #### Added Built-in Capabilities Table
28
+ Shows what HyperMind has natively vs what LangChain/DSPy need external dependencies for:
29
+
30
+ | Capability | HyperMind | LangChain/DSPy |
31
+ |------------|-----------|----------------|
32
+ | Recursive Reasoning | Datalog semi-naive (native) | Manual implementation |
33
+ | Graph Propagation | Pregel BSP | External library (NetworkX) |
34
+ | Multi-way Joins | WCOJ O(N^(ρ/2)) | No native support |
35
+ | Pattern Matching | Motif DSL | Manual traversal |
36
+ | OWL 2 RL Reasoning | Sparse matrix CSR/CSC | External reasoner |
37
+ | Vector Similarity | HNSW + ARCADE cache | External vector DB |
38
+ | Transitive Closure | Native Datalog | Loop implementation |
39
+
40
+ #### Added Agent Memory to Framework Comparison
41
+ - Built-in: Working + Episodic + KG-backed memory
42
+ - Memory Retrieval: 94% Recall@10 at 10K depth, 16.7ms
43
+
44
+ ---
45
+
5
46
  ## [0.6.50] - 2025-12-17
6
47
 
7
48
  ### Complete Architecture Documentation
package/README.md CHANGED
@@ -53,6 +53,9 @@
53
53
  | Component | What It Does | Performance |
54
54
  |-----------|--------------|-------------|
55
55
  | **SPARQL 1.1** | W3C-compliant query engine, 64 builtin functions | 449ns lookups |
56
+ | **RDF 1.2** | RDF-Star (quoted triples), TriG, N-Quads | W3C compliant |
57
+ | **SHACL** | W3C Shapes Constraint Language validation | Constraint engine |
58
+ | **PROV** | W3C Provenance ontology support | Audit trail |
56
59
  | **WCOJ Joins** | Worst-case optimal joins for multi-way patterns | O(N^(ρ/2)) |
57
60
  | **Datalog** | Semi-naive evaluation with recursion | Incremental |
58
61
  | **Sparse Matrix** | CSR/CSC-based reasoning for OWL 2 RL | Memory-efficient |
@@ -154,8 +157,25 @@
154
157
  | **Core Function** | Execute queries on data | Chain LLM prompts |
155
158
  | **Data Storage** | Built-in QuadStore | None (BYODB) |
156
159
  | **Query Execution** | Native SPARQL/Datalog | External DB needed |
157
-
158
- **Where HyperMind Genuinely Wins**:
160
+ | **Agent Memory** | Built-in (Working + Episodic + KG-backed) | External vector DB needed |
161
+ | **Memory Retrieval** | 94% Recall@10 at 10K depth, 16.7ms | Depends on external provider |
162
+
163
+ **Built-in Capabilities (No External Dependencies)**:
164
+
165
+ | Capability | HyperMind | LangChain/DSPy |
166
+ |------------|-----------|----------------|
167
+ | **Recursive Reasoning** | Datalog semi-naive evaluation (native) | Manual implementation needed |
168
+ | **Graph Propagation** | Pregel BSP (PageRank, shortest paths) | External library (NetworkX) |
169
+ | **Multi-way Joins** | WCOJ algorithm O(N^(ρ/2)) | No native support |
170
+ | **Pattern Matching** | Motif DSL `(a)-[]->(b); (b)-[]->(c)` | Manual graph traversal |
171
+ | **OWL 2 RL Reasoning** | Sparse matrix CSR/CSC (native) | External reasoner needed |
172
+ | **Vector Similarity** | HNSW + ARCADE 1-hop cache | External vector DB (Pinecone, etc.) |
173
+ | **Transitive Closure** | `ancestor(?X,?Z) :- parent(?X,?Y), ancestor(?Y,?Z)` | Loop implementation |
174
+ | **RDF-Star** | Native quoted triples (RDF 1.2) | Not supported |
175
+ | **Data Validation** | SHACL constraints (W3C) | External validator needed |
176
+ | **Provenance Tracking** | W3C PROV ontology (native) | Manual implementation |
177
+
178
+ **Database Performance (vs Industry Leaders)**:
159
179
 
160
180
  | Metric | HyperMind | Comparison |
161
181
  |--------|-----------|------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-kgdb",
3
- "version": "0.6.50",
3
+ "version": "0.6.52",
4
4
  "description": "High-performance RDF/SPARQL database with AI agent framework. GraphDB (449ns lookups, 35x faster than RDFox), GraphFrames analytics (PageRank, motifs), Datalog reasoning, HNSW vector embeddings. HyperMindAgent for schema-aware query generation with audit trails. W3C SPARQL 1.1 compliant. Native performance via Rust + NAPI-RS.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",