It looks like I found a way out (where to dig)
You need to extract the path from each link, and then you can extract the metadata via dv.page (I found the solution here - DataviewJS Snippet Showcase - #135 by OllieT)
//dv.el("p", dv.current().file.inlinks)
dv.el("p", dv.page(dv.current().file.inlinks[1].path).file)