---
cases:
    - note: embeddedvirtualdoc/deep embedded vdoc
      query: data.b.c.d.p = x
      modules:
          - |
              package b.c.d

              p contains x if {
              	data.a[i] = x
              	data.b.c.d.q[x]
              }

              q contains x if {
              	data.g[j][k] = x
              }
      data:
          a:
              - "1"
              - "2"
              - "3"
              - "4"
          g:
              a:
                  - "1"
                  - "0"
                  - "0"
                  - "0"
              b:
                  - "0"
                  - "2"
                  - "0"
                  - "0"
              c:
                  - "0"
                  - "0"
                  - "0"
                  - "4"
      input_term: "{}"
      want_result:
          - x:
                - "1"
                - "2"
                - "4"
      sort_bindings: true
