Data Model along with Count's is as follows:
Relationship: AA(self-relation with nodes of label A) count: 36, AB(from A to B) count:0
OPTIONAL MATCH (p1)-[d:AB]->(c:B)
The data model is as shown in the above diagram.
The queries are generated based on multiple selections of nodes and relationships. A sample query is as follows:
MATCH (Ve_0:Node4)-[Su_2:Rel1]->(Ma_1:Node3) WHERE Ma_1.property1 IN ['A','B','C']
The schema is as shown in the image uploaded. Need to generate a query for multiple selections of nodes and relationships for returning data as well as a separate query for the count with filters applied. Tried the following query:
I am using Neo4j Desktop Version. The hardware configuration of the system are as follows:
RAM: 8 GB
Storage: 128 GB
Tired loading 5.3 billion nodes into the system. But it was unsuccessful, the error throw was heap size exceeded. Again tried...
@giuseppe.villani Unfortunately, I don't have demo data for the use case, and generating it is a tedious process. If you can share a generic query based on the data model shared for all the selection of nodes and relationship with the filter on all,...