Hello everyone,
I am trying to filter my query based on specific node types. I have 3 different nodes(Person, Children, and Parent) in my Neo4j DB and I want to show a certain number of these types of nodes. My scenario is like this:
1- Get nodes which person's name contains "Albert" as P (P:Person)
2- Get children of this person who has more than 1 child and show just 2 of these children
3- Get one of the parents of these people
4- As a result, show to user that {Person, 2 children of this person, Father or Mother of this Person)
I researched many of the posts on the Neo4j blog and StackOverflow but I couldn't find the solution. I tried to use Subquery but couldn't succeed.
I am a newbie of Neo4j, can you help me, please?
Thanks