---
cases:
  - note: "eqexpr/ground: ref 4"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	data.c[0].x[1] = data.c[0].z.q
        }
    data:
      c:
        - "true":
            - null
            - 3.1415
          x:
            - true
            - false
            - foo
          z:
            p: true
            q: false
    want_result:
      - x: true
