Graph Database – Experience Part 1

For those that know, I am definitely interested, interested in Graph Technology. The interest in representing the semantics of anything with edges,  vertices and annotations of those is incredibly powerful.

I navigated to the Neo4j site, and downloaded the Neo4j Community Edition

You’ll want to extract to a folder, such as neo4j-community.

Open a Terminal Window

Change Directory ~/Desktop/neo4j-community

Type java -version

If java, doesn’t spit out the proper version for Java, you’ll have to install it.

No Java
No Java

Click More Information

On the Java website, Click Download JDK

Click I Accept Agreement

Download the Mac OSX x64 Binary – jdk-8u<UpdateNumber>-macosx-x64.dmg

Save the File to the Local Disk

Open, Click on the Package and install.  You may need to authorized to install it.

Switch back to your terminal window and type java -version

Confirm Java
Confirm Java

You should see

Startup Neo4j
Startup Neo4j

To start neo4j type, bin/neo4j start

Open a Browser, and navigate to http://localhost:7474/

Neo4j Start Page
Neo4j Start Page

Once you login, you see the great experience they put forth in the web interface.  There are Java APIs and REST APIs.

I decide to use the REST API to build a quick node in a Graph.  You can read more about nodes at – http://neo4j.com/docs/stable/rest-api-nodes.html … But that’s for part2…

 

Leave a Reply

Your email address will not be published. Required fields are marked *