A new and improved version of OntoSpy (1.6.7) is available online. OntoSpy is a lightweight Python library and command line tool for inspecting and visualizing vocabularies encoded in the RDF family of languages.
This update includes support for Python 3, plus various other improvements that make it easier to query semantic web vocabularies using OntoSpy's interactive shell module. To find out more about Ontospy, here are a few good places to start:
Here's a short video showing a typical sessions with the OntoSpy repl:
The main new features of version 1.6.7:
import
command: this makes it easier to load models into the local repository. You can import a local RDF file or a web resource via its URI. The repo option allows to select an ontology by listing the one available in a couple of online public repositories; finally the starter-pack option can be used to download automatically a few widely used vocabularies (e.g. FOAF,DC etc..) into the local repository - mostly useful after a fresh installation in order to get startedinfo
command allows to print more detailed info about entitiesls
commandserialize
command at ontology level now serializes the whole graphInstall/update Ontospy simply by typing pip install ontospy -U
in your terminal window (see this page for more info).
Stay tuned for more :-)
Cite this blog post:
Comments via Github: