Skip to main content

Programming With RDF4J

  • Setting up your development environment

    This chapter gives you some pointers on how to install the RDF4J libraries and how to initialize your project.


  • The RDF Model API

    The RDF Model API is the core of the RDF4J framework. It provides the basic building blocks for manipulating RDF data in Java.


  • The Repository API

    The Repository API is the central access point for RDF4J-compatible RDF databases (a.k.a. triplestores), as well as for SPARQL endpoints. This is what you use to execute SPARQL queries and update your data.


  • Parsing and Writing RDF with Rio

    The RDF4J framework includes a set of parsers and writers for RDF called Rio. Rio (“RDF I/O”) is a toolkit that can be used independently from the rest of RDF4J.


  • The LMDB Store

    New in RDF4J 4.0 Experimental

    The RDF4J LMDB Store is a new SAIL database, using the Symas Lightning Memory-Mapped Database: a fast embeddable key-value database using memory-mapped IO for great performance and stability.


  • Full-text indexing with the Lucene SAIL

    The LuceneSail enables you to add full text search of RDF literals to find subject resources to any Sail stack.


  • Reasoning and Validation with SPIN

    The SPARQL Inferencing Notation (SPIN) is a way to represent a wide range of business rules on top of an RDF dataset. These rules can be anything from constraint validation to inferred property value calculation.


  • Validation with SHACL

    The SHapes Constraint Language (SHACL) is a language for validating RDF graphs.


  • Federation with FedX

    FedX provides transparent federation of multiple SPARQL endpoints under a single virtual endpoint.


  • Integration with Spring

    The rdf4j-spring module allows for using an RDF4J repository as the data backend of a spring application.


  • GeoSPARQL

    RDF4J offers an extended algebra for partial GeoSPARQL support. When enabled, this offers additional geospatial functionality as part of the SPARQL engine, on top of any RDF4J repository, using the well-known Spatial4J and JTS libraries for geospatial reasoning.


  • RDF-star and SPARQL-star

    RDF4J has (experimental) support for RDF-star and SPARQL-star.


About

Eclipse RDF4J™ is a powerful Java framework for processing and handling RDF data. This includes creating, parsing, scalable storage, reasoning and querying with RDF and Linked Data. It offers an easy-to-use API that can be connected to all leading RDF database solutions. It allows you to connect with SPARQL endpoints and create applications that leverage the power of linked data and Semantic Web.


RDF4J Architecture

Back to the top