Neo4j 2.0: Creating adjacency matrices by Mark Needham.
From the post:
About 9 months ago I wrote a blog post showing how to export an adjacency matrix from a Neo4j 1.9 database using the cypher query language and I thought it deserves an update to use 2.0 syntax.
I’ve been spending some of my free time working on an application that runs on top of meetup.com’s API and one of the queries I wanted to write was to find the common members between 2 meetup groups.
The first part of this query is a cartesian product of the groups we want to consider which will give us the combinations of pairs of groups:
I can imagine several interesting uses for the adjacency matrices that Mark describes.
One of which is common membership in groups as the post outlines.
Another would be a common property or sharing a value within a range.
Yes?