Relational databases handle type hierarchies badly. A common workaround is a "type" column in a table, which flattens all subtypes into a single wide row and forces application code to pick which columns apply. Object-oriented code has classes, inheritance but Java struggles with multiple parents. Graph databases have something more profound. The relationship itself carries… Continue reading Inheritance in Graph Databases: How to Model a Type and Its Subtypes
