Imagine that there are two types of relationships in one node from the other node and the third node has only one type. For example, in the manual (), we say that there is an additional relationship with Node 4's 7 [Directed] - so Douglas acted at the same time and directed "American President".
How to find (in cipher) all nodes related to node 7 are not particularly related to the type of relationship at ACTED and to show ACTED-related nodes in which there are additional links?
How is it?
can start n = node (3084) match n- [r] -m // direction? Assemble the m / relationship where the collar (collar) = 1 / we collect nodes with only 1 relationship and type (head (collar)) = "ACTED" Relationship requirement is ACTED (I think it is actually in ACTS_IN example dataset) Returns me;
No comments:
Post a Comment