SocioPatterns / neo4j-dynagraph

Representing and mining dynamical social networks in Neo4j
115 stars 14 forks source link

neo4j / gexf time dependent graphs: what about Gremlins #2

Open seinecle opened 11 years ago

seinecle commented 11 years ago

Hi, Just a question, I wondered if using Gremlin (https://github.com/tinkerpop/gremlin/wiki) instead of Cypher would change anything to this use case - in terms of clarity / ease of use of the query, and maybe in terms of performance even (if the syntax of Gremlin leads to a different logic in the query).

Best,

Clement

ccattuto commented 11 years ago

Hi Clement, thanks for your comments. We did try to rewrite a couple of those queries in Gremlin, and we obtained execution times comparable to those of the Cypher queries. The declarative form of Cypher allows to write new relevant queries with very little effort and without knowledge of traversers. However, we didn't perform an extensive comparison of the two approaches. We would be very happy to integrate tests and results based on Gremlin. Best, Ciro