Create your first RDFGraph
Throughout this example on Kùzu’s RDFGraph feature, we will use the following
set of triples about students and faculty at universities, which we call UniKG
.
The DDL statements to define the RDFGraph, the Turtle (.ttl) file
containing the triples, and the data import (COPY FROM
) commands
are given below. You can copy-paste and type these commands in the Kùzu CLI shell
or KùzuExplorer to replicate
the examples in this documentation locally.
Creating the RDFGraph
We will use the following 14 triples stored in a uni.ttl
Turtle file:
Data import
We assume ${PATH-TO-DIR}
is the directory containing uni.ttl
file:
You can double check that there are 14 triples with the following query:
Output:
Drop an RDFGraph
You can drop an RDFGraph using the following command: