Hi everyone! I'm interested on this discussion too. I just created a stackoverflow question here: http://stackoverflow.com/questions/21402271/do-having-multiple-labels-for-a-node-in-neo4j-make-any-sense In case you prefer to participate there ;)
Cheers, Pablo On Thu, Aug 29, 2013 at 2:27 PM, hello world <[email protected]>wrote: > The problem I see in your example, and correct me if I´m wrong, there is > no built-in way of distinguishing different sets of properties for > different roles, marked by different labels. So, you'd need some > programming logic to separate it. > What prevents someone to query for Persons and retrieve their salary, > which logically belongs only to an Employee? > > Also, I would even rephrase my post into what's the use of labels anyway, > the way their implemented in Neo4j right now, not just of multiple labels, > since there is no hierarchy between them. > For example, lets say we have labels for basketball, football, hockey > players (and in future we could add new labels). If you could inherit them > all from Player label, you could ask for all players instead of specifying > each specific type. > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedIn http://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j --> http://www.bio4j.com http://www.ohnosequences.com -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
