Get frontmatter keyname from inlink

What I’m trying to do

how can I get the frontmatter key name (not the value) from an inlink to the current note?

For example:

I’m in file_1.

file_2 has a link to file_1 like:

related:: [[file_1]]

file_5 has also a link to file_1 like:

source:: [[file_1]]

Things I have tried

So, if I set a DQL query like:

FROM [[]]

that shows me a fine table of all the inlinks to file_1
But I would like to have the related frontmatter key name too.

So as


I’ searched this_stuff
and this, but couldn’t find something…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.