Overview
The jena-falkordb-adapter allows applications built on Jena to use FalkorDB as a backend for RDF data storage and querying. This enables seamless graph data management and SPARQL query execution on FalkorDB.Getting Started
Follow the GETTING_STARTED.md guide for step-by-step instructions on setting up the adapter and connecting Jena to FalkorDB.Install from Maven
Add the FalkorDB Jena adapter dependency to your project’spom.xml. Replace the version with the latest release from the adapter repository.
Quick Getting Started (Java)
The snippet below shows a minimal Jena program that registers the FalkorDB adapter and runs a simple SPARQL query. This is intentionally small — see the adapter’sGETTING_STARTED.md and Main.java for a complete example with configuration and connection options.
- Replace
FalkorDBJenaFactory.createModel(...)with the actual adapter factory call used in the adapter (seeMain.java). - Use the adapter’s configuration options (connection URL, authentication) when creating the model.
Usage Example
See the Main.java for a sample Java application demonstrating how to use the adapter.Reference
Frequently Asked Questions
What is the jena-falkordb-adapter used for?
What is the jena-falkordb-adapter used for?
The adapter allows applications built on Apache Jena to use FalkorDB as a backend for RDF data storage and SPARQL query execution, enabling seamless graph data management with Jena’s API.
How do I install the Jena FalkorDB adapter?
How do I install the Jena FalkorDB adapter?
Add the Maven dependency with groupId
com.falkordb and artifactId jena-falkordb-adapter to your pom.xml. Check the adapter repository for the latest version.Can I run SPARQL queries against FalkorDB using Jena?
Can I run SPARQL queries against FalkorDB using Jena?
Yes, once the adapter is configured, you can run standard SPARQL SELECT, CONSTRUCT, and ASK queries using Jena’s
QueryExecutionFactory against data stored in FalkorDB.What Java version is required?
What Java version is required?
Check the adapter’s README for the exact Java version requirement. The adapter is built as a standard Maven project and typically requires Java 11 or later.