@sakib My mistake . Then i updated this dataset. thank you very much.
But My trouble is I dont know how to query to get those films which has multiple starrings simultaneously.
For example: those films which include two persons (Luke and Leia) simultaneously.
my now dql is this, but this dql is complex and slow.
@MichelDiz @sakib do you have better dql to get the data?
now is
{
var(func:eq(name, "Luke Skywalker")) @cascade{
A as ~starring{}
}
B as var(func:uid(A)) @cascade{
starring @filter(eq(name, "Princess Leia")){}
}
films(func: uid(B)) {
uid
name
starring{
uid
name
}
}
}
result is
