Description: Explore a social network with Neo4j’s Twitter data
MATCH (u:User {screen_name: $screenName})<-[r:MENTIONS]-(t:Tweet)-[r2:TAGS]->(h:Hashtag)
RETURN h.name as hashtag
This is for Neo4j version: 4.0
The database is also available on https://demo.neo4jlabs.com:7473
Username "twitter", password: "twitter", database: "twitter"
Rendered guide available via: :play https://guides.neo4j.com/sandbox/twitter/index.html
Unrendered guide: documentation/twitter.neo4j-browser-guide
Load graph data via the following:
-
Drop the file into the
Files
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/twitter-40.dump [--database "database"]
-
Upload the dump file to Neo4j Aura via https://console.neo4j.io/#import-instructions
See /graphql
directory for Node.js GraphQL API server example using @neo4j/graphql