Queries to find all related entities and relationship for a set of entities. #5593
Unanswered
xs2tarunkukreja
asked this question in
Q&A
Replies: 1 comment 5 replies
-
You could try GET SUBGRAPH on given vertices:
Or with MATCH leveraging the functions: NODES() and RELATIONSHIPS(): MATCH p=(x:player)-->()-->()-->()
WHERE id(x) IN ["player100","player101"]
RETURN nodes(p) AS entities, relationships(p) AS relationships |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using Nebula Graph having N types of entities and M types of relationship.
Scenario - I have a list of entities. Now I want to get all other entities that are linked directly or indirectly to those entities and relationship between them.
For e.g. A -> B - > C -> D->E
Scenario 1 -
Now if I have B.. I want all related entities and relationship like A, C, D, E.
Beta Was this translation helpful? Give feedback.
All reactions