Skip to content

Latest commit

 

History

History

README.md

pgRDF user guide

Everything you need to install pgRDF, load data, and use it from your application. The documentation site, pgrdf.styk.tv, has feature deep dives, worked examples and the internals.

Start here

  1. What pgRDF is: capabilities, requirements, limits.
  2. Install: Docker, an existing server, or from source.
  3. A ten-minute tour: load, query, reason, validate, lock and fingerprint a graph in one psql session.

Topics

Page Covers
02 — Loading RDF Turtle, N-Triples, TriG, N-Quads; strings and files; bulk loading and tuning
03 — Querying SPARQL 1.1 query and update, named graphs, property paths, what's not supported
04 — Reasoning OWL 2 RL and RDFS materialization, freshness
05 — Managing graphs inventory, copy / move / drop, carving, locks, integrity
06 — Validation SHACL Core and SHACL-SPARQL, reports, strict mode
07 — Identity and export canonical digests, N-Triples export, portable manifests
08 — Errors and diagnostics SQLSTATEs, completeness, settings, version checks
09 — Function reference every supported function, grouped by task

From your application

pgRDF is plain SQL, so every PostgreSQL driver works. These pages show the common patterns: loading, querying, JSONB results and error codes.

Language Page
Python (psycopg, asyncpg, SQLAlchemy) clients/python.md
Node.js / TypeScript (pg, postgres.js) clients/typescript.md
Go (pgx) clients/go.md
Rust (tokio-postgres, sqlx) clients/rust.md

Something wrong or unclear?

Open an issue at styk-tv/pgRDF.