# 00-maestro.md section 12, example 1, guard output (graphApi TenantCypherGuard, tenants=['acme', '__public__'])
query: "CYPHER 25 MATCH (d:Document {latest: true} WHERE d.tenant_id IN $__scope_tenants)-[:HAS_STRUCTURE]->(s:StructureNode WHERE s.tenant_id IN $__scope_tenants)\nWHERE s.title CONTAINS $__scope_s0\nRETURN d.name AS doc, count(s) AS n ORDER BY n DESC LIMIT 10"
---
Match optional=False
  Path var=None selector=None
    Node var=d labels=(Document) props={latest: (Lit true)} where=(IN (Prop (Var d) tenant_id) (Param __scope_tenants))
    Rel var=__r0 types=(HAS_STRUCTURE) dir=out props={} where=None
    Node var=s labels=(StructureNode) props={} where=(IN (Prop (Var s) tenant_id) (Param __scope_tenants))
  where=(CONTAINS (Prop (Var s) title) (Param __scope_s0))
Return distinct=False order=((Var n) DESC) skip=None limit=(Lit 10)
  doc = (Prop (Var d) name)
  n = (Func count (Var s))
