CoreRasurae f14c0bad8c
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
2024-01-25 23:10:04 -05:00
2024-01-25 23:10:04 -05:00
2024-01-25 23:10:04 -05:00
2024-01-25 23:10:04 -05:00
2025-12-11 20:06:58 +00:00
2024-01-25 23:10:04 -05:00
2024-01-25 23:10:04 -05:00
2024-01-25 23:10:04 -05:00
2024-01-25 23:14:00 -05:00
2024-01-25 23:14:00 -05: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.

S
Description
CleverRDFLib - a RDFLib extension
Readme 714 KiB
Languages
Python 87.1%
Gherkin 8.5%
RobotFramework 3.5%
Dockerfile 0.8%
Shell 0.1%