Import Stackoverflow into Neo4j

Download the Stackoverflow Archives https://archive.org/details/stackexchangedownloadstackoverflow.com-Badges.7zstackoverflow.com-Comments.7zstackoverflow.com-PostHistory.7zstackoverflow.com-PostLinks.7zstackoverflow.com-Posts.7zstackoverflow.com-Tags.7zstackoverflow.com-Users.7zstackoverflow.com-Votes.7z Install p7zip brew install p7zip Unzip the Posts, Users and Tags 7za -y -oextracted x *Users.7z7za -y -oextracted x *Tags.7z7za -y -oextracted x *Posts.7z Review the Extracted XML files Users.xml - 3.53GBTags.xml - 5MBPosts.xml - 74GB Clone stackoverflow-neo4j git clone https://github.com/mdamien/stackoverflow-neo4j Install Python brew install python3sudo pip3 install xmltodict Extract... Continue Reading →

Neo4j – Integrate Graphileon

Create a Neo4j Graph complete the steps in Neo4j - First Stepsleave your GraphDB instance running Determine the Connection Credentials Enter :server status into the URL Box of Neo4j Desktop Enter :server status into the URL Box of Neo4j Desktop Install Graphileon Download Graphileon from https://graphileon.comInstall GraphileonRun Graphileon Configure Graphileon enter all the connection properties... Continue Reading →

Neo4j – First Steps

Install and Run Neo4j Desktop https://neo4j.com/download/ https://neo4j.com/download/ Download Neo4j Desktop (https://neo4j.com/download/)install the downloaded filerun the Neo4j Desktop app Create your First Project Add a Graph Click Add Graphclick Create a Local GraphName your GraphSet a PasswordClick Create Start your Graph Click Start Launch the Neo4j Browser Click Neo4j Browser Create your first Nodes always work... Continue Reading →

Neo4j – Match Queries

MATCH (n:Materials) RETURN n MATCH (n:Materials)OPTIONAL MATCH (n)--(m)RETURN n,m LIMIT 20   MATCH (n:Materials) OPTIONAL MATCH (n)--(m) OPTIONAL MATCH (m)--(o) RETURN n,m,o LIMIT 20 MATCH path=(:Materials) RETURN path MATCH path=(:Materials)-->( ) RETURN path MATCH path=(:Materials)-->(:Category) RETURN path MATCH path=(:Materials)-[*..1]->() RETURN path MATCH path=(:Materials)-[*..2]->() RETURN path MATCH path=(:Materials)-[*]->() RETURN path

Up ↑

%d bloggers like this: