Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Stack Overflow Questions, Answers, Tags, and Comments

NotificationsYou must be signed in to change notification settings

johnstegeman/stackoverflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon

Stack Overflow Questions, Answers, Tags, and Comments Graph Example

Description:Stack Overflow questions, answers, tags, and comments and the relationships between them.

To Do: {todo}

Nodes 6193 Relationships 11540

model
Figure 1. Model
example
Figure 2. Example
Example Query:
:paramtagName=>"neo4j"
MATCH (t:Tag{name:$tagName})<-[:TAGGED]-(q:Question)<-[:ANSWERED]-(a:Answer{is_accepted:true})<-[:PROVIDED]-(u:User)RETURNu.display_nameasanswererLIMIT5

Setup

This is for Neo4j version: 4.0,4.3

Required plugins: apoc

Rendered guide available via::playhttps://guides.neo4j.com/sandbox/stackoverflow

Load graph data via the following:

Dump file:data/stackoverflow-4-3-1.dump

  • Drop the file into theFiles section of a project in Neo4j Desktop. Then choose the option toCreate new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/stackoverflow-4-3-1.dump [--database"database"]

Feedback

Feel free to submit issues or pull requests for improvement on this repository.

About

Stack Overflow Questions, Answers, Tags, and Comments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go30.1%
  • Cypher19.2%
  • Shell18.8%
  • JavaScript11.6%
  • Java8.4%
  • C#7.5%
  • Python4.4%

[8]ページ先頭

©2009-2025 Movatter.jp