for $p in collection("sortie-udpipe-3208.txt.xml")//p for $item in $p/item let $sonfere := $item/following-sibling::item[1] let $sonfere2 := $item/following-sibling::item[2] let $sonfere3 := $item/following-sibling::item[3] where $item/a[4] = "DET" and $sonfere/a[4] = "NOUN" and $sonfere2/a[4] = "ADP"and $sonfere3/a[4] = "NOUN" return concat($item/a[2],' ',$sonfere/a[2],' ', $sonfere2/a[2],' ', $sonfere3/a[2])