from neo4jrestclient.client import GraphDatabase, Node, Relationship gdb = GraphDatabase(url="http://localhost:7474") gdb.query("MATCH (me)-[r]-() RETURN me, r LIMIT 10")