Replies: 6 comments 10 replies
-
+1 on multiple labels for nodes and edges/relationships could be pretty handy e.g. for
|
Beta Was this translation helpful? Give feedback.
-
Hi All, Unfortunately, we don't have good ideas here, and this is not in our roadmap. I have always found the multi-label decision of the original property graphs not well-thought. If we were to support multiple labels, I would want to think about how to support a general type hierarchy. However, any system that supports general type hierarchies is losing in performance and we are trying not to sacrifice that. I have not seen a good approach (going back to object-oriented dbmss of 90s) that supported type hierarchies in a performant way. To set the expectations correctly though, even if we support that, it won't happen quickly. I think encoding the labels somehow as a List[String/INT] property is one manual approach of course but I understand that's far from ideal. If you have other manual approaches, it would be good to share with others in the community. @mnsRG: When you say "recommended way to load RDF data", I assume you mean Kuzu's RDFGraphs feature. |
Beta Was this translation helpful? Give feedback.
-
maybe of interest, this is a topic not that uncommon, as one might think. |
Beta Was this translation helpful? Give feedback.
-
just another idea on this, terminusdb (different graph db type: git like full history/immutable, no cypher) also support multiple labels in a somehow different way and is even with this feature-set faster than neo4j in several queries...
Creating hierarchies at https://terminusdb.com/blog/graph-databases-terminusdb-vs-neo4j/ |
Beta Was this translation helpful? Give feedback.
-
what do you think of converting this to an issue, type feature request? |
Beta Was this translation helpful? Give feedback.
-
if you are interested on this, plz comment /ad +1 in #3117 |
Beta Was this translation helpful? Give feedback.
-
Hello, I was wondering if there is any plan to support multiple labels per Node. I am mainly dealing with RDF (and RDF-star) data and many nodes come with inferred types (eg a 'Desk' is also a 'Furniture'). Therefore, I would like to include all of them (not necessarily by keeping their hierarchies - flat is fine, which is how Neo4j handles it more or less). Then, when I ask for all the 'Furniture' in my database, I also get the 'Desk' nodes.
Btw, I am not using the recommended way to load RDF data, because it is important that the schema of the database reflects its actual structure, as this provides the context for an LLM that translates natural language to cypher queries.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions