fds=119 119 fds.119 xquery version '3.0'; let $context := doc($db:context) let $howmany := 1000 let $atts := $context//att[(bron/descendant::*/@fonds = 'fds.119')] return <result lem='{count($atts/preceding-sibling::lemma)}' atts='{count($atts)}' shown='{$howmany}'> { for $i in 1 to min(($howmany, count($atts))) let $att := $atts[$i] group by $lem := $att/preceding-sibling::lemma order by $lem/vorm return <entry> {$lem} {$att intersect $atts} </entry> } </result> Alfter Alfter Wie Haaltert? Aluetre 1166 D Sf 1 Alpen Alpen Wie Alfen? Alpheim 1166 D Sf 1 Bulenheim Lendersdorf-Krauthausen Bůlenheim 1196 D Sf 4 Dassel Dassel Dassele 1166 D Sf 1 Heimbach Heimbach Hengebach 1166 D Sf 1 Hermülheim Hürth Můlenheim 1166 D Sf 1 Hochkirchen Hochkirchen Hoinkirchin 1166 D Sf 1 Hochstaden Frimmersdorf Hostaden 1166 D Sf 1 Kenten Bergheim (Erft) Kente 1166 D Sf 1 Limbourg = nl. Limburg Limbourg Limburg 1166 D Sf 1 Lindweiler Lindweiler Luntwilre 1212 D Sf 6 Nörvenich Nörvenich Noruenich 1166 D Sf 1 Saffenburg Mayschoß Saffenberg 1166 D Sf 1 Sayn Bendorf Seina 1166 D Sf 1 Volmarstein Volmarstein Volmůtsteine 1166 D Sf 1 Wolkenburg Königswinter Wolkenburg 1166 D Sf 1