Hi,
I hope this can help you.
To create the graph you could use these query

create class Tag extends v
create property Tag.name String


create class Place extends v
create property Place.name String


insert into Tag set name="tag01"
insert into Tag set name="tag02"
insert into Tag set name="tag03"


insert into Place name='place01'
insert into Place name='place02'
insert into Place name='place03'


create edge e from (select from Tag where name="tag01") to (select from 
Place where name="place01")
create edge e from (select from Tag where name="tag02") to (select from 
Place where name="place01")
create edge e from (select from Tag where name="tag02") to (select from 
Place where name="place02")
create edge e from (select from Tag where name="tag03") to (select from 
Place where name="place02")
create edge e from (select from Tag where name="tag03") to (select from 
Place where name="place03")


<https://lh3.googleusercontent.com/-9DDClFCvhlA/WZbwYQbhnHI/AAAAAAAAAT0/SCYG_V9szgY1SzXeIvGycX6NzpirJI5QwCLcBGAs/s1600/graph.png>


Best regards,

Alessandro



-- 

--- 
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