Crate srdf

Source
Expand description

This crate contains a Simple RDF wrapper which can be useful to work with RDF data

It contains several traits that handle RDF data:

  • [SRDFBasic]: Basic comparisons on RDF nodes
  • [SRDF]: Definitions on RDF graphs
  • FocusRDF: RDF graphs with a focus node
  • RDFNodeParse: RDF graphs that can be parsed

Re-exports§

pub use crate::async_srdf::*;
pub use crate::neighs::*;
pub use crate::neighs_rdf::*;
pub use crate::query_rdf::*;
pub use crate::rdf::*;
pub use crate::rdf_data_config::*;
pub use bnode::*;
pub use iri::*;
pub use literal::*;
pub use object::*;
pub use oxrdf_impl::*;
pub use rdf_format::*;
pub use shacl_path::*;
pub use srdf_builder::*;
pub use srdf_error::*;
pub use srdf_graph::*;
pub use srdf_parser::*;
pub use srdf_sparql::*;
pub use subject::*;
pub use term::*;
pub use triple::*;
pub use vocab::*;

Modules§

async_srdf
bnode
iri
lang
literal
matcher
neighs
neighs_rdf
numeric_literal
object
oxrdf_impl
query_rdf
rdf
rdf_data_config
rdf_format
shacl_path
srdf_builder
srdf_error
srdf_graph
Implementation of the SRDF traits using OxRDF.
srdf_parser
srdf_sparql
Implementation of [SRDF] traits based on SPARQL endpoints
subject
term
triple
vocab

Macros§

combine_parsers
combine_rdf_parser_impl
Auxiliary macro that is invoked from rdf_parser which supports different templates
int
Creates an integer literal
rdf_parser
Declares a named RDF parser which can be reused.

Enums§

TermKind
Concrete representation of the kind of RDF terms, which can be IRIs, blank nodes, literals or triples

Type Aliases§

RDFNode
Concrete representation of RDF nodes, which are equivalent to objects