rust-kgdb 0.8.18 → 0.8.19
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.
- package/README.md +44 -25
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,21 +38,39 @@ npm run brain # BRAIN Fraud & Underwriting demo
|
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
## What's New in v0.8.
|
|
41
|
+
## What's New in v0.8.19
|
|
42
42
|
|
|
43
43
|
**All examples now in [hypermind-examples](https://github.com/gonnect-uk/hypermind-examples) repository**
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
|
50
|
-
|
|
51
|
-
| **
|
|
45
|
+
### Real-World Demos That Actually Work
|
|
46
|
+
|
|
47
|
+
Most AI demos are impressive until you look under the hood. Ours are different—every answer is grounded in a knowledge graph, every recommendation has a reason, every conclusion has a proof.
|
|
48
|
+
|
|
49
|
+
| Demo | What It Proves | Why It Matters |
|
|
50
|
+
|------|----------------|----------------|
|
|
51
|
+
| **Digital Twin** | IoT + OWL reasoning for smart buildings | Decisions with SHA-256 proof trails |
|
|
52
|
+
| **Music Recommendation** | Graph similarity, not vibes | "Slayer for Metallica" because thrash metal lineage, not random |
|
|
53
|
+
| **Self-Driving Car** | Explainable perception decisions | Every brake/accelerate is SPARQL-derived |
|
|
54
|
+
| **BRAIN Fraud Detection** | Cross-database federation | KGDB + Snowflake + BigQuery in one query |
|
|
55
|
+
| **Euroleague Analytics** | Sports stats with deductive reasoning | 111 observations → 222 derived facts |
|
|
56
|
+
|
|
57
|
+
**The difference?** When we say "Megadeth is similar to Metallica," we can show you the graph path: same genre (thrash metal), shared influence (Black Sabbath), 1-hop distance. Not a probability. A derivation.
|
|
58
|
+
|
|
59
|
+
### Try It Now
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
git clone https://github.com/gonnect-uk/hypermind-examples.git
|
|
63
|
+
cd hypermind-examples && npm install
|
|
64
|
+
|
|
65
|
+
npm run digital-twin # IoT + Datalog rules
|
|
66
|
+
npm run music # Graph-based recommendations
|
|
67
|
+
npm run brain # Fraud + Underwriting
|
|
68
|
+
npm run self-driving-car # Explainable AV decisions
|
|
69
|
+
```
|
|
52
70
|
|
|
53
71
|
### Complete Working Examples
|
|
54
72
|
|
|
55
|
-
**All demos
|
|
73
|
+
**All demos verified:** [hypermind-examples](https://github.com/gonnect-uk/hypermind-examples)
|
|
56
74
|
|
|
57
75
|
```bash
|
|
58
76
|
git clone https://github.com/gonnect-uk/hypermind-examples.git
|
|
@@ -91,22 +109,23 @@ That's **real SPARQL**, **real results**, **real proofs**. No mocking. No hardco
|
|
|
91
109
|
|
|
92
110
|
### Demo Validation Results (2025-12-24)
|
|
93
111
|
|
|
94
|
-
All demos verified
|
|
95
|
-
|
|
96
|
-
| Demo |
|
|
97
|
-
|
|
98
|
-
| **
|
|
99
|
-
| **
|
|
100
|
-
| **
|
|
101
|
-
| **
|
|
102
|
-
| **
|
|
103
|
-
|
|
104
|
-
**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
112
|
+
All demos verified from local execution. See [hypermind-examples](https://github.com/gonnect-uk/hypermind-examples).
|
|
113
|
+
|
|
114
|
+
| Demo | Tests | Pass Rate | What You'll See |
|
|
115
|
+
|------|-------|-----------|-----------------|
|
|
116
|
+
| **Digital Twin** | 13 | 100% | IoT sensors → Datalog rules → HVAC decisions with proofs |
|
|
117
|
+
| **Music Recommendation** | 14 | 93.3% | KG-grounded: "Slayer, Megadeth for Metallica" with graph paths |
|
|
118
|
+
| **Self-Driving Car** | 3 | 100% | Explainable AV: "Brake because pedestrian in crosswalk" |
|
|
119
|
+
| **BRAIN Fraud** | 5 | 100% | Cross-database: KGDB + Snowflake + BigQuery |
|
|
120
|
+
| **Euroleague Analytics** | 18 | 100% | ThinkingReasoner: 111 obs → 222 derived facts |
|
|
121
|
+
| **Boston Real Estate** | 19 | 100% | OWL SymmetricProperty: adjacentTo auto-inferred |
|
|
122
|
+
| **US Legal Case** | 20 | 100% | Legal research with precedent chains |
|
|
123
|
+
|
|
124
|
+
**What makes these different from typical demos:**
|
|
125
|
+
- No mocking. Real SPARQL, real data, real results.
|
|
126
|
+
- Every recommendation explains WHY (not just WHAT)
|
|
127
|
+
- Proofs are SHA-256 hashes over canonical derivation chains
|
|
128
|
+
- LLM is optional—core reasoning is deterministic
|
|
110
129
|
|
|
111
130
|
---
|
|
112
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-kgdb",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.19",
|
|
4
4
|
"description": "High-performance RDF/SPARQL database with AI agent framework and cross-database federation. GraphDB (449ns lookups, 5-11x faster than RDFox), HyperFederate (KGDB + Snowflake + BigQuery), GraphFrames analytics, 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",
|