rust-kgdb 0.6.19 → 0.6.20

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 (2) hide show
  1. package/README.md +55 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -182,29 +182,63 @@ const result = await agent.call('Calculate risk score for entity P001')
182
182
 
183
183
  ## Features
184
184
 
185
- ### Core Database
186
- - **SPARQL 1.1** - Full query and update support (64 builtin functions)
187
- - **RDF 1.2** - Complete W3C standard implementation
188
- - **RDF-Star** - Statements about statements
189
- - **Hypergraph** - N-ary relationships beyond triples
190
-
191
- ### Graph Analytics
192
- - **PageRank** - Iterative ranking algorithm
193
- - **Connected Components** - Community detection
194
- - **Shortest Paths** - Path finding
195
- - **Triangle Count** - Graph density
196
- - **Motif Finding** - Pattern matching
197
-
198
- ### AI Agent Framework
199
- - **Schema-Aware** - Auto-extracts schema from your data
200
- - **Typed Tools** - Input/output validation prevents errors
201
- - **Audit Trail** - Every answer is traceable
202
- - **Memory** - Working, episodic, and long-term memory
185
+ ### Core Database (SPARQL 1.1)
186
+ | Feature | Description |
187
+ |---------|-------------|
188
+ | **SELECT/CONSTRUCT/ASK** | Full SPARQL 1.1 query support |
189
+ | **INSERT/DELETE/UPDATE** | SPARQL Update operations |
190
+ | **64 Builtin Functions** | String, numeric, date/time, hash functions |
191
+ | **Named Graphs** | Quad-based storage with graph isolation |
192
+ | **RDF-Star** | Statements about statements |
193
+
194
+ ### Rule-Based Reasoning (Datalog)
195
+ | Feature | Description |
196
+ |---------|-------------|
197
+ | **Facts & Rules** | Define base facts and inference rules |
198
+ | **Semi-naive Evaluation** | Efficient incremental computation |
199
+ | **Recursive Queries** | Transitive closure, ancestor chains |
200
+
201
+ ### Graph Analytics (GraphFrames)
202
+ | Feature | Description |
203
+ |---------|-------------|
204
+ | **PageRank** | Iterative node importance ranking |
205
+ | **Connected Components** | Find isolated subgraphs |
206
+ | **Shortest Paths** | BFS path finding from landmarks |
207
+ | **Triangle Count** | Graph density measurement |
208
+ | **Motif Finding** | Structural pattern matching DSL |
209
+
210
+ ### Vector Similarity (Embeddings)
211
+ | Feature | Description |
212
+ |---------|-------------|
213
+ | **HNSW Index** | O(log N) approximate nearest neighbor |
214
+ | **Multi-provider** | OpenAI, Anthropic, Ollama support |
215
+ | **Composite Search** | RRF aggregation across providers |
216
+
217
+ ### AI Agent Framework (HyperMind)
218
+ | Feature | Description |
219
+ |---------|-------------|
220
+ | **Schema-Aware** | Auto-extracts schema from your data |
221
+ | **Typed Tools** | Input/output validation prevents errors |
222
+ | **Audit Trail** | Every answer is traceable |
223
+ | **Memory** | Working, episodic, and long-term memory |
224
+
225
+ ### Available Tools
226
+ | Tool | Input → Output | Description |
227
+ |------|----------------|-------------|
228
+ | `kg.sparql.query` | Query → BindingSet | Execute SPARQL SELECT |
229
+ | `kg.sparql.update` | Update → Result | Execute SPARQL UPDATE |
230
+ | `kg.datalog.apply` | Rules → InferredFacts | Apply Datalog rules |
231
+ | `kg.motif.find` | Pattern → Matches | Find graph patterns |
232
+ | `kg.embeddings.search` | Entity → SimilarEntities | Vector similarity |
233
+ | `kg.graphframes.pagerank` | Graph → Scores | Rank nodes |
234
+ | `kg.graphframes.components` | Graph → Components | Find communities |
203
235
 
204
236
  ### Performance
205
- - **2.78 µs** lookup speed (35x faster than RDFox)
206
- - **146K triples/sec** bulk insert
207
- - **24 bytes/triple** memory efficiency
237
+ | Metric | Value | Comparison |
238
+ |--------|-------|------------|
239
+ | **Lookup Speed** | 2.78 µs | 35x faster than RDFox |
240
+ | **Bulk Insert** | 146K triples/sec | Production-grade |
241
+ | **Memory** | 24 bytes/triple | Best-in-class efficiency |
208
242
 
209
243
  ---
210
244
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-kgdb",
3
- "version": "0.6.19",
3
+ "version": "0.6.20",
4
4
  "description": "Production-grade Neuro-Symbolic AI Framework with Schema-Aware GraphDB, Context Theory, and Memory Hypergraph: +86.4% accuracy over vanilla LLMs. Features Schema-Aware GraphDB (auto schema extraction), BYOO (Bring Your Own Ontology) for enterprise, cross-agent schema caching, LLM Planner for natural language to typed SPARQL, ProofDAG with Curry-Howard witnesses. High-performance (2.78µs lookups, 35x faster than RDFox). W3C SPARQL 1.1 compliant.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",