Re: [Neo4j] How to create multiple graph in neo4j in single DB

1,526 views
Skip to first unread message

Lasse Westh-Nielsen

unread,
Aug 1, 2012, 6:54:16 AM8/1/12
to ne...@googlegroups.com
Nirbhay,

What is your use case?

If you create two nodes they are independent unless you connect them with a relationship. But there is nothing special about them either, they are just nodes. So what is it you want to do, concretely?

Lasse





On Wed, Aug 1, 2012 at 11:47 AM, Nirbhay Singh <nirbha...@gmail.com> wrote:


Please let me know it will be very helpful for me. Thanks

Nirbhay Singh

unread,
Aug 2, 2012, 12:59:27 AM8/2/12
to ne...@googlegroups.com, la...@neotechnology.com
Nielsen,
Actually i want to create two diff disconnected graph in single db. like one graph could be A->B->C->D like and another could be X->Y-Z something like that both could be any type of graph. Its my business requirement.

Suppose i have diff kinds of process and i want to represent those process in a graph, how can i manage this kind of thing in neo4j.

Thanks

James Thornton

unread,
Aug 2, 2012, 2:58:54 AM8/2/12
to ne...@googlegroups.com, la...@neotechnology.com


On Wednesday, August 1, 2012 11:59:27 PM UTC-5, Nirbhay Singh wrote:
Nielsen,
Actually i want to create two diff disconnected graph in single db. like one graph could be A->B->C->D like and another could be X->Y-Z something like that both could be any type of graph. Its my business requirement. 


- James 

Lasse Westh-Nielsen

unread,
Aug 2, 2012, 4:03:44 AM8/2/12
to ne...@googlegroups.com
Nirbhay,


Lasse

Peter Neubauer

unread,
Aug 2, 2012, 4:47:59 AM8/2/12
to ne...@googlegroups.com
I like that dataset!

Would you mind starting a LOTR setup much like our GoT one at https://gist.github.com/3090321 on github? We then can use that for the console :)

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Wanna learn something new? Come to @graphconnect.

Lasse Westh-Nielsen

unread,
Aug 2, 2012, 4:57:00 AM8/2/12
to ne...@googlegroups.com
On Thu, Aug 2, 2012 at 9:47 AM, Peter Neubauer <peter.n...@neotechnology.com> wrote:
I like that dataset!

Well, it _is_ the year of the Hobbit... :)


Would you mind starting a LOTR setup much like our GoT one at https://gist.github.com/3090321 on github? We then can use that for the console :)

I'll put it in my to-do list.

Lasse


 

Nirbhay

unread,
Aug 3, 2012, 1:20:06 AM8/3/12
to ne...@googlegroups.com, la...@neotechnology.com

Yes, it seems same as i want. is this in same db ? then yes 



On Thursday, August 2, 2012 1:33:44 PM UTC+5:30, Lasse Westh-Nielsen wrote:
Nirbhay,


Lasse




On Thu, Aug 2, 2012 at 5:59 AM, Nirbhay Singh <nirbha...@gmail.com> wrote:
Nielsen,
Actually i want to create two diff disconnected graph in single db. like one graph could be A->B->C->D like and another could be X->Y-Z something like that both could be any type of graph. Its my business requirement.

Suppose i have diff kinds of process and i want to represent those process in a graph, how can i manage this kind of thing in neo4j.

Thanks



On Wednesday, August 1, 2012 4:24:16 PM UTC+5:30, Lasse Westh-Nielsen wrote:
Nirbhay,

What is your use case?

If you create two nodes they are independent unless you connect them with a relationship. But there is nothing special about them either, they are just nodes. So what is it you want to do, concretely?

Lasse





On Wed, Aug 1, 2012 at 11:47 AM, Nirbhay Singh  wrote:


Please let me know it will be very helpful for me. Thanks



On Thursday, August 2, 2012 1:33:44 PM UTC+5:30, Lasse Westh-Nielsen wrote:
Nirbhay,

On Thu, Aug 2, 2012 at 5:59 AM, Nirbhay Singh
Nielsen,

Actually i want to create two diff disconnected graph in single db. like one graph could be A->B->C->D like and another could be X->Y-Z something like that both could be any type of graph. Its my business requirement.

Suppose i have diff kinds of process and i want to represent those process in a graph, how can i manage this kind of thing in neo4j.

Thanks



On Wednesday, August 1, 2012 4:24:16 PM UTC+5:30, Lasse Westh-Nielsen wrote:
Nirbhay,

What is your use case?

If you create two nodes they are independent unless you connect them with a relationship. But there is nothing special about them either, they are just nodes. So what is it you want to do, concretely?

Lasse





On Wed, Aug 1, 2012 at 11:47 AM, Nirbhay Singh  wrote:


Please let me know it will be very helpful for me. Thanks


On Thursday, August 2, 2012 1:33:44 PM UTC+5:30, Lasse Westh-Nielsen wrote:
Nirbhay,

On Thu, Aug 2, 2012 at 5:59 AM, Nirbhay Singh
Nielsen,

Alan Robertson

unread,
Aug 3, 2012, 1:43:22 AM8/3/12
to ne...@googlegroups.com
On 08/02/2012 11:20 PM, Nirbhay wrote:
>
> Yes, it seems same as i want. is this in same db ? then yes

In Neo4j nodes are unrelated unless you go out of your way to relate them...

So, having them be connected is more like the exception than it is like
the rule...

It's more interesting when there are relationships - but none are
necessary, and certainly not everything is related.


--
Alan Robertson <al...@unix.sh> - @OSSAlanR

"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce

Peter Neubauer

unread,
Aug 3, 2012, 1:45:20 AM8/3/12
to ne...@googlegroups.com, la...@neotechnology.com

Yup,
This is the same db.

/peter

Send from mobile.

Reply all
Reply to author
Forward
0 new messages