|
|
|
|
|
by jolux
1928 days ago
|
|
> We should probably model a knowledge graph with a graph database! I realize this seems intuitive, but the relational model has proven itself to be surprisingly flexible in its ability to store multiple different data models efficiently. Similar arguments were made about the suitability of document stores to social networking websites ten years ago, and I think we know how that panned out. > SQL databases are indeed operationally simpler but that's because they have been around for much longer and are more battle-tested. I wouldn't discount the age and battle-testing, though. They're the first choice for data storage for many good reasons. Not least of which is the flexibility and power of the relational model. It's clear that graph query languages are more expressive for graph databases. What's not clear to me is whether there's anything fundamental about that expressiveness, or whether it will eventually be replicated in SQL. Have you tried using recursive CTEs before? |
|
Haven't tried recursive CTEs before, maybe I should dig into it more!