#rdf #knowledge-graph #cyber-security #json-ld #rdf-graph

fukurow

Fukurow - Unified Rust Reasoning & Knowledge Graph Stack. JSON-LD/RDF/OWL/SPARQL/GraphQL-LD based knowledge processing stack with fast inference engine and auditable knowledge store.

1 unstable release

0.1.0 Oct 26, 2025

#3 in #cyber-security

MIT/Apache

93KB
1.5K SLoC

🦉 Fukurow - Rust Reasoning & Knowledge Graph Stack

Fukurow is a comprehensive Rust stack for processing knowledge graphs and performing semantic reasoning. Built on JSON-LD, RDF, OWL, SPARQL, and GraphQL-LD standards, it provides high-performance inference engines and auditable knowledge stores.

Features

  • 🚀 High-Performance Inference: LTO-optimized native-speed RDF/OWL reasoning
  • 🔒 Auditable Knowledge Store: Complete provenance tracking and audit trails
  • 🦉 Cyber Security Focused: Advanced rules for EDR/SIEM event analysis
  • 🌐 WebAssembly Support: Browser-compatible execution
  • 📊 Semantic Knowledge Graphs: JSON-LD based data models
  • 🔧 Rust Ecosystem: Memory-safe, high-performance, concurrent processing

Quick Start

use fukurow::prelude::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Create a reasoner engine
    let mut engine = ReasonerEngine::new();

    // Create a cyber event (network connection example)
    let event = CyberEvent::NetworkConnection {
        source_ip: "192.168.1.100".to_string(),
        dest_ip: "10.0.0.1".to_string(),
        port: 443,
        protocol: "TCP".to_string(),
        timestamp: chrono::Utc::now().timestamp(),
    };

    engine.add_event(event).await?;

    // Perform reasoning
    let actions = engine.reason().await?;

    println!("Generated {} actions", actions.len());
    Ok(())
}

Architecture

Fukurow consists of several specialized crates:

  • fukurow-core: Core RDF/JSON-LD data models and processing
  • fukurow-store: RDF triple store with provenance tracking
  • fukurow-rules: Rule traits and constraint validation (SHACL equivalent)
  • fukurow-engine: Reasoning engine orchestration
  • fukurow-domain-cyber: Cyber security domain rules
  • fukurow-api: RESTful web API
  • fukurow-cli: Command-line interface

Feature Flags

  • full (default): All crates included
  • core: Only core data models
  • store: RDF triple store functionality
  • rules: Rule engine and validation
  • engine: Reasoning orchestration
  • cyber: Cyber security domain rules
  • api: REST API server
  • cli: Command-line tools
  • wasm: WebAssembly support Cyber security domain functionality Reasoning engine and rules Web API and services Command-line tools

Dependencies

~4–15MB
~278K SLoC