[][src]Module sophia::term

Modules

blank_node

Blank node like specified in RDF.

factory

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

index_map

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

iri

IRIs for identifying resources like specified in RDF.

literal

RDF literals like specified in RDF.

matcher

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

mown_str

MownStr is either a borrowed reference to a str or an own Box<str>.

ns

Standard and custom namespaces.

variable

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

Macros

namespace

Helper for creating a "namespace module" defining a set of terms within a given IRI space.

ns_iri

Helper for creating a term in a "namespace module". In general, you should use the namespace! macro instead.

ns_term

Helper for creating a term in a "namespace module". In general, you should use the namespace! macro instead.

Enums

Term

Generic type for RDF terms.

TermError

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

Traits

TermData

Trait alias for types holding the textual data of terms.

Functions

same_graph_name

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

Type Definitions

ArcTerm

Convenient alias for a specialization of Term<T>.

BoxTerm

Convenient alias for a specialization of Term<T>.

MownTerm

Convenient alias for a specialization of Term<T>.

RcTerm

Convenient alias for a specialization of Term<T>.

RefTerm

Convenient alias for a specialization of Term<T>.

Result

Type alias for Result with default error TermError.

StaticTerm

Convenient alias for a specialization of Term<T>.