<https://lh3.googleusercontent.com/-aRTIXg9BAa4/WKKAj0ekCSI/AAAAAAAACk0/88SAT8FukT0tLs96zsGmzrXMzZbLqTitgCLcB/s1600/1851688996.jpg>
Figure 1
Hello community,
As shown in Fig.1, what I want to do is : Setting *'node/p1'* (the
read notes is ' _id ') , I can get the other nodes as well as edges
through* 'node/mp1' *and *'node/mp2'* which is connected with *'node/p1'*
I am thinking to use Graph traversals in AQL as follows:
On this point, I have a view that set *startVertex as **'node/p1'* and
executed
at min depth=4 and max* depth=4 ,*then filter the path witch contain v.
LABEL == 'MetaPerson'
LET condition = ( FOR v, e, p IN 1..1 ANY 'node/p1' GRAPH 'graphname'
FILTER v.LABEL == 'MetaPerson' return v)
FOR vertex, edges, path in 4..4 ANY 'node/p1' GRAPH 'graphname'
FILTER condition[*] ANY IN vertex
RETURN {vertex, edges, path}
But it return
[]
I really have no idea to deal with this problem~hope for your help .
Thank you..
by the way ,here is my example data:
node.csv
_id,_key,identify,Name,Gender,Age,Email,Phonenumber,Address,LABEL
node/1,"1",A,轩硕,Female,48,[email protected],351-(194)243-0311,3 Pankratz Place,
Person
node/2,"2",B,彦军,Male,43,[email protected],63-(650)464-1177,29 Ridgeway
Circle,Person
node/3,"3",B1,泽瀚,Female,23,[email protected],86-(547)493-6843,77624
Eastwood Place,Person
node/67,"67",metaperson1,fghd,Male,47,[email protected],7-(837)788-53,56
Monterey Terrace,MetaPerson
node/68,"68",metaperson2,fghd,Male,47,[email protected],7-(837)788-53,56
Monterey Terrace,MetaPerson
node/73,"73",Ec21,2015-01-11,,,,,,CALL|Event
node/74,"74",Ec22,2015-01-13,,,,,,EMAIL|Event
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.