Query the Unique List of tags for a given page

Could anyone help me understand how to output the unique list of all the tags (#tag) for a given [[page]] in a query?

For example, for the following scenario, I would like #tag/journaling and #tag/logseq to appear as clickable pages in my query results for the [[productivity]] page (a single time, without the content of the respective blocks they tag).

Screenshot from 2022-12-11 15-48-37