#knowledge #organization #system #rdf #data-model #vocabulary #skos

rdftk_skos

This crate provides a data model for the Simple Knowledge Organization System (SKOS) vocabulary

30 releases

0.2.0 Jun 14, 2021
0.1.29 May 26, 2021
0.1.26 Apr 24, 2021
0.1.25 Feb 19, 2021
0.1.13 Oct 28, 2020

#3 in #vocabulary

MIT license

545KB
10K SLoC

Rust 9K SLoC // 0.2% comments Pest 1K SLoC // 0.1% comments Shell 4 SLoC

RDFtk: SKOS

skos This crate provides a data model with RDF support for the Simple Knowledge Organization System (SKOS) vocabulary.

crates.io docs.rs

Example

TBD

Changes

Version 0.2.0

  • Major version update to track new core 0.3 series.

Version 0.1.29

  • More core API changes.

Version 0.1.28

  • Using rdftk_core 0.2, this has changes in the signature of both Graph and DataSet traits.
  • Applied a lot more warnings in lib.rs
  • Fixed resulting Clippy suggestions.

Version 0.1.27

  • Added support for the term_status namespace.

Version 0.1.25

  • Responding to module name changes in IO.

Version 0.1.25

  • Added: a feature to wrap the documentation writer.
  • Refactor: renamed module simple to model.
  • Dependency: updated somedoc dependency; this had breaking API changes.

Version 0.1.24

  • De-dup the flattened list of concepts before documenting.

Version 0.1.23

  • Added to_rdf_graph_with_mappings to allow for the mappings in make_document_with_mappings to flow through.

Version 0.1.22

  • Added "external relations" to Concept::to_statements.

Version 0.1.21

  • Added the notion of "external relations" to a concept.
  • Changed signatures on the document writer functions.
  • API changes in core crate:
    • Altered PrefixMappings::compress and PrefixMappings::expand to take references.

Version 0.1.20

  • upgraded somedoc dependency.

Version 0.1.19

  • Fixed a bug in creating concept trees, links were going to "Collection:", not "Concept".

Version 0.1.18

  • No longer try to format anchor text, somedoc does it now.

Version 0.1.17

  • Moved from CodeBlock to Formatted, XWiki is unpleasant when it doesn't know a language.
  • Fixed a bug where "|" was written twice if no collections present.
  • Fixed a bug where the heading for the code block was "Collections", not "Appendix - RDF".

Version 0.1.16

  • Fixed bug in document; highlighting the correct language.

Version 0.1.15

  • Updated the somedoc crate version.

Version 0.1.14

  • Updated the somedoc crate version.

Version 0.1.14

  • Moved to use the somedoc crate for document generation.

Version 0.1.13

  • Only show "jump to collections" if there are collections.
  • Fixed fmt issues.
  • Updated paste dependency.

Version 0.1.12

  • Enhancement; refactored traits, use Resource for Named, all resources are both labeled and propertied.
  • Enhancement; copying constructors from LiteralProperty as methods on Resource.

Version 0.1.11

  • Enhancement; added logic to pull skos:definition property and display as text for any resource.

Version 0.1.10

  • Fixed bug in jump-to links; an unwanted trailing ']' character.
  • Fixed bug in tree generation; it was following non-narrower relationships.

Version 0.1.9

  • Enhancement; added links at the top to jump down to different sections.

Version 0.1.8

  • Fixed bug in label_to_fragment; trim label string to get rid of trailing '-'.
  • Enhancement; make instances italic in concept tree.

Version 0.1.7

  • Fixed markdown generation of fragment links.
  • Fixed inverse relationship display for ConceptRelation::Related.

Version 0.1.6

  • Explicit version management.

Version 0.1.5

  • model module now renamed simple and it follows a more strict hierarchy approach.
  • More performance work, but more to do.

Version 0.1.4

  • Using new IRIRef approach for all crates.

Version 0.1.3

  • Added relationship kinds from the ISO schema.

Version 0.1.2

  • Added new markdown::write_concept_tree_markdown.

Version 0.1.1

  • Added is_top_concept method to Scheme.
  • Added "Top" indicator to concepts in markdown.
  • Added concept tree to markdown.

Version 0.1.0

  • First release.

TODO

  1. Performance!!!

SKOS

Dependencies

~7–14MB
~188K SLoC