Skip to main content

Crate sbol_rdf

Crate sbol_rdf 

Source
Expand description

RDF primitives and Turtle I/O used by the public sbol crate.

The types in this crate deliberately form a small boundary around the RDF backend. SBOL code should depend on these owned primitives and graph traits instead of on the parser implementation.

Structs§

BlankNode
An RDF blank node identifier.
Graph
Backend-opaque in-memory RDF graph.
Iri
An RDF IRI.
IriError
Errors produced while validating or parsing an IRI.
Literal
RDF literal lexical data.
Triple
An RDF triple in the default graph.

Enums§

ParseError
Errors produced while parsing an RDF document.
RdfFormat
RDF serialization format.
Resource
RDF subject resource.
Term
RDF object term.
WriteError
Errors produced while writing an RDF document.

Traits§

RdfGraph
Read-only RDF graph behavior exposed independently of the concrete backend.
RdfIo
RDF parsing and serialization across all supported formats.
TurtleGraph
Turtle-specific shorthand for RdfIo.