Skip to content

Instantly share code, notes, and snippets.

@campoy
Created Jul 30, 2019
Embed
What would you like to do?
Cameo query
{
spielberg as var(func: allofterms(name@en, "steven spielberg")) {
uid
}
cameos(func: uid(spielberg)) @cascade @normalize {
director : name@en
director.film {
film : name@en
starring {
performance.actor @filter(uid(spielberg)) {
actor : name@en
}
performance.character {
character : name@en
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment