Link: Kuzu
db = kuzu.Database('./test.db') conn = kuzu.Connection(db)
Step 3: Define a Schema (Cypher DDL)
# Create a Node table called 'User'
conn.execute("CREATE NODE TABLE User (name STRING, age INT64, PRIMARY KEY (name))")
Kuzu Link is ideal for building lineage systems. You can model the relationships between datasets (e.g., "Table A feeds Table B") in the graph, while linking to the actual tables in the data warehouse to query their schemas or metadata dynamically.
Kuzu Link is not just a data ingestion feature; it is a design philosophy. It acknowledges that data is distributed and that graph databases should act as intelligent overlays rather than isolated islands. By enabling seamless links to Postgres, MySQL, and file formats like Parquet, Kuzu empowers developers to build "Graph-Native" applications on top of "Relation-Native" storage, combining the best of both worlds.
If you meant "Kuzu no Hon" (the Japanese knife sharpening guides), I have included a section for that at the bottom as well. kuzu link
Here is a solid guide and link collection for Kuzu (Graph DB).
If you are just starting, here is the "Solid Guide" summary to get you running in Python:
Step 1: Install
pip install kuzu
Step 2: Create a Database & Connection
import kuzu
When populating the graph, users can load node and relationship data directly from these linked sources using standard SQL-like projection.
Example Syntax:
LOAD FROM my_external_db.users
RETURN id, name, age;
This allows for "Just-In-Time" graph construction. You do not need to export CSVs from your production SQL database to build your graph; you link the source and define the mapping directly in Cypher.
Perhaps the most powerful aspect of the link functionality is the ability to perform joins between local graph data and remote relational data within a single query. Kuzu’s query planner pushes down predicates to the external source (where possible) to minimize data transfer, ensuring that only relevant data is fetched over the network. db = kuzu
conn.execute("CREATE NODE TABLE Person(id INT64, name STRING, PRIMARY KEY (id))")
conn.execute("CREATE NODE TABLE City(id INT64, name STRING, PRIMARY KEY (id))")
conn.execute("CREATE REL TABLE LivesIn(FROM Person TO City, since DATE)")
db = kuzu.Database("./my_kuzu_db")
conn = kuzu.Connection(db)