mod async_store;
mod common;
#[cfg(feature = "cypher")]
mod cypher_store;
#[cfg(feature = "datalog")]
mod datalog_store;
#[cfg(feature = "jsonld")]
mod jsonld_store;
mod partial;
mod schema_store;
pub mod store;
#[cfg(feature = "synalog")]
mod synalog_store;
#[cfg(feature = "vc")]
mod vc_store;
mod vector_store;
mod version_store;
pub use async_store::AsyncStore;
pub use oxilite_core as core;
pub use oxilite_core::{
AsyncBackend, Capabilities, Error, QueryOptions, Result, StoreOptions, SyncBackend,
};
pub use schema_store::{RegisteredGraph, Registration};
pub mod schema {
pub use crate::schema_store::{RegisteredGraph, Registration};
pub use oxilite_core::registry::{
vocab, SchemaGraph, SchemaRole, NS, SCHEMA_GRAPH, VOCABULARY, VOCABULARY_GRAPH,
VOCABULARY_VERSION,
};
pub use oxilite_core::shapes::{PropertyShape, ShapeIndex};
}
pub mod version {
pub use oxilite_core::version::{
Change, CommitInfo, CommitRecord, History, LevelChange, VersionRef, VersionState,
VersionStatus, Versioning,
};
}
pub mod blocking {
pub use crate::store::*;
}
pub mod model {
pub use oxrdf::*;
}
pub mod io {
pub use oxrdfio::*;
}
pub mod sparql {
pub use oxilite_core::reason::Reasoning;
pub use oxilite_core::QueryOptions;
pub use oxrdf::{Variable, VariableNameParseError};
pub use spareval::{
QueryEvaluationError, QueryExplanation, QueryResults, QuerySolution, QuerySolutionIter,
QueryTripleIter,
};
pub use spargebra::{Query, SparqlParser, SparqlSyntaxError, Update};
pub type UpdateEvaluationError = oxilite_core::Error;
pub mod results {
pub use sparesults::*;
}
}
#[cfg(feature = "datalog")]
pub mod datalog {
pub use oxilite_datalog::*;
}
#[cfg(feature = "synalog")]
pub mod synalog {
pub use oxilite_synalog::*;
}
#[cfg(feature = "cypher")]
pub mod cypher {
pub use oxilite_cypher::*;
}
#[cfg(feature = "jsonld")]
pub mod jsonld {
pub use crate::jsonld_store::{AsyncJsonLdStore, JsonLdStore};
pub use oxilite_jsonld::*;
}
#[cfg(feature = "vc")]
pub mod vc {
pub use crate::vc_store::{AsyncCredentialStore, CredentialStore};
pub use oxilite_vc::*;
}
pub mod vector {
pub use crate::vector_store::{VectorHit, VectorIndexInfo};
pub use oxilite_core::vector::{
vocab, ElementType, Metric, QueryVector, VectorIndex, INDEX_PREFIX, VECTORS_GRAPH,
};
}
pub mod functions {
pub use oxilite_core::functions::{FunctionRegistry, Functions, HostFunction};
}
#[cfg(feature = "turso")]
pub mod turso {
pub use oxilite_turso::*;
}
#[cfg(feature = "rusqlite")]
pub mod rusqlite {
pub use oxilite_rusqlite::*;
}
#[cfg(feature = "dylib")]
pub mod dylib {
pub use oxilite_dylib::*;
}
#[cfg(feature = "d1")]
pub mod d1 {
pub use oxilite_d1::*;
}