Developer Center

Build smarter apps, easier, with graph tools for your language

Java
import org.neo4j.driver.AuthTokens; import org.neo4j.driver.GraphDatabase; import java.time.LocalDate; import java.util.List; import java.util.Map; public class App { public static void main(String[] args) { try ( var driver = GraphDatabase.driver( "neo4j+s://.databases.neo4j.io", AuthTokens.basic( "neo4j", "" ) ) ) { driver.verifyConnectivity(); // Query that produces the visualization var javaVersions = driver.executableQuery( """ MATCH (j:JavaVersion) -[:INCLUDES]-> (f:Feature) -[:BELONGS_TO]-> (c:Category { name: $categoryName }) WHERE toInteger(j.version) >= $minVersion WITH j, collect(f.title) AS features, c.name AS category RETURN j { .version, .status, .gaDate, .eolDate, features: features, category: category } AS javaVersion; """ ) .withParameters( Map.of( "categoryName", "lang", "minVersion", 24 ) ) .execute() .records() .stream() .map(r -> r.get("javaVersion") .as(JavaVersion.class) ) .toList(); for (var javaVersion : javaVersions) { System.out.println(javaVersion); } } } record JavaVersion( String version, String status, LocalDate gaDate, LocalDate eolDate, List features ) {} record Feature( String title, Category category ) {} record Category( String name ) {} }

Give your agents connected data with Relate by Neo4j

Relate by Neo4j is an open-source, embedded database for AI agents that keeps track of how your data connects right inside your application. Your agents can store what they learn as connected facts and understand how it all relates. There’s no sign-up and no server to deploy.

Learn more

Build intelligent AI + Graph apps

Create context-aware, reasoning AI

Discover how to model a knowledge graph, retrieve context with GraphRAG, and stream it into agents with MCP, and build graph-aware AI that reasons over connected data with patterns and code to get started fast.

Connect your stack

Integrate with your existing cloud, containers, and frameworks

AWS
Google Cloud
Microsoft Azure
Databricks
Snowflake
Apache Kafka
Apache Spark
Docker
LangChain
Spring

Graph Academy

30+ courses and counting from newcomers to advanced graph and AI development.

Generative AI
Cypher
Development
Processing
Analytics

Master graph fundamentals, development patterns, and AI workflows through guided pathways built for real project success. Each module includes hands-on practice, and you can validate your skills through Neo4j’s certification exams, from the Neo4j Certified Professional to the advanced Graph Data Science certification.

Start learning