Expand description
Offline ontology facts for SBOL validation.
sbol-ontology embeds a compact, SBOL-specific fact snapshot derived from
canonical ontology sources. It does not fetch network resources at runtime.
The bundled Ontology accepts common SBOL document IRIs, OBO PURLs, and
compact IDs, then exposes branch membership, conflict, and compatibility
queries used by the sbol validator.
Extension snapshots (e.g. NCIT) can be loaded from a TSV that follows the
same column schema as the bundled file. Compose them with the bundled
snapshot through OntologyRegistry.
Re-exports§
pub use cache::BranchRoot;pub use cache::BuildError;pub use cache::InstallError;pub use cache::InstalledOntology;pub use cache::KnownOntology;pub use cache::OntologyCache;pub use cache::OntologyDescriptor;pub use cache::SourceFormat;pub use cache::VerifyError;
Modules§
- cache
- On-disk cache of ontology extension snapshots.
- download
- HTTP download helper shared by the bundled-snapshot bootstrap binary and the runtime cache.
- parser
- Low-level OBO and RDF/XML parsers used by the bundled snapshot generator and the runtime extension cache.
Structs§
- Ontology
- Offline ontology query surface used by SBOL validation.
- Ontology
Provenance - Provenance for one upstream ontology source.
- Ontology
Registry - A read-only view that layers zero-or-more extension snapshots on top of
the bundled
Ontology.
Enums§
- Component
Type Family - Broad family for SBOL Component type terms.
- Ontology
Namespace - Ontology namespace represented by a bundled or extension term.
- Sequence
Encoding Family - Broad family for SBOL Sequence encoding terms.
- Term
Role - SBOL-facing role assigned to a bundled ontology term.
Constants§
- TSV_
FORMAT_ VERSION - Current TSV format version. Snapshots that do not carry this version
in a
# format_version: Nheader line are rejected at load time.
Functions§
- normalize_
term_ id - Returns the compact ontology ID for a supported IRI, PURL, or compact ID.