Module sophia::term

source · []
Expand description

This module re-exports symbols from This module re-exports symbols from sophia_api::term and sophia_term.

Modules

Blank node like specified in RDF.

A TermFactory can be used to create terms while preventing the proliferation of duplicate string.

A trait for bidirectional mappings between terms and indexes of a smaller type.

IRIs for identifying resources like specified in RDF.

RDF literals like specified in RDF.

This crate defines generic traits and default implementations for matchers, objects that can be used to match zero, one or several terms.

matcherDeprecated

This is a re-exports of sophia_api::term::matcher to ease transition from older versions of Sophia.

nsDeprecated

This is a re-exports of sophia_api::ns to ease transition from older versions of Sophia.

Minimal implementation of TTerm, for representing datatype IRIs of literals.

Provide a naive implementation of TTerm for test purposes.

Variables like used in SPARQL or universally quantified variables in Notation3.

Structs

A raw value is a string possibly split into two parts.

See module documentation.

Enums

Generic type for RDF terms.

This error is raised when the creation of a term fails.

Any TTerm belongs to one of those kinds.

Traits

This trait is to CopyTerm and TryCopyTerm what Into is to From. It is automatically implemented by any implementation of TTerm.

A type that can copy any term.

Trait for all RDF terms.

Trait alias for types holding the textual data of terms.

A type that can copy some terms.

Functions

Check the equality of two graph names (Option<&Term>) possibly of different types.

Compare two terms:

Compare two terms for syntactic equality.

Format the given term in a Turtle-like format.

Hash a term

Formats the given term in to a string.

Type Definitions

Convenient alias for a specialization of Term<T>.

Convenient alias for a specialization of Term<T>.

Convenient alias for a specialization of Term<T>.

Convenient alias for a specialization of Term<T>.

Convenient alias for a specialization of Term<T>.

Type alias for Result with default error TermError.

Convenient alias for a specialization of Term<T>.