Skip to content

LadybugDB/ladybug-rdflib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ladybug-rdflib

A proof-of-concept integration of LadybugDB and RDFlib.

Based on previus work by Paco Nathan and Prashanth Rao: https://github.com/DerwenAI/kuzu-rdflib

The library module for this demo is in graph.py where an RDFlib "Store" plugin has been adapted to manage its RDF triples within a Ladybug graph database.

For details about these libraries, see:

Set up

git clone https://github.com/LadybugDB/ladybug-rdflib.git
cd ladybug-rdflib

uv venv
source .venv/bin/activate

uv sync

Usage

First, initialize the example RDF data from the uni.ttl file:

uv run prep.py

Then run the demo.py script to perform an example SPARQL query and SHACL validation:

uv run demo.py

About

A proof-of-concept integration of LadybugDB and RDFlib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages