Posts Tagged ‘ neo4j ’

Neo4j and JGraphT – A Perfect Team


Neo4j is an open-source graph database, implemented in Java. JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms. JGraphT is a well fitting data model for Neo4j query results as well as it provides a rich pool of algorithms to process it. This article is about how to get a JGraphT graph object as a result from a Neo4j Cypher query. In order to reach this goal, I started the project jgrapht-neo4j-client.



Query Neo4j with Cypher using the REST API


Neo4j REST API provides a way to query the database with Cypher. Cypher is a declarative graph query language. See the Neo4j manual to learn more about it. In this article I will show how to use the REST API to execute Cypher queries from Java code.