Display a graph of the notes contained in a bookmark folder

Use case or problem

It would be lovely to have the possibility of visualizing all the note contained in a bookmark folder in form of a graph

Proposed solution

Add the possibility to query bookmarks in the search option, something like
bookmark: or [bookmark]

Current workaround (optional)

For the moment I use temporary (project) folders where I put related notes which I’m working on at the moment. Folder can be easily queried in the search and use to display/filter graphs.
It works great, but for several reason I think it would make more sense to do this kind of stuff with bookmarks