How to find if a vertex has at least 1 relationship/edge to a thousands of vertex with specific property
Let say I have this sample data
Then I wanted to find any Person-type vertex who has at least has pet which is a dog.
How could find all those Person-type vertices without traversing all the non-person type vertices?
I tried this query, but still it is traversing all pets of
And this is the result:
What I like is: