Created
July 30, 2019 05:19
-
-
Save campoy/a1dfe716e40dd72a98b90449f9f53e6e to your computer and use it in GitHub Desktop.
Cameo query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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