Crate atelier_rdf[][src]

Expand description

This crate provides a mapping to allow for the mapping of Smithy semantic models to and from the W3C’s Resource Description Framework (RDF). This allows for tools to integrate Smithy models into other knowledge frameworks and to enrich the model with additional facts from other tools. It also allows for inferencing over Smithy models using ontology languages such as the W3C Web Ontology Language (OWL).

For a detailed specification for the RDF mapping, see the Atelier Book.

Modules

reader

Provides an rdf_to_model function and RdfReader type that will read from an RDF source and construct a model.

urn

A Simple IRI (URN) naming scheme for Smithy shape identifiers, it requires the shape identifiers be absolute and not relative.

vocabulary

This module provides the RDF vocabulary used to describe Smithy semantic models in RDF. Wherever possible existing RDF semantics, predicates, and idioms are used.

writer

Provides an model_to_rdf function and RdfWriter type that will write a model into RDF.