Please apologize, I'm new on stackoverflow and completely new to OrientDB. I have the following, simple test-structure in OrientDB: different connected nodes, which have a list of tags as property
I want to show only the part of the graph (nodes with their edges), which have a intersection at the tags. This should be for this example, the highlighted red node and the smooth red once with the edge PRAESENTIERT_BEI.
In Neo4j, it is very easy. You just look for the start-node, traverse over all connections and compare the property with a filter like the following code example:
MATCH (n:ConferenceSerie)
MATCH p = n-[*]-m WHERE FILTER(x IN n.flag WHERE x IN m.flag)
RETURN p
But I have no idea how to handle it on OrientDB. I thought it could be done with TRAVERSE, and the intersect() function, but I have no idea how to compare the property of two nodes.
Is there any chance to create a SQL-query which shows the subgraph?
Thanks in advance.