gem=Zell Zell Zell xquery version '3.0'; let $context := doc($db:context) let $howmany := 1000 let $lemmata := $context//lemma[geo//gem[matches(.,'^Zell$','i')]] return <result lem='{count($lemmata)}' atts='{count($lemmata/following-sibling::att)}' shown='{$howmany}'> { for $i in 1 to min(($howmany, count($lemmata))) let $lem := $lemmata[$i] order by $lem/vorm return <entry> {$lem} {$lem/following-sibling::att} </entry> } </result> Cramunt Kaimt Zell Cramunt ± 1220 Kb 211/149 Fores Kaimt Zell in Fores ± 1220 Kb 211/149 Frusta Kaimt Zell in Frusta ± 1220 Kb 211/149 Grindele unb. ± Kaimt Zell Grindele 1213 Kb 96/78 Koray Zell Curei (1016-47) Kb 1 D 6 Curha 1136 Kb 1 D 16 Marienburg Zell castrum sanctę Marię 1145 Tr P 18 Meschirs Kaimt Zell Meschirs ± 1220 Kb 211/149 Petersberg Zell in monte sancti Petri 1143 Kb 180/6 in monte sancti Petri 1156 Hg E in monte sancti Petri (1190-1212) Kb 181/8 Punscal Kaimt Zell Punscal ± 1220 Kb 211/149 Rivers Kaimt Zell Riuers ± 1220 Kb 211/149 Tecta Kaimt Zell Cf. Theux supra Tecta ± 1220 Kb 211/149 Zell Zell Cella 11. Kb 143/6 Cella 1143 Kb 180/6 Zelle 1179 Kb 181/5