Skip to main content

oxilite_jsonld/
lib.rs

1//! JSON-LD documents in oxilite: each document is stored verbatim in a keyed table and its
2//! RDF in a named graph (by default the document's `id`), queryable with SPARQL.
3//!
4//! This crate is sans-IO like `oxilite-core`: operations are [`oxilite_core::Job`]s that
5//! produce SQL requests. The `oxilite` crate (feature `jsonld`) drives them from
6//! `Store::jsonld()` and `AsyncStore::jsonld()`.
7//!
8// @lat: [[architecture#JSON-LD documents]]
9
10pub mod convert;
11pub mod error;
12pub mod jobs;
13#[cfg(feature = "json")]
14pub mod json;
15pub mod loader;
16pub mod options;
17pub mod schema;
18
19pub use convert::{blank_prefix, Converted};
20pub use error::{JsonLdError, Result};
21pub use jobs::*;
22pub use json_ld::Loader;
23#[cfg(feature = "network")]
24pub use loader::http_fetcher;
25pub use loader::NoContexts;
26pub use options::{
27    ContextFetcher, GraphStrategy, JsonLdOptions, KeyStrategy, MetadataIndexes, MissingKey,
28    ProcessingMode, RdfDirection,
29};