# Ontospy
Python library and command-line interface for inspecting and visualizing RDF models.
#### Links
- [Pypi](https://pypi.org/project/ontospy/)
- [Github](https://github.com/lambdamusic/ontospy)
- [Docs](http://lambdamusic.github.io/Ontospy/)
- [Changelog](http://lambdamusic.github.io/Ontospy/pages/changelog.html)
- [YouTube](https://youtu.be/MkKrtVHi_Ks)
# 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. 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](https://pepy.tech/badge/ontospy)](https://pepy.tech/project/ontospy)
## Generating ontology documentation
Ontospy can be used to generate HTML documentation for an ontology pretty much out-of-the-box.
See the website [Examples of ontology documentation generated via Ontospy](https://lambdamusic.github.io/ontospy-examples/index.html), or jump straight to the sample [CIDOC-CRM](https://lambdamusic.github.io/ontospy-examples/cidoccrm_ecrm-2022-11owlxml/index.html) or [FOAF](https://lambdamusic.github.io/ontospy-examples/foafrdf/index.html) documentation pages.
> From version 2.0, the documentation generation libraries are installed by default with Ontospy. Previously, third party dependencies (e.g. Django) had to be installed separately.
## Status
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
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!
## Development
```
# git clone the repo first
$ mkvirtualenv ontospy
$ pip install -r requirements.txt
$ pip install -e .
```
## Documentation
http://lambdamusic.github.io/Ontospy/
Raw data
{
"_id": null,
"home_page": "https://github.com/lambdamusic/ontospy",
"name": "ontospy",
"maintainer": "",
"docs_url": "https://pythonhosted.org/ontospy/",
"requires_python": "",
"maintainer_email": "",
"keywords": "ontology semantic web linked data rdf owl visualization documentation knowledge graph",
"author": "Michele Pasin",
"author_email": "michele.pasin@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/23/d6/47fdfcd1975e0c084cc627d24259d47360a07fdb645a58763c0cc5f6f618/ontospy-2.1.1.tar.gz",
"platform": null,
"description": "# Ontospy\n\nPython library and command-line interface for inspecting and visualizing RDF models.\n\n\n#### Links\n\n- [Pypi](https://pypi.org/project/ontospy/)\n- [Github](https://github.com/lambdamusic/ontospy)\n- [Docs](http://lambdamusic.github.io/Ontospy/)\n- [Changelog](http://lambdamusic.github.io/Ontospy/pages/changelog.html)\n- [YouTube](https://youtu.be/MkKrtVHi_Ks)\n\n# Description\n\nOntospy 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).\n\nThe 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!\n\nThe same functionalities are accessible also via a command line application. 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.\n\n[![Downloads](https://pepy.tech/badge/ontospy)](https://pepy.tech/project/ontospy)\n\n\n## Generating ontology documentation\n\nOntospy can be used to generate HTML documentation for an ontology pretty much out-of-the-box. \n\nSee the website [Examples of ontology documentation generated via Ontospy](https://lambdamusic.github.io/ontospy-examples/index.html), or jump straight to the sample [CIDOC-CRM](https://lambdamusic.github.io/ontospy-examples/cidoccrm_ecrm-2022-11owlxml/index.html) or [FOAF](https://lambdamusic.github.io/ontospy-examples/foafrdf/index.html) documentation pages.\n\n> From version 2.0, the documentation generation libraries are installed by default with Ontospy. Previously, third party dependencies (e.g. Django) had to be installed separately. \n\n## Status\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n\nI 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! \n\n## Development\n\n```\n# git clone the repo first\n$ mkvirtualenv ontospy\n$ pip install -r requirements.txt\n$ pip install -e .\n```\n\n## Documentation\n\nhttp://lambdamusic.github.io/Ontospy/\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Query, inspect and visualize ontologies encoded via RDF and OWL.",
"version": "2.1.1",
"project_urls": {
"Homepage": "https://github.com/lambdamusic/ontospy"
},
"split_keywords": [
"ontology",
"semantic",
"web",
"linked",
"data",
"rdf",
"owl",
"visualization",
"documentation",
"knowledge",
"graph"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1e8ece976be68449ef9d9d866ad22914d9c503a044c8e5f0e52d14788527f9cc",
"md5": "ee4f7d322781f3ddeaef013084cc0931",
"sha256": "df08d47e79bc89bb6b15fd5a5b824f43e343065db017f68bd12be27b8fd055d0"
},
"downloads": -1,
"filename": "ontospy-2.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee4f7d322781f3ddeaef013084cc0931",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3864188,
"upload_time": "2022-11-16T14:25:17",
"upload_time_iso_8601": "2022-11-16T14:25:17.032237Z",
"url": "https://files.pythonhosted.org/packages/1e/8e/ce976be68449ef9d9d866ad22914d9c503a044c8e5f0e52d14788527f9cc/ontospy-2.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "23d647fdfcd1975e0c084cc627d24259d47360a07fdb645a58763c0cc5f6f618",
"md5": "22d36758859721ee542b598bbbaf0783",
"sha256": "20ef45a52521fc4aa7c0634b368c659fa34956d5375d22a07f4dbe23c52e954e"
},
"downloads": -1,
"filename": "ontospy-2.1.1.tar.gz",
"has_sig": false,
"md5_digest": "22d36758859721ee542b598bbbaf0783",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3752656,
"upload_time": "2022-11-16T14:25:20",
"upload_time_iso_8601": "2022-11-16T14:25:20.404142Z",
"url": "https://files.pythonhosted.org/packages/23/d6/47fdfcd1975e0c084cc627d24259d47360a07fdb645a58763c0cc5f6f618/ontospy-2.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-16 14:25:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lambdamusic",
"github_project": "ontospy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "ontospy"
}