Dataview works with metadata, not with the full content.
There’re ways to using js inside dataviewjs… but it involves a complex search and technically a hard process (says a dumb in js).
Using dataview in regular way you only achieve that if you place that lines with the link as a bullet list.
Something like:
- This is just a sentence about nothing.
- This is another one but with a [[link]] to a file in my vault.
Then you can query the lists with [[link]] in the text and see all the content of these specific lists.