Issue 1:
Neo4j version: 4.1.1 (community edition)

Operating system: DEBIAN 7

API/Driver: Cypher/Python API/Browser/Desktop (I get the same error everywhere)

Steps to reproduce: I created several csv files to run neo4j-admin import. I can't share the files unfortunately. The import runs successfully without errors. In the graph there are: 8 different node labels, 3 relationship types, 700k nodes, 400M relationships. There's a specific relationship csv file (7 GB), containing 399M relationships out of the total ~400M, which leads to this issue. If I don't include that file, everything works fine.

When I operate a simple query e.g.

match path = (h)-[r]->(t) where (('Gene' in labels(h)) and ('Gene' in labels(t))) or (('Gene' in labels(h)) and ('Variant' in labels(t))) return id(h), id(t)

I obtain the following error:

NOT PART OF CHAIN! RelationshipTraversalCursor[id=292159681, open state with: denseNode=true, next=292159681, , underlying record=Relationship[292159681,used=true,source=137047,target=271310,type=0,sPrev=292159682,sNext=292159680,tPrev=292196972,tNext=292152117,prop=295162289,!sFirst,!tFirst]]

I also run a consistency check and obtained:

Consistency check 2020-12-06 16:35:51.426+0000 ERROR [o.n.c.ConsistencyCheckService] The next property record does not have this record as its previous record. Property[1756984,used=true,prev=-1,next=1703993, (blocks not loaded)] Inconsistent with: Property[1703993,used=true,prev=1703992,next=1703994, (blocks not loaded)] 2020-12-06 16:35:51.446+0000 ERROR [o.n.c.ConsistencyCheckService] The referenced property record is not the first in its property chain. RecordNodeCursor[id=201948, open state with: highMark=-1, next=-1, underlying record=Node[201948,used=true,created=false,group=202324,prop=1757084,labels=Inline(0x2000180001:[1, 6]),light]] Inconsistent with: Property[1757084,used=true,prev=4294902015,next=1757085, (blocks not loaded)] 2020-12-06 16:35:51.465+0000 ERROR [o.n.c.ConsistencyCheckService] The next property record does not have this record as its previous record. Property[2300852,used=true,prev=2300851,next=2300853, (blocks not loaded)] Inconsistent with: Property[2300853,used=true,prev=7092,next=-1, (blocks not loaded)] 2020-12-06 16:35:51.764+0000 ERROR [o.n.c.ConsistencyCheckService] The property chain contains multiple properties that have the same property key id, which means that the entity has at least one duplicate property. RecordNodeCursor[id=311733, open state with: highMark=-1, next=-1, underlying record=Node[311733,used=true,created=false,rel=399531100,prop=1286730,labels=Inline(0x2000100002:[2, 4]),light]] 2020-12-06 16:35:51.765+0000 ERROR [o.n.c.ConsistencyCheckService] The next property record does not have this record as its previous record. Property[1290137,used=true,prev=1290136,next=1290140, (blocks not loaded)] Inconsistent with: Property[1290140,used=true,prev=1245337,next=1290141, (blocks not loaded)] Consistency checking failed.Full consistency check did not complete

Can someone please explain what this means? Does it imply something goes wrong in the import?

If yes, I'd expect an error message in the import process.

Issue 2:
@amirouche: 'By inheriting from GraphDatabase in the __init__ (I don't like to put code in __init__.py but this is for another time), it is possible to access to raw jpype/java methods like graph.getNodeById and other Java inherited stuff which clutter the output of python autocompletion with methods that are not pep8-compliant and sometimes duplicates of pep8-methods available in the case of graph.getNodeById as graph.nodes.get.'