# Eclipse RDF4J version 4.0.0 API specification

Eclipse RDF4J™ is a modular Java framework for working with RDF, SPARQL, SHACL, and related languages and tools. This is the reference Javadoc for its core APIs and utility classes.

- The RDF Model API provides the basic building blocks for manipulating RDF data in Java.
- The Repository API is the central access point for RDF4J-compatible RDF databases (a.k.a. triplestores), as well as for SPARQL endpoints.
- Rio is RDF4J's RDF Parser/Writer toolkit.
- The SAIL API is a collection of interfaces designed for low-level transactional access to RDF data.

For more information, including tutorials on every aspect of the framework, see the RDF4J Documentation.

All Packages RDF Model API Repository API Rio: RDF Parsers/Writers Query Result Parsers and Writers SAIL API Other Packages
Package | Description
--- | ---
org.eclipse.rdf4j |
org.eclipse.rdf4j.benchmark.jmh_generated |
org.eclipse.rdf4j.benchmark.rio |
org.eclipse.rdf4j.benchmark.rio.impl |
org.eclipse.rdf4j.benchmark.rio.impl.jmh_generated |
org.eclipse.rdf4j.benchmark.rio.jmh_generated |
org.eclipse.rdf4j.benchmark.rio.util |
org.eclipse.rdf4j.common.annotation |
org.eclipse.rdf4j.common.app |
org.eclipse.rdf4j.common.app.config |
org.eclipse.rdf4j.common.app.logging |
org.eclipse.rdf4j.common.app.logging.base |
org.eclipse.rdf4j.common.app.logging.logback |
org.eclipse.rdf4j.common.app.net |
org.eclipse.rdf4j.common.app.util |
org.eclipse.rdf4j.common.concurrent.locks | Package offering various locking scheme implementations.
org.eclipse.rdf4j.common.concurrent.locks.diagnostics |
org.eclipse.rdf4j.common.exception |
org.eclipse.rdf4j.common.io |
org.eclipse.rdf4j.common.iteration |
org.eclipse.rdf4j.common.iterator |
org.eclipse.rdf4j.common.lang |
org.eclipse.rdf4j.common.lang.service |
org.eclipse.rdf4j.common.logging |
org.eclipse.rdf4j.common.logging.base |
org.eclipse.rdf4j.common.logging.file.logback |
org.eclipse.rdf4j.common.net |
org.eclipse.rdf4j.common.platform |
org.eclipse.rdf4j.common.platform.support |
org.eclipse.rdf4j.common.text |
org.eclipse.rdf4j.common.transaction | Common classes and interfaces for transaction settings
org.eclipse.rdf4j.common.webapp |
org.eclipse.rdf4j.common.webapp.filters |
org.eclipse.rdf4j.common.webapp.navigation |
org.eclipse.rdf4j.common.webapp.navigation.functions |
org.eclipse.rdf4j.common.webapp.system |
org.eclipse.rdf4j.common.webapp.system.logging |
org.eclipse.rdf4j.common.webapp.system.proxy |
org.eclipse.rdf4j.common.webapp.util |
org.eclipse.rdf4j.common.webapp.views |
org.eclipse.rdf4j.common.xml |
org.eclipse.rdf4j.console | A command line console tool for querying and updating local or remote RDF4J repositories.
org.eclipse.rdf4j.console.command |
org.eclipse.rdf4j.console.setting |
org.eclipse.rdf4j.console.util |
org.eclipse.rdf4j.examples.function |
org.eclipse.rdf4j.examples.model |
org.eclipse.rdf4j.examples.model.vocabulary |
org.eclipse.rdf4j.examples.repository |
org.eclipse.rdf4j.federated |
org.eclipse.rdf4j.federated.algebra |
org.eclipse.rdf4j.federated.api |
org.eclipse.rdf4j.federated.cache |
org.eclipse.rdf4j.federated.endpoint |
org.eclipse.rdf4j.federated.endpoint.provider |
org.eclipse.rdf4j.federated.evaluation |
org.eclipse.rdf4j.federated.evaluation.concurrent |
org.eclipse.rdf4j.federated.evaluation.iterator |
org.eclipse.rdf4j.federated.evaluation.join |
org.eclipse.rdf4j.federated.evaluation.union |
org.eclipse.rdf4j.federated.exception |
org.eclipse.rdf4j.federated.monitoring |
org.eclipse.rdf4j.federated.optimizer |
org.eclipse.rdf4j.federated.repository |
org.eclipse.rdf4j.federated.structures |
org.eclipse.rdf4j.federated.util |
org.eclipse.rdf4j.federated.write |
org.eclipse.rdf4j.http.client |
org.eclipse.rdf4j.http.client.query |
org.eclipse.rdf4j.http.client.shacl |
org.eclipse.rdf4j.http.client.util |
org.eclipse.rdf4j.http.protocol |
org.eclipse.rdf4j.http.protocol.error |
org.eclipse.rdf4j.http.protocol.transaction |
org.eclipse.rdf4j.http.protocol.transaction.operations |
org.eclipse.rdf4j.http.server |
org.eclipse.rdf4j.http.server.protocol |
org.eclipse.rdf4j.http.server.readonly |
org.eclipse.rdf4j.http.server.repository |
org.eclipse.rdf4j.http.server.repository.config |
org.eclipse.rdf4j.http.server.repository.contexts |
org.eclipse.rdf4j.http.server.repository.graph |
org.eclipse.rdf4j.http.server.repository.handler |
org.eclipse.rdf4j.http.server.repository.namespaces |
org.eclipse.rdf4j.http.server.repository.resolver |
org.eclipse.rdf4j.http.server.repository.size |
org.eclipse.rdf4j.http.server.repository.statements |
org.eclipse.rdf4j.http.server.repository.transaction |
org.eclipse.rdf4j.model | The RDF Model API
org.eclipse.rdf4j.model.base | Abstract base classes for RDF Model API interfaces.
org.eclipse.rdf4j.model.datatypes | Utility classes for handling datatypes.
org.eclipse.rdf4j.model.impl | Default implementations of the RDF model interfaces
org.eclipse.rdf4j.model.util | Helper classes for working with RDF models.
org.eclipse.rdf4j.model.vocabulary | Re-usable constants for various well-known RDF vocabularies.
org.eclipse.rdf4j.query | Interfaces and classes for handling queries and query results.
org.eclipse.rdf4j.query.algebra | Abstract Query Algebra model.
org.eclipse.rdf4j.query.algebra.evaluation |
org.eclipse.rdf4j.query.algebra.evaluation.federation |
org.eclipse.rdf4j.query.algebra.evaluation.function |
org.eclipse.rdf4j.query.algebra.evaluation.function.datetime |
org.eclipse.rdf4j.query.algebra.evaluation.function.geosparql |
org.eclipse.rdf4j.query.algebra.evaluation.function.hash |
org.eclipse.rdf4j.query.algebra.evaluation.function.numeric |
org.eclipse.rdf4j.query.algebra.evaluation.function.rdfterm |
org.eclipse.rdf4j.query.algebra.evaluation.function.string |
org.eclipse.rdf4j.query.algebra.evaluation.function.triple |
org.eclipse.rdf4j.query.algebra.evaluation.function.xsd | Functions for casting values to various XML Schema datatypes
org.eclipse.rdf4j.query.algebra.evaluation.impl |
org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps |
org.eclipse.rdf4j.query.algebra.evaluation.iterator |
org.eclipse.rdf4j.query.algebra.evaluation.limited |
org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator |
org.eclipse.rdf4j.query.algebra.evaluation.util |
org.eclipse.rdf4j.query.algebra.helpers |
org.eclipse.rdf4j.query.dawg | Functionality to convert tuple query results to and from the Data Access Working Group Test Result Set RDF Vocabulary
org.eclipse.rdf4j.query.explanation |
org.eclipse.rdf4j.query.impl |
org.eclipse.rdf4j.query.parser |
org.eclipse.rdf4j.query.parser.impl |
org.eclipse.rdf4j.query.parser.sparql | The rdf4j SPARQL 1.1 parser.
org.eclipse.rdf4j.query.resultio |
org.eclipse.rdf4j.query.resultio.binary |
org.eclipse.rdf4j.query.resultio.helpers |
org.eclipse.rdf4j.query.resultio.sparqljson | A writer for the SPARQL Query Results JSON Format
org.eclipse.rdf4j.query.resultio.sparqlstarjson |
org.eclipse.rdf4j.query.resultio.sparqlxml | Parsers and writers for the SPARQL Query Results XML Format
org.eclipse.rdf4j.query.resultio.text |
org.eclipse.rdf4j.query.resultio.text.csv |
org.eclipse.rdf4j.query.resultio.text.tsv |
org.eclipse.rdf4j.query.resultio.textstar.tsv |
org.eclipse.rdf4j.queryrender | This package contains classes for working with RDF4J query objects.
org.eclipse.rdf4j.queryrender.sparql |
org.eclipse.rdf4j.queryrender.sparql.experimental | This package contains classes for rendering RDF4J query objects as SPARQL queries.
org.eclipse.rdf4j.repository | The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
org.eclipse.rdf4j.repository.base | Abstract base classes and wrappers for the main Repository API interfaces.
org.eclipse.rdf4j.repository.config | Repository configuration interfaces.
org.eclipse.rdf4j.repository.contextaware | A repository wrapper with convenience functions for handling contexts.
org.eclipse.rdf4j.repository.contextaware.config |
org.eclipse.rdf4j.repository.dataset | A repository wrapper which supports auto-loading of datasets specified in a query.
org.eclipse.rdf4j.repository.dataset.config |
org.eclipse.rdf4j.repository.evaluation |
org.eclipse.rdf4j.repository.event | Interfaces for notification/interception of events happening on Repositories and RepositoryConnections
org.eclipse.rdf4j.repository.event.base | Wrapper/adapter base implementations.
org.eclipse.rdf4j.repository.event.util |
org.eclipse.rdf4j.repository.filters |
org.eclipse.rdf4j.repository.http | A repository that serves as a proxy client for a remote repository on an RDF4J Server.
org.eclipse.rdf4j.repository.http.config |
org.eclipse.rdf4j.repository.http.helpers |
org.eclipse.rdf4j.repository.manager | Functionality for Repository lifecycle management and sharing.
org.eclipse.rdf4j.repository.manager.util |
org.eclipse.rdf4j.repository.sail | Repository implementation for local RDF databases that implement the SAIL SPI.
org.eclipse.rdf4j.repository.sail.config |
org.eclipse.rdf4j.repository.sail.helpers | Helper and utility classes for the `SailRepository`
org.eclipse.rdf4j.repository.sparql | A `Repository` that serves as a SPARQL endpoint client.
org.eclipse.rdf4j.repository.sparql.config |
org.eclipse.rdf4j.repository.sparql.federation |
org.eclipse.rdf4j.repository.sparql.query |
org.eclipse.rdf4j.repository.util | Helper classes for working with Repositories.
org.eclipse.rdf4j.rio | Rio: The RDF4J parser/writer API.
org.eclipse.rdf4j.rio.binary | Parser/writer for the RDF4J binary RDF format.
org.eclipse.rdf4j.rio.datatypes | Various `DatatypeHandler` implementations.
org.eclipse.rdf4j.rio.hdt | Parser/writer for the HDT v1.0 format.
org.eclipse.rdf4j.rio.helpers | Provides helpers classes for Rio.
org.eclipse.rdf4j.rio.jsonld | Parser/writer for the JSON-L format.
org.eclipse.rdf4j.rio.languages | Various `LanguageHandler` implementations for processing language-tags.
org.eclipse.rdf4j.rio.n3 | Writer for the Notation-3 (N3) format.
org.eclipse.rdf4j.rio.ndjsonld |
org.eclipse.rdf4j.rio.nquads | Parser/writer for the N-Quads format.
org.eclipse.rdf4j.rio.ntriples | Parser/writer for the N-Triples format.
org.eclipse.rdf4j.rio.rdfjson | Parser/writer for the RDF/JSON format.
org.eclipse.rdf4j.rio.rdfxml | Parser/writer for the RDF/XML format.
org.eclipse.rdf4j.rio.rdfxml.util | Pretty-printing for the RDF/XML format.
org.eclipse.rdf4j.rio.trig | Parser/writer for the TriG format.
org.eclipse.rdf4j.rio.trigstar |
org.eclipse.rdf4j.rio.trix | Parser/writer for the TriX format.
org.eclipse.rdf4j.rio.turtle | Parser/writer for the Turtle format.
org.eclipse.rdf4j.rio.turtlestar |
org.eclipse.rdf4j.sail | RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
org.eclipse.rdf4j.sail.base | Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
org.eclipse.rdf4j.sail.base.config |
org.eclipse.rdf4j.sail.config |
org.eclipse.rdf4j.sail.elasticsearch | ElasticSearch index for the `LuceneSail`.
org.eclipse.rdf4j.sail.elasticsearch.config |
org.eclipse.rdf4j.sail.elasticsearchstore | Elasticsearch store for string triples
org.eclipse.rdf4j.sail.elasticsearchstore.config |
org.eclipse.rdf4j.sail.evaluation |
org.eclipse.rdf4j.sail.extensiblestore | Elasticsearch store for string triples
org.eclipse.rdf4j.sail.extensiblestore.evaluationstatistics |
org.eclipse.rdf4j.sail.extensiblestore.valuefactory |
org.eclipse.rdf4j.sail.features |
org.eclipse.rdf4j.sail.helpers | Abstract base implementation and internal helper classes for Sail implementations.
org.eclipse.rdf4j.sail.inferencer |
org.eclipse.rdf4j.sail.inferencer.fc | Forward-chaining inferencers, implemented as `StackableSail`s.
org.eclipse.rdf4j.sail.inferencer.fc.config |
org.eclipse.rdf4j.sail.inferencer.util |
org.eclipse.rdf4j.sail.lmdb | The LMDB based Store.
org.eclipse.rdf4j.sail.lmdb.config |
org.eclipse.rdf4j.sail.lmdb.model |
org.eclipse.rdf4j.sail.lucene | A Sail implementation that supports full-text indexing via the Lucene API.
org.eclipse.rdf4j.sail.lucene.config |
org.eclipse.rdf4j.sail.lucene.impl |
org.eclipse.rdf4j.sail.lucene.impl.config |
org.eclipse.rdf4j.sail.lucene.util |
org.eclipse.rdf4j.sail.memory | An implementation of the RDF SAIL API that uses main memory for storage.
org.eclipse.rdf4j.sail.memory.config |
org.eclipse.rdf4j.sail.memory.model |
org.eclipse.rdf4j.sail.model |
org.eclipse.rdf4j.sail.nativerdf | The Native Store.
org.eclipse.rdf4j.sail.nativerdf.btree |
org.eclipse.rdf4j.sail.nativerdf.config |
org.eclipse.rdf4j.sail.nativerdf.datastore |
org.eclipse.rdf4j.sail.nativerdf.model |
org.eclipse.rdf4j.sail.shacl | A Sail implementation for SHACL constraint checking.
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents |
org.eclipse.rdf4j.sail.shacl.ast.paths |
org.eclipse.rdf4j.sail.shacl.ast.planNodes |
org.eclipse.rdf4j.sail.shacl.ast.targets |
org.eclipse.rdf4j.sail.shacl.config |
org.eclipse.rdf4j.sail.shacl.results |
org.eclipse.rdf4j.sail.shacl.results.lazy |
org.eclipse.rdf4j.sail.shacl.wrapper | Copyright (c) 2022 Eclipse RDF4J contributors.
org.eclipse.rdf4j.sail.shacl.wrapper.data |
org.eclipse.rdf4j.sail.shacl.wrapper.shape |
org.eclipse.rdf4j.sail.solr |
org.eclipse.rdf4j.sail.solr.client.cloud |
org.eclipse.rdf4j.sail.solr.client.embedded |
org.eclipse.rdf4j.sail.solr.client.http |
org.eclipse.rdf4j.sail.solr.config |
org.eclipse.rdf4j.sparqlbuilder.constraint |
org.eclipse.rdf4j.sparqlbuilder.constraint.propertypath |
org.eclipse.rdf4j.sparqlbuilder.constraint.propertypath.builder |
org.eclipse.rdf4j.sparqlbuilder.core | Core classes and interfaces for the SPARQLBuilder.
org.eclipse.rdf4j.sparqlbuilder.core.query |
org.eclipse.rdf4j.sparqlbuilder.graphpattern |
org.eclipse.rdf4j.sparqlbuilder.rdf |
org.eclipse.rdf4j.sparqlbuilder.util |
org.eclipse.rdf4j.spin | See discussion at https://github.com/eclipse/rdf4j/issues/1262
org.eclipse.rdf4j.spin.function | Core functions required for SPIN.
org.eclipse.rdf4j.spin.function.apf |
org.eclipse.rdf4j.spin.function.list |
org.eclipse.rdf4j.spin.function.spif |
org.eclipse.rdf4j.spring | Rdf4J-Spring
org.eclipse.rdf4j.spring.dao | Rdf4j-Spring DAO
org.eclipse.rdf4j.spring.dao.exception |
org.eclipse.rdf4j.spring.dao.exception.mapper |
org.eclipse.rdf4j.spring.dao.support |
org.eclipse.rdf4j.spring.dao.support.bindingsBuilder |
org.eclipse.rdf4j.spring.dao.support.key |
org.eclipse.rdf4j.spring.dao.support.opbuilder |
org.eclipse.rdf4j.spring.dao.support.operation |
org.eclipse.rdf4j.spring.dao.support.sparql |
org.eclipse.rdf4j.spring.demo |
org.eclipse.rdf4j.spring.demo.dao |
org.eclipse.rdf4j.spring.demo.model |
org.eclipse.rdf4j.spring.demo.service |
org.eclipse.rdf4j.spring.demo.support |
org.eclipse.rdf4j.spring.operationcache | Rdf4j-Spring OperationCache
org.eclipse.rdf4j.spring.operationlog | Rdf4j-Spring OperationLog
org.eclipse.rdf4j.spring.operationlog.log |
org.eclipse.rdf4j.spring.operationlog.log.jmx |
org.eclipse.rdf4j.spring.operationlog.log.slf4j |
org.eclipse.rdf4j.spring.pool | Rdf4j-Spring Pool
org.eclipse.rdf4j.spring.repository | Rdf4j-Spring Repository
org.eclipse.rdf4j.spring.repository.inmemory |
org.eclipse.rdf4j.spring.repository.remote |
org.eclipse.rdf4j.spring.resultcache | Rdf4j-Spring ResultCache
org.eclipse.rdf4j.spring.support |
org.eclipse.rdf4j.spring.support.connectionfactory |
org.eclipse.rdf4j.spring.support.query |
org.eclipse.rdf4j.spring.test |
org.eclipse.rdf4j.spring.tx | Rdf4J-Spring Tx
org.eclipse.rdf4j.spring.tx.exception |
org.eclipse.rdf4j.spring.util |
org.eclipse.rdf4j.spring.uuidsource | This package contains different approaches for generating UUIDs.
org.eclipse.rdf4j.spring.uuidsource.noveltychecking |
org.eclipse.rdf4j.spring.uuidsource.predictable |
org.eclipse.rdf4j.spring.uuidsource.sequence |
org.eclipse.rdf4j.spring.uuidsource.simple |
org.eclipse.rdf4j.testsuite.model |
org.eclipse.rdf4j.testsuite.query.algebra.geosparql |
org.eclipse.rdf4j.testsuite.query.parser.sparql |
org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest |
org.eclipse.rdf4j.testsuite.query.resultio |
org.eclipse.rdf4j.testsuite.repository |
org.eclipse.rdf4j.testsuite.repository.optimistic |
org.eclipse.rdf4j.testsuite.rio |
org.eclipse.rdf4j.testsuite.rio.n3 |
org.eclipse.rdf4j.testsuite.rio.nquads |
org.eclipse.rdf4j.testsuite.rio.ntriples |
org.eclipse.rdf4j.testsuite.rio.rdfjson |
org.eclipse.rdf4j.testsuite.rio.rdfxml |
org.eclipse.rdf4j.testsuite.rio.trig |
org.eclipse.rdf4j.testsuite.rio.turtle |
org.eclipse.rdf4j.testsuite.sail |
org.eclipse.rdf4j.testsuite.shacl.manifest |
org.eclipse.rdf4j.util |
org.eclipse.rdf4j.workbench |
org.eclipse.rdf4j.workbench.base |
org.eclipse.rdf4j.workbench.commands |
org.eclipse.rdf4j.workbench.exceptions |
org.eclipse.rdf4j.workbench.proxy |
org.eclipse.rdf4j.workbench.util |
org.eclipse.testsuite.rdf4j.sail.lucene |