{
  HP(func: allofterms(name@en, "Harry Potter")) @cascade {
    name@en
    starring{
        performance.character {
          name@en
        }
        performance.actor @filter(allofterms(name@en, "Warwick")){
            name@en
         }
    }
  }
}
---
{
  "HP": [
    {
      "name@en": "Harry Potter and the Deathly Hallows – Part 2",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Griphook"
            }
          ]
        },
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Chamber of Secrets",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Half-Blood Prince",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Philosopher's Stone",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        },
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Goblin Bank Teller"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Goblet of Fire",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Prisoner of Azkaban",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Deathly Hallows - Part I",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Griphook"
            }
          ]
        }
      ]
    },
    {
      "name@en": "Harry Potter and the Order of the Phoenix",
      "starring": [
        {
          "performance.actor": [
            {
              "name@en": "Warwick Davis"
            }
          ],
          "performance.character": [
            {
              "name@en": "Professor Filius Flitwick"
            }
          ]
        }
      ]
    }
  ]
}
