Science Score: 44.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
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Repository
Collection of tools for working with RDF data
Basic Info
- Host: GitHub
- Owner: OCDO
- License: mit
- Language: Python
- Default Branch: main
- Size: 14.3 MB
Statistics
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 4
- Releases: 7
Metadata Files
README.md
🧰 tools4RDF
tools4RDF is a Python toolkit for working with RDF data, SPARQL queries, and semantic networks.
It allows one or more ontologies to be parsed and represented as Python classes, making it easier to navigate and explore their structure through features like autocompletion in interactive environments such as Jupyter notebooks.
The aim is to make querying knowledge graphs with SPARQL more accessible to users without deep expertise in semantic web technologies.
🚀 Features
- Load and serialize RDF graphs (Turtle, RDF/XML, N-Triples, etc.)
- Compose and run SPARQL queries programmatically
- Auto-discover ontology terms via dot-access
- Query graphs and return results as
pandasDataFrames - Perform graph merging and basic path reasoning
📦 Installation
bash
pip install tools4rdf
Or:
bash
conda install -c conda-forge tools4rdf
📘 Example
python
from tools4rdf import OntologyNetwork
onto = OntologyNetwork('http://xmlns.com/foaf/0.1/')
df = onto.query(
'https://dbpedia.org/sparql',
onto.terms.foaf.Person,
onto.terms.foaf.familyName,
limit=10,
)
More examples available in the docs.
📄 License
MIT License
🤝 Contributing
Issues and pull requests are welcome! Feel free to suggest new utilities or improvements.
📌 Acknowledgement
This work is supported by the NFDI-Matwerk consortia.
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI 38/1 – project number 460247524
Owner
- Name: OCDO
- Login: OCDO
- Kind: organization
- Repositories: 1
- Profile: https://github.com/OCDO
JOSS Publication
tools4RDF: A Python toolkit for working with RDF data
Authors
Max Planck Institute for Sustainable Materials, 40237 Düsseldorf, Germany, ICAMS, Ruhr University Bochum, 44780 Bochum, Germany
Institute for Advanced Simulations – Materials Data Science and Informatics (IAS‑9), Forschungszentrum Jülich GmbH, 52425 Jülich, Germany
Tags
RDF Ontology Semantics Knowledge graphsCitation (CITATION.cff)
cff-version: 1.2.0 title: tools4RDF, python tool for working with ontologies and data models message: >- If you use this software, please cite it using the metadata from this file. Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI 38/1 – project number 460247524 authors: - given-names: Sarath family-names: Menon affiliation: Max-Planck-Institut für Eisenforschung GmbH orcid: 'https://orcid.org/0000-0002-6776-1213' - given-names: Abril family-names: Azocar Guzman affiliation: Institute for Advanced Simulations – Materials Data Science and Informatics (IAS-9), Forschungszentrum Jülich GmbH orcid: 'https://orcid.org/0000-0001-7564-7990' #date-released: '2024-02-15' #doi: 10.5281/zenodo.8146527 #url: 'https://atomrdf.pyscal.org' license: "MIT" repository-code: https://github.com/codo/tools4RDF type: software version: 0.3.5
GitHub Events
Total
- Fork event: 2
- Create event: 53
- Issues event: 21
- Release event: 6
- Watch event: 1
- Delete event: 44
- Issue comment event: 34
- Member event: 2
- Public event: 1
- Push event: 112
- Pull request review comment event: 10
- Pull request review event: 52
- Pull request event: 82
Last Year
- Fork event: 2
- Create event: 53
- Issues event: 21
- Release event: 6
- Watch event: 1
- Delete event: 44
- Issue comment event: 34
- Member event: 2
- Public event: 1
- Push event: 112
- Pull request review comment event: 10
- Pull request review event: 52
- Pull request event: 82
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 5
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 5
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- samwaseda (9)
- aazocar (4)
Pull Request Authors
- samwaseda (26)
- srmnitc (16)
- aazocar (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 35 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
pypi.org: tools4rdf
python tool for working with ontologies and data models
- Homepage: https://pyscal.org
- Documentation: https://tools4rdf.readthedocs.io/
- License: mit
-
Latest release: 0.3.5
published 7 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
- pypa/gh-action-pypi-publish master composite
- actions/checkout v2 composite
- codecov/codecov-action v4.0.1 composite
- conda-incubator/setup-miniconda v3 composite
- graphviz *
- networkx *
- numpy *
- pandas *
- pyyaml *
- rdflib *
- graphviz *
- networkx *
- numpy *
- pandas *
- pyyaml *
- rdflib *
- graphviz
- jupyterlab
- matplotlib
- networkx
- pandas
- python >3.8,<3.12
- python-graphviz
- pyyaml
- rdflib