Not sure if I understand this right, but is it possible to view the content of all the notes that are linked to a particular note, or some other org-agenda or org-ql-type operation which will construct a buffer containing some set of notes? So for instance, I would like to quickly share all the notes I took on all the references I entered yesterday, or all the references related to topic A. Is this something I can do in a straightforward way, or do I need to write code that will do that for me?
That would return you the list of files related to the topic, and you can also then programatically generate a new Org file using the #+INCLUDE syntax for Org to export all those notes.