Skip to content

DerwenAI/kuzu-rdflib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kuzu-rdflib

A proof-of-concept integration of KùzuDB and 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 KùzuDB graph database.

For details about these libraries, see:

Set up

git clone https://github.com/DerwenAI/kuzu-rdflib.git
cd kuzu-rdflib

python3 -m venv venv
source venv/bin/activate

python3 -m pip install -U pip wheel setuptools
python3 -m pip install -r requirements.txt

Usage

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

python3 prep.py

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

python3 demo.py

About

An integration of KùzuDB and RDFlib.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages