I meant labels of nodes. Say, I have crime data where each incident is labeled based on crime type. Here each incident is a node.
I want to find cliques in the graph of size-3,size-4, size-5 ...size-n such that each of the nodes in clique has different label (In case of above example, I need to find cliques such that each node is a crime incident of different crime type) On Saturday, 23 August 2014 20:02:17 UTC+5:30, Mohana Krishna wrote: > > 1) Does Neo4j allow undirected edges between two nodes? If so, what is > syntax? > > 2) I want to query my graph db to find cliques of fixed size but each node > in the clique is of different class. > > Eg: If there are nodes of three classes say A,B,C,D in graph db, I wish to > find all size-3 cliques and size-4 cliques such that each of nodes in a > given clique belong to different classes. > > I was not able to formulate query precisely. What is the *efficient way* > of querying this? > > > Somebody please help. Thanks. > -- 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/d/optout.
