There's a command `Create Schema From Note Hierarc...
# questions
b
There's a command
Create Schema From Note Hierarchy
that you could try running from the root of your vault: I don't know exactly what kind of results you'd get from this though