Hi Aditya,
Thanks for your question.
You can hide them from "Attributes View" facet but not from relationship facet.
For attribute view facet , update the "excludeUris" section with specific attributes
Please refer to attached screenshot.
------------------------------
Abhradeep Sengupta
------------------------------