rdfkit

Crates.iordfkit
lib.rsrdfkit
version0.0.1
created_at2025-07-14 05:56:40.722474+00
updated_at2025-07-14 05:56:40.722474+00
descriptionA lightweight, modular toolkit for working with RDF data in Rust. Includes helpers for IRIs, literals, triples, prefixes, and graphs.
homepagehttps://github.com/rdfkit/rdfkit
repositoryhttps://github.com/rdfkit/rdfkit
max_upload_size
id1751186
size6,020
Billgo (billgo)

documentation

https://docs.rs/rdfkit

README

🧠 rdfkit

rdfkit is a lightweight utility toolkit for working with RDF data in Rust. It provides ergonomic, modular helpers for manipulating RDF terms, IRIs, triples, graphs, prefixes, and more — with no heavy triplestore dependencies.


✨ Features

  • 🧩 RDF term helpers: IRI, BlankNode, Literal, Variable
  • 🔗 Triple and Quad manipulation
  • 📚 Prefix expansion and compression
  • 🧠 Graph utilities: merging, filtering, pattern matching
  • 🔍 Parsing support for Turtle, N-Triples, and more (planned)
  • ✅ Compatible with sophia, oxigraph, or standalone

📦 Installation

# Cargo.toml
[dependencies]
rdfkit = "0.1"
use rdfkit::term::*;
use rdfkit::triple::*;

let subject = iri("http://example.org/alice");
let predicate = iri("http://xmlns.com/foaf/0.1/name");
let object = literal("Alice");

let triple = Triple::new(subject, predicate, object);

println!("{:?}", triple);

📄 License

This project is dual-licensed under either:

  • MIT License
Commit count: 0

cargo fmt