Ontospy 1.9.8 released


Ontospy version 1.9.8 has just been released and contains tons of improvements and new features. Ontospy is a lightweight open-source Python library and command-line tool for working with vocabularies encoded in the RDF family of languages.

Over the past month I've been working on this new version of Ontospy, which is now available for download on PyPI. It's been quite some time in the making, so I'm pretty glad it's finally out now.

What's New in This Version

  • Unified Distribution: The library module used to generate ontology documentation (as HTML or Markdown) is now included within the main Ontospy distribution. Previously, this library was distributed separately under the name ontodocs. The main problem with this approach was that keeping the two projects in sync was becoming too time-consuming, so I've decided to merge them. Note that one can still choose whether or not to include this extra library when installing.

  • Raw RDF Data Export: You can now print out the raw RDF data being returned via a command-line argument, making it easier to inspect and debug data sources.

  • Inferred Schema Definitions: Users can now decide whether or not to include 'inferred' schema definitions extracted from an RDF payload. The inferences are pretty basic for now (for example, the object of rdf:type statements is taken to be a type), but this allows, for example, quickly dereferencing a DBpedia URI and pulling out all types and predicates being used.

  • Improved Documentation: The online documentation is now hosted on GitHub Pages and available within the /docs folder of the project, making it easier to maintain and access.

  • Enhanced JSON-LD Support: Improved support for JSON-LD and a new utility for quickly sending JSON-LD data to the online playground tool, streamlining the development workflow.

  • Bug Fixes and Enhancements: Several other bug fixes and improvements have been made, particularly to the interactive ontology exploration mode (shell command) and the visualization library (new visualizations are available, albeit still in alpha state).

Get Started

To install or upgrade Ontospy, simply run:

pip install ontospy --upgrade

Visit the project documentation for more details on how to use the new features and contribute to the project.

Cite this blog post:


Michele Pasin. Ontospy 1.9.8 released. Blog post on www.michelepasin.org. Published on Jan. 3, 2019.

Comments via Github:


See also:

2017


2016