Cypher query for "Phase 1" grouping of EO's and profiles