Function rdftk_skos::document::make_document_with_mappings [−][src]
pub fn make_document_with_mappings(
scheme: &Scheme,
language: Option<LanguageTag>,
ns_mappings: PrefixMappingRef
) -> Result<Document, Error>
Expand description
Construct a new Document
instance which will describe the provided Scheme. If provided, the
specified language
will be used to select preferred labels and descriptions. If provided, the
set of mappings will be used as prefixes when serializing the Turtle appendix.