py-horned-owl
A library for Web Ontology Language in Python created using a bridge from horned-owl to python using PyO3.
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.5%) to scientific vocabulary
Keywords
Repository
A library for Web Ontology Language in Python created using a bridge from horned-owl to python using PyO3.
Basic Info
- Host: GitHub
- Owner: ontology-tools
- License: lgpl-3.0
- Language: Rust
- Default Branch: main
- Homepage: https://ontology-tools.github.io/py-horned-owl/
- Size: 2.33 MB
Statistics
- Stars: 15
- Watchers: 3
- Forks: 6
- Open Issues: 6
- Releases: 13
Topics
Metadata Files
README.md
py-horned-owl
An experimental bridge from horned-owl to python using PyO3.
Installation
Published version
To install the published library:
pip install py_horned_owl
From sources
To build locally from sources, you will need Rust, PyO3 and Maturin.
Check out this repository:
git clone https://github.com/ontology-tools/py-horned-owl/
In the directory py-horned-owl, create and activate a virtual Python environment:
virtualenv py-horned-owl
source bin/activate
Then you can get maturin to build the library and install it into the virtual Python environment with:
maturin develop
Usage
The library supports loading ontologies from .owl (RDF-XML) and .owx (OWL-XML) files via horned-owl's parsing functionality. ROBOT can transform ontologies that are in other OWL flavours into one of these formats using robot convert.
Example of simple usage:
``` import pyhornedowl
ontoname = "family.owx"
onto = pyhornedowl.open_ontology(ontoname)
print (f"Loaded ontology has {len(onto.getclasses())} classes.") print (f"Loaded ontology has {len(onto.getaxioms())} axioms.")
for c in onto.getclasses(): print(onto.getaxiomsforiri(c))
```
For more information please visit the documentation.
Citing
Phillip Lord, Björn Gehrke, Martin Larralde, Janna Hastings, Filippo De Bortoli, James A. Overton, James P. Balhoff, and Jennifer Warrender. Horned-OWL: Flying Further and Faster with Ontologies. In Special Issue on Resources for Graph Data and Knowledge. Transactions on Graph Data and Knowledge (TGDK), Volume 2, Issue 2, pp. 9:1-9:14, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024) https://doi.org/10.4230/TGDK.2.2.9
Owner
- Name: ontology-tools
- Login: ontology-tools
- Kind: organization
- Repositories: 1
- Profile: https://github.com/ontology-tools
Citation (CITATION.cff)
cff-version: 1.2.0
message: If you use this software, please cite both the article from preferred-citation and the software itself.
authors:
- family-names: Lord
given-names: Phillip
- family-names: Gehrke
given-names: Björn
- family-names: Larralde
given-names: Martin
- family-names: Hastings
given-names: Janna
- family-names: De Bortoli
given-names: Filippo
- family-names: Overton
given-names: James A.
- family-names: Balhoff
given-names: James P.
- family-names: Warrender
given-names: Jennifer
title: 'Horned-OWL: Flying Further and Faster with Ontologies'
version: 1.0.0
url: https://drops.dagstuhl.de/entities/document/10.4230/TGDK.2.2.9
doi: 10.4230/TGDK.2.2.9
date-released: '2024-03-27'
preferred-citation:
authors:
- family-names: Lord
given-names: Phillip
- family-names: Gehrke
given-names: Björn
- family-names: Larralde
given-names: Martin
- family-names: Hastings
given-names: Janna
- family-names: De Bortoli
given-names: Filippo
- family-names: Overton
given-names: James A.
- family-names: Balhoff
given-names: James P.
- family-names: Warrender
given-names: Jennifer
title: 'Horned-OWL: Flying Further and Faster with Ontologies'
doi: 10.4230/TGDK.2.2.9
url: https://drops.dagstuhl.de/entities/document/10.4230/TGDK.2.2.9
type: article-journal
pages: 9:1--9:14
year: '2024'
conference: {}
publisher:
name: Schloss Dagstuhl -- Leibniz-Zentrum für Informatik
address: Dagstuhl, Germany
GitHub Events
Total
- Create event: 6
- Release event: 2
- Issues event: 10
- Watch event: 2
- Issue comment event: 14
- Push event: 34
- Pull request event: 8
Last Year
- Create event: 6
- Release event: 2
- Issues event: 10
- Watch event: 2
- Issue comment event: 14
- Push event: 34
- Pull request event: 8
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 7
- Total pull requests: 4
- Average time to close issues: 2 months
- Average time to close pull requests: 7 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 0.71
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 4
- Average time to close issues: 2 months
- Average time to close pull requests: 7 days
- Issue authors: 2
- Pull request authors: 2
- Average comments per issue: 0.71
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- cmungall (8)
- b-gehrke (2)
- MGlauer (1)
Pull Request Authors
- b-gehrke (9)
- cmungall (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 322 last-month
- Total dependent packages: 0
- Total dependent repositories: 4
- Total versions: 20
- Total maintainers: 2
pypi.org: py-horned-owl
- Documentation: https://py-horned-owl.readthedocs.io/
- License: LGPL-3.0-or-later
-
Latest release: 1.2.1
published 8 months ago
Rankings
Maintainers (2)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- dtolnay/rust-toolchain master composite
- messense/maturin-action v1 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- ncipollo/release-action v1 composite
- pypa/gh-action-pypi-publish release/v1 composite