I'm back, we tried to reconstruct the query, try this if that is what you need ..
back vertex Abstract that are connected to NormalizedNamedEntity with a uuid = "DBA002026" and uuid = "NO000357" select expand($c) let $a = (select expand(in('uima_annotated')) from (select from NormalizedNamedEntity where uuid = "DBA002026")), $b = (select expand(in('uima_annotated')) from (select from NormalizedNamedEntity where uuid = "NO000357") ), $c = intersect( $a, $b) this is the result (elapse time for query: 0.441 sec) <https://lh3.googleusercontent.com/-qlf1TZBPZ0s/VcNoIfxfM5I/AAAAAAAAAGI/Y_GcZl0S3Lk/s1600/Schermata%2Bda%2B2015-08-06%2B15%253A55%253A34.png> this is the result you were looking for? Regards, Savio L. -- --- 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.