Back Home

* Gremlin Graph traversal library that works with Groovy and java https://github.com/tinkerpop/gremlin/wiki/Using-Gremlin-through-Groovy

* http://www.reco4j.org/ Recommnendation engine built on neo

Basics Overview

  • A property graph is a pragmatic model that supports easy domain modelling and rich query support.
  • Neo4j APIs

* Transactions

  • Manual and Auto-Indexing ==== Neo and Java ====
Node firstNode = neo.createNode();
Node secondNode = neo.createNode();
Relationship relationship = firstNode.createRelationshipTo(
secondNode, MyRelationshipTypes.KNOWS );
 
firstNode.setProperty( "message", "Hello, " );
secondNode.setProperty( "message", "world!" );
relationship.setProperty( "message", "brave Neo " );

Neo and Groovy

Groovy handles the setProperty/getProperty methods in a particular fashion, and without doing anything special, you should be able to directly use this nicer syntax in Groovy:

so the equivalent getter and setter of the java example:

firstNode.message = "Hello"
secondNode.message = "world!"
relationship.message = "brave Neo"

You should also be able to use groovy map and tuples to set object value implicitly

Node neo = [name: "Neo"]
Relationship rel =  [ firstNode, KNOWS, secondNode ]
  • Declarative querying with the Neo4j Traverser APIs
  • The Cypher Query Language
  • Neo4j Server
  • Production-readiness

* Neo4j server REST API

  • Developing Neo4j server extensions
  • Using Neo4j in large systems

Neo OGRM

Plugins

Neo4j Spatial Plugin

https://github.com/neo4j/spatial

Neo4j Spatial is a library of utilities for Neo4j that faciliates the enabling of spatial operations on data. In particular you can add spatial indexes to already located data, and perform spatial operations on the data like searching for data within specified regions or within a specified distance of a point of interest.

Neo4j and SPASQL

However the sqasql need for url's before node, syntax sucks!!!

"query" : "SELECT ?x ?y WHERE { ?x <http://neo4j.org#knows> ?y . }"

Bio4j

Powerful framework for protein related information querying and management. Since it relies on a high-performance graph engine, data is stored in a way that semantically represents its own structure

Side share presentation http://www.slideshare.net/pablo_pareja/bio4j

 
neo4j.txt · Last modified: 2013/09/29 11:15 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd