I have been looking for note taking apps and shorted listed Joplin and Trilium [1].
I'm currently experimenting with Trilium since couple of days. While it looks complex at first, it seems to have a lot of extensibility which might make it "future proof" for extensive data.
So far it looks good.