let $m as map := tm:/music/opera/
forall @operas [ * is-a opera ] in $m
return
    standard:statistics * @operas
  • the opera map is loaded into $m
  • all opera topics (ALL) are matched in a SINGLE match
  • @operas contains all necessary (c)maplets to represent all opera topics, this forms a map
  • the result is the outcome when this map of opera topics is subjected to the predefined query standard:statistics