# 02-ir-expresiones.md WP4 point 3 (ir_debug example)
query: "MATCH (d:Document)-[:HAS_STRUCTURE]->(s) WHERE s.title CONTAINS $q RETURN d.name AS doc, count(s) AS n"
---
Match optional=False
  Path var=None selector=None
    Node var=d labels=(Document) props={} where=None
    Rel var=__r0 types=(HAS_STRUCTURE) dir=out props={} where=None
    Node var=s labels=* props={} where=None
  where=(CONTAINS (Prop (Var s) title) (Param q))
Return distinct=False order=() skip=None limit=None
  doc = (Prop (Var d) name)
  n = (Func count (Var s))
