fukurow
v0.2.0
Published
Headless WebAssembly bindings for Fukurow reasoning engine
Readme
fukurow (headless wasm)
Headless WebAssembly bindings for the Fukurow reasoning engine. Pure-compute APIs for OWL reasoning, SHACL validation, and SPARQL querying. Works on Vercel Edge, Web Workers, and modern browsers.
Install
pnpm add fukurowUsage (Node/Vercel Serverless)
import init, { reason_owl, validate_shacl, query_sparql } from 'fukurow';
await init();
const out = reason_owl(JSON.stringify(inputJsonLd), JSON.stringify({ engine: 'lite' }));
const report = validate_shacl(JSON.stringify(data), JSON.stringify(shape));
const results = query_sparql(JSON.stringify(data), 'SELECT * WHERE { ?s ?p ?o }');Implementation Status
🎉 Full Fukurow WebAssembly implementation!
reason_owl: ✅ Implemented - Uses fukurow-lite OWL Lite reasoner for class hierarchy inferencevalidate_shacl: ✅ Implemented - Full SHACL Core validation with detailed violation reportsquery_sparql: ✅ Implemented - SPARQL 1.1 SELECT, ASK, CONSTRUCT, and DESCRIBE queries
All functions use actual implementations from the fukurow ecosystem, performing real reasoning, validation, and querying operations.
Notes
- This package is headless: it performs no I/O and has no DOM/Node dependencies.
- Designed for Vercel serverless functions (both Node and Edge runtimes).
- If your CSP forbids
unsafe-eval, wasm-bindgen glue may require adjustments.
License
MIT OR Apache-2.0
