Neo4j 如何将此密码查询转换为OrientDB SQL

Neo4j 如何将此密码查询转换为OrientDB SQL,neo4j,cypher,orientdb,orientdb3.0,Neo4j,Cypher,Orientdb,Orientdb3.0,具有以下密码查询: MERGE (r:Root) MERGE (r)<-[:N]-(n1:T {id: 'a'}) SET n1.description = 'd1' WITH r,n1 MERGE (n1)<-[:N]-(n2:T {id: 'b'}) SET n2.description = 'd2' WITH r,n2 MERGE (n2)<-[:N]-(n3:T {id: 'c'}) SET n3.description = 'd3' MERGE(r

具有以下密码查询:

 MERGE (r:Root)
 MERGE (r)<-[:N]-(n1:T {id: 'a'})
 SET n1.description = 'd1'
 WITH r,n1
 MERGE (n1)<-[:N]-(n2:T {id: 'b'})
 SET n2.description = 'd2'
 WITH r,n2
 MERGE (n2)<-[:N]-(n3:T {id: 'c'})
 SET n3.description = 'd3'
MERGE(r:Root)
合并(r)