Do you mean something like this?

MATCH (entity:Entity)-[:LINKS_TO]->(doc:Document)
RETURN doc, collect(entity) as entities 

Michael

> Am 25.04.2015 um 02:38 schrieb Dan <[email protected]>:
> 
> I was wondering if it is possible to generate a single mode graph projection 
> from a bipartite (2-mode) graph via a Cypher query?
> 
> e.g., 
> http://upload.wikimedia.org/wikipedia/commons/f/f9/Bipartite_network_projection.png
> 
> So let's say I have text mining related data such as entities (X) linked to 
> documents (Y) in a neo4j graph database.  And I want a query result set that 
> links X's to X's (for example) based on links to common Y's.  Can such be 
> done via a Cypher query sequence? 
> 
> Thanks, Dan
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to