Need help with Ontospy?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

lambdamusic
150 Stars 37 Forks MIT License 552 Commits 31 Opened issues

Description

Python library and command-line interface for inspecting and visualizing RDF models.

Services available

!
?

Need anything else?

Contributors list

# 372,419
HTML
Shell
Less
501 commits
# 634,581
HTML
CSS
Shell
4 commits
# 43,111
faceboo...
GitHub
Ruby
node-cl...
1 commit
# 133,200
React
api-pla...
Shell
Firefox
1 commit
# 12,530
Python
pypi
neuroim...
MATLAB
1 commit

Ontospy

Python library and command-line interface for inspecting and visualizing RDF models.

Links

Description

Ontospy is a lightweight Python library and command line tool for inspecting and visualizing vocabularies encoded using W3C Semantic Web standards, that is, RDF or any of its dialects (RDFS, OWL, SKOS).

The basic workflow is simple: load a graph by instantiating the

Ontospy
class with a file containing RDFS, OWL or SKOS definitions. You get back a object that lets you interrogate the ontology. That's all!

The same functionalities are accessible also via a command line application (

ontospy
). This is an interactive environment (like a repl) that allows to load ontologies from a local repository, interrogate them and cache them so that they can be quickly reloaded for inspection later on.

Downloads

Generating ontology documentation

Ontospy can be used to generate HTML documentation for an ontology pretty easily. E.g. see the Schema.org ontology, or FOAF ontology.

This functionality relies on a module called ontodocs, which used to be maintained as a separate library but is now distributed with ontospy as an add-on:

  • pip install ontospy[HTML]

For more examples of the kind of documentation that can be generated out-of-the-box, take a look at this page.

Status

Maintenance

I have little time to spend on this project these days, so I'm mainly focusing on bug fixes and maintenance. Happy to review PRs if you want to add more functionalities!

Documentation

http://lambdamusic.github.io/Ontospy/

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.