Forum Posts

Getting a subgraph from a big graph

Hi folks,I am attempting to get a subgraph and graph data(as '.txt 'or other formats) from a big graphApproach 1: Randomly sample all nodes types from the large graph   MATCH (source: Node)-[r*..]-(target: Node) WHERE source.name<>target.name WITH so...

create relationships from csv with distinct node

Hello, I have a CSV file as below:node01,relationship,node02 A_01,B_dependency,B_01 A_02,B_dependency,B_02 A_03,A_dependency,A_01 A_03,A_dependency,A_02 A_04,B_dependency,B_04I hope the graphe like below:001       My cypher code :  :auto USING PERIOD...

001.png 002.png

Pregel: Store Messages in Nodes

Hi everyone,I am currently trying to write a procedure using the Pregel-API, where I would like to use the compute-method, to store each of the incoming messages for a node. However, I am kind of struggling with the Messages-object right now. The pro...

Resolved! how to find relationships with distinct node

I have write this query (I'm using Movie DBMS) MATCH (p) WITH labels(p) as label, count(*) as nCount with collect({label:label, count: nCount}) as nodes call{ MATCH ()-[relationship]->() with type(relationship) as r, COUNT(relationship) as rCount ord...

Label Propagation - Parallel Heuristics

Hey! I'm investigating the label propagation algorithm as implemented in Neo4J's graph data science library. I think it's notable that it's possible to set concurrency parameters, even though the original (Raghavan et al.) paper on Label propagation ...

geo by Node
  • 52 Views
  • 2 replies
  • 0 kudos

Resolved! Count the number of duplicates in result

Hello community,I am new to neo4j and I'm trying to get a list of nodes (that has not a specific relation) and count node name duplicates.Query:MATCH (e:ExampleNode) WHERE NOT exists((e)-[:EXAMPLE_REL]->()) RETURN e.name as name, count(e.name) as cou...

Modeling and querying package dependency trees

Dear Community,we are Connor and Daniel, Software Engineers at Anaconda, and we are currently looking at neo4j to represent our package meta data to answer questions like:What packages are available for python X on platform Y but not on platform Z?Wh...

Untitled graph.png