Porting org-tags-view to org-roam

I have implemented a function to find nodes using #+filetags:. Currently it is limited to a single tag, and I suspect I might be reinventing the wheel. On the other hand, org-tags-view allows users to combine multiple tags using logical AND/OR operators. In short my goal is port org-tags-view to org-roam. Any insight?