Programming with GraphDB

GraphDB is built on top of RDF4J, a powerful Java framework for processing and handling RDF data. This includes creating, parsing, storing, inferencing, and querying over such data. It offers an easy-to-use API. GraphDB comes with a set of example programs and utilities that illustrate the basics of accessing GraphDB through the RDF4J API.

Installing Maven dependencies

All GraphDB programming examples are provided as a single Maven project. GraphDB is available from Maven Central (the public Maven repository). You can find the most recent version here:


The three examples below can be found under examples/developer-getting-started of the GraphDB distribution.

We also recommend the online book Programming with RDF4J provided by the RDF4J project. It provides detailed explanations on the RDF4J API and its core concepts.