# 00-maestro.md section 12, example 2, guard output (graphApi TenantCypherGuard, tenants=['acme', '__public__'])
query: "CYPHER 25 MATCH (s:StructureNode WHERE s.tenant_id IN $__scope_tenants)((__scope_n0 WHERE (__scope_n0.tenant_id IN $__scope_tenants OR (__scope_n0.tenant_id IS NULL AND __scope_n0:`CatalogModel`|`EntityLabel`|`ModelField`|`Theme`)))-[:IS_COMPOSED_OF]->(__scope_n1 WHERE (__scope_n1.tenant_id IN $__scope_tenants OR (__scope_n1.tenant_id IS NULL AND __scope_n1:`CatalogModel`|`EntityLabel`|`ModelField`|`Theme`)))){1,3}(c WHERE (c.tenant_id IN $__scope_tenants OR (c.tenant_id IS NULL AND c:`CatalogModel`|`EntityLabel`|`ModelField`|`Theme`))) RETURN s.title, c.title LIMIT 5"
---
Match optional=False
  Path var=None selector=None
    Node var=s labels=(StructureNode) props={} where=(IN (Prop (Var s) tenant_id) (Param __scope_tenants))
    Quantified min=1 max=3
      Node var=__scope_n0 labels=* props={} where=(OR (IN (Prop (Var __scope_n0) tenant_id) (Param __scope_tenants)) (AND (IS NULL (Prop (Var __scope_n0) tenant_id)) (LabelTest (Var __scope_n0) (CatalogModel|EntityLabel|ModelField|Theme))))
      Rel var=__r0 types=(IS_COMPOSED_OF) dir=out props={} where=None
      Node var=__scope_n1 labels=* props={} where=(OR (IN (Prop (Var __scope_n1) tenant_id) (Param __scope_tenants)) (AND (IS NULL (Prop (Var __scope_n1) tenant_id)) (LabelTest (Var __scope_n1) (CatalogModel|EntityLabel|ModelField|Theme))))
    Node var=c labels=* props={} where=(OR (IN (Prop (Var c) tenant_id) (Param __scope_tenants)) (AND (IS NULL (Prop (Var c) tenant_id)) (LabelTest (Var c) (CatalogModel|EntityLabel|ModelField|Theme))))
  where=None
Return distinct=False order=() skip=None limit=(Lit 5)
  s.title = (Prop (Var s) title)
  c.title = (Prop (Var c) title)
