[][src]Module sophia::graph

An RDF graph, the central notion of the RDF data model, is a collection of triples.

This module provides reusable abstractions for different kinds of graph, as well as a few implementations for them.

Modules

adapter

Adapters for exposing Graph as other traits.

indexed

A utility trait for building graphs using indexed terms.

inmem

In-memory implementations of RDF graphs.

Structs

Inserter

The TripleSink returned by MutableGraph::inserter.

Remover

The TripleSink returned by MutableGraph::remover.

Traits

Graph

Generic trait for RDF graphs.

MutableGraph

Generic trait for mutable RDF graphs.

SetGraph

Marker trait constraining the semantics of Graph and MutableGraph, by guaranteeing that triples will never be returned / stored multiple times.

Type Definitions

GResult

Type alias for results produced by a graph.

GResultTermSet

Type alias for fallible hashets of terms produced by a graph.

GTerm

Type alias for the terms returned by a graph.

GTripleSource

Type alias for fallible triple iterators produced by a graph.

MGResult

Type alias for results produced by a mutable graph.