CleverRDFLib - a RDFLib extension
  • Python 87.1%
  • Gherkin 8.5%
  • RobotFramework 3.5%
  • Dockerfile 0.8%
  • Shell 0.1%
Find a file
CoreRasurae f14c0bad8c
All checks were successful
CI / lint (pull_request) Successful in 1m35s
CI / typecheck (pull_request) Successful in 1m38s
CI / behave (3.11) (pull_request) Successful in 1m48s
CI / behave (3.12) (pull_request) Successful in 1m47s
CI / behave (3.13) (pull_request) Successful in 1m43s
CI / build (pull_request) Successful in 1m33s
CI / lint (push) Successful in 1m31s
CI / typecheck (push) Successful in 1m29s
CI / behave (3.11) (push) Successful in 1m37s
CI / behave (3.12) (push) Successful in 1m44s
CI / behave (3.13) (push) Successful in 1m36s
CI / build (push) Successful in 1m31s
docs: Initial documentation of CleverRDFLib
ISSUES CLOSED: #2
2025-12-22 10:50:03 +00:00
.devcontainer Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.forgejo/workflows feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
benchmarks Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
docs docs: Initial documentation of CleverRDFLib 2025-12-22 10:50:03 +00:00
features feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
robot feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
scripts Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
src docs: Initial documentation of CleverRDFLib 2025-12-22 10:50:03 +00:00
typings Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.bumpversion.cfg Added boilerplate code for python 2024-03-06 23:57:14 -05:00
.cz-config.js Initial commit 2024-01-25 23:10:04 -05:00
.cz.json Initial commit 2024-01-25 23:10:04 -05:00
.dockerignore Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.editorconfig Initial commit 2024-01-25 23:10:04 -05:00
.gitattributes Initial commit 2024-01-25 23:10:04 -05:00
.gitignore chore: Update .gitignore 2025-12-11 20:06:58 +00:00
.python-version Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
asv.conf.json Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
ATTRIBUTIONS.md Initial commit 2024-01-25 23:10:04 -05:00
behave.ini feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
CHANGELOG.md chore: Initial project structure for CleverRDFLib 2025-11-21 22:19:46 +00:00
CODE_OF_CONDUCT.md Initial commit 2024-01-25 23:10:04 -05:00
CONTRIBUTING.md Initial commit 2024-01-25 23:10:04 -05:00
CONTRIBUTORS.md chore: Initial project structure for CleverRDFLib 2025-11-21 22:19:46 +00:00
Dockerfile feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
LICENSE Added Apache OSS license 2024-01-25 23:14:00 -05:00
mkdocs.yml docs: Initial documentation of CleverRDFLib 2025-12-22 10:50:03 +00:00
NOTICE Added Apache OSS license 2024-01-25 23:14:00 -05:00
noxfile.py feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
pyproject.toml feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
pyrightconfig.json feat: Initial version of CleverRDFLib 2025-12-19 22:26:14 +00:00
README.md docs: Initial documentation of CleverRDFLib 2025-12-22 10:50:03 +00:00
robot.cfg Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00

CleverRDFLib

A wrapper for RDFLib with extensions.

Features

  • Imports RDFS and OWL ontologies, supporting several ontologies serialization formats
  • Resolves external imports from OWL and from RDFS only ontologies
  • Easy to retrieve information for a given class with easy navigation of its hierarchy
  • Provides the visitor design pattern for other non-obvious class hierarchy navigation
  • Distinguishes between ObjectProperties and DataTypeProperties
  • Retrieve the properties where the class is referenced (domain or range)
  • Facilitates conversion from the library object format to other end-user object formats
  • Validate OWL ontologies
  • Retrieve OWL metadata
  • Easy redirection of external ontologies to local files, or custom redirection implementations

NOTES:

  • Instances are filtered out of the extraction

Quick Start

# clone the project
git clone https://git.cleverthis.com/cleverlibre/CleverRDFLib.git
cd CleverRDFLib

# create virtual environment and install dependencies
python -m venv .venv
source .venv/bin/activate
pip install -e ."[tests,docs]

# run quality checks
nox -s format lint typecheck unit_tests

Documentation

nox -s docs
nox -s serve_docs

Tests

Run them with nox -s unit_tests.