select * from ( match (x:mtx) -[:mtx_mtz]-> (z:mtz) return x.id, z.id, x.xprom, z.zprom ) /** output() **/ ;