I was mostly referring to the fact that filesystem kind of enforces hierarchy, so you have it even if you dislike it. When I'm sorting out the mess that is my hard drive I defenitely value information about hierarchy overlap (due to (incomplete) copies), but I still have not found a tool that would help me an I can't imagine a query language that would be helpful.