I reckon with a little bit of adaption you could the code from the thread below to look through the unresolved links (aka the uncreated files which are linked to) to filter out those with a given word.
Then again, when Dataview queries for links, it doesn’t care whether it’s created or not, so why can’t you just use a filtered version of file.outlinks
or similar?
Maybe something as simple as:
```dataview
TABLE length(rows) as count
WHERE file.outlinks
FLATTEN filter(file.outlinks, (out) => contains(meta(out).display, "(profession)")) as profLink
GROUP BY profLink
```
This would link all outlinks found in your vault where the link has (profession)
in the link name.