Hi, I'm new to OrientDB and think it's extremely cool.

Here's a picture of what I'm asking about:



This graph shows:

* Bob likes Star Trek
* Joe likes the fact that Bob likes Star Trek

(The picture was made with the concept mapping software VUE, since I'm not 
yet sure how to display that graph with OrientDB's Studio.  
http://vue.tufts.edu/ )

Starting with a new database, I can add the above data to OrientDB with 
these queries:

create vertex set name="Bob"
create vertex set name="Joe"
create vertex set name="Star Trek"

create edge from #9:0 to #9:2 set name="likes"
create edge from #9:1 to #10:0 set name = "likes"

Is this a good way of doing things?

Or are there any better ways to define relationships like these?

Is it bad to draw an edge from a vertex to another edge?

And, what queries should I use to display the above relationships in the 
OrientDB Studio visual graph?


Thanks for any answers!

Best wishes,
Apollia

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" 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.

Reply via email to