bra0_kg/lib.rs
1//! # bra0-kg — Knowledge Graph Core
2//!
3//! NextGraph-First architecture:
4//! - **Transformations** (always available): parse, serialize, C14N, isomorphism, OWL extraction
5//! - **KgStore trait**: abstracts persistence (NextGraph CRDT primary, oxigraph standalone fallback)
6//!
7//! Compilation targets:
8//! - `wasm32-unknown-unknown` (primary — browser, NextGraph iframe)
9//! - native (secondary — Tauri standalone, topo CLI)
10//!
11//! Built on sophia 0.9.0 (Champin, W3C/INRIA).
12
13// === Transformations (stateless, pure functions) ===
14pub mod parse;
15pub mod serialize;
16pub mod c14n;
17pub mod isomorphism;
18pub mod owl;
19
20// === Persistence abstraction ===
21pub mod store;
22
23// === Store implementations (feature-gated) ===
24#[cfg(feature = "standalone")]
25pub mod store_oxigraph;
26
27// === Cascade orchestrator (NS-5) ===
28pub mod cascade;
29
30// === NER (feature-gated) ===
31#[cfg(feature = "ner")]
32pub mod ner;
33
34// === Social Perception (TP-2) ===
35pub mod social;