neo4j-core example, implemented /graph resource

 Copied from py2neo