I have been trying to run this query as recommended in the neo4j google group and in other sources online:
START n = node(*) MATCH n-[r?]-() WHERE ID(n)>0 DELETE n, r;>
As of Neo4j 2.3.3, a new way of removing node and relationship had been introduced. See 2.3.3 Docs.
For example, you could do:
MATCH(n) DETACH DELETE n;