[Neo4j] Replacing Node Labels with Existing property values

2016-02-04 Thread John O'Gorman
Hi all In the past I loaded different node classes via individual csv files (class1.csv, class2.csv etc.) Now, since all of initial properties are the same, I want to bulk load (via cvs) about 50K nodes with n:GenericNode label and properties n.string, n.class etc. Then would then like to

Re: [Neo4j] Replacing Node Labels with Existing property values

2016-02-05 Thread John O'Gorman
> > Match (n:GenericLabel) > Where exist(n.foo) > Set n:Foo > Remove n:GenericLabel > > Von meinem iPhone gesendet > > Am 04.02.2016 um 22:22 schrieb John O'Gorman <jogorma...@gmail.com>: > > Hi all > > In the past I loaded different node classes

[Neo4j] Triple-Like 'facts' instead of Hyper-edges ?

2016-03-10 Thread John O'Gorman
I am working with a Neo4J model that uses a finite set of Labels based on the six interrogatives (Who, What, When, Where, Why and How) and on a similarly constrained set of relationships: Is_A, Is_Has, Is_Part_Has, Is_Precedent_Has, Is_Equivalent_Has and Is_Property_Has. Since the nature of

[Neo4j] Re: Triple-Like 'facts' instead of Hyper-edges ?

2016-03-14 Thread John O'Gorman
ZuoFWzu5h-NN7VtygAE0WG97Q/pub?start=false=false=6#slide=id.g58f97b25d_0_280 > [5] > https://docs.google.com/presentation/d/1Aa_JM8YjSOF3A4LPm0ZuoFWzu5h-NN7VtygAE0WG97Q/pub?start=false=false=6#slide=id.g58f97b25d_0_292 > [6] https://github.com/dswarm/dswarm-graph-neo4j > [7] ht

[Neo4j] Re: Triple-Like 'facts' instead of Hyper-edges ?

2016-03-14 Thread John O'Gorman
ph-neo4j > [7] https://github.com/dswarm/dswarm-documentation/wiki/Graph-Data-Model > > > On Saturday, March 12, 2016 at 4:39:45 PM UTC+1, John O'Gorman wrote: >> >> Maybe I can try to clarify my ideas a bit. >> >> When a cluster of nodes is persistent (the same n

[Neo4j] Re: Triple-Like 'facts' instead of Hyper-edges ?

2016-03-15 Thread John O'Gorman
d like to > go this way. Otherwise, I would recommend to revise your model to a more > simple one. > > just my 5p ;-) > > Cheers, > > > Bo > > On Monday, March 14, 2016 at 6:24:27 PM UTC+1, John O'Gorman wrote: > >> Hi Bo - I think you may have put me back

[Neo4j] Re: Triple-Like 'facts' instead of Hyper-edges ?

2016-03-12 Thread John O'Gorman
are potentially reusable I can still connect to them if a design requires it, but creating a relationship to a cluster should be similar to doing a join without knowing what other information is attached. Clear as mud? On Thursday, March 10, 2016 at 12:31:49 PM UTC-7, John O'Gorman wrote

[Neo4j] Re: "view" in cypher?

2016-03-12 Thread John O'Gorman
Long time since this was posted, but I was wondering if any more was done on it. I have similar challenge and reza describes it very well by separating elements from compounds (chemicals). Maybe one way to think of a view is by using the name of the compound 'Methanol' as the aggregate and