Hi, 
is it possible, using OSQL, to match the following structure in the graph ?



<https://lh3.googleusercontent.com/-lwVp80XvChw/VxkQWJyCdfI/AAAAAAAAAH8/EoAoknrbzhUGkyQx0o1uqdXM6_Jw4gWuwCLcB/s1600/untitled2.png>















So basically, I want a node going to 2 other nodes B and C such that those 
two last nodes are connected.

For now, I have used Gremlin to accomplish this

List<Row> list = new GremlinPipeline<Object, 
Object>(graphDb.getVertices("Person.name", 1)).as("a")
.out().except("a").as("b") 
.out().except("a").except("b").as("c").out().retain("b").back("c").in().retain("a").select().toList();


-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to