Neo4j
下載地址:https://neo4j.com/download-center/
1.下載:Neo4j分社區版(Community Edition)和企業版(Enterprise Edition),社區版本為免費版本。
Default login isusername 'neo4j'andpassword 'neo4j'(full installation instructionsbelow)
Download your free copyof O’Reilly’sGraph Databases
Discover how graph databases can help you manage and query highly connected data — with O’Reilly’s definitive book on Graph Databases.
1. Install Neo4j
2. Open Neo4j Browser
Start Up the Neo4j Browser
Visit:http://localhost:7474/
Once you create a new password for the 'neo4j' user upon visiting the Neo4j Browser the first time, you'll have full access to the Neo4j database.
The Neo4j Browser is a tool for developers to explore their Neo4j database, execute Cypher queries and see results in tabular or graph form. You can even use the Browser to:
Import data
Calluser-defined proceduresin Java
Profile queries, looking at the execution plan withEXPLAINandPROFILE.
3. Explore Sample Datasets
Neo4j Sample Datasets
Explore two sample datasets built into theNeo4j Browserusing the following commands::play movie graph:play northwind graph
Both datasets are easily accessible using the blue "Write Code" button under the "Jump into Code" section of the guides.
Neo4j is used by developers building applications for a wide range of use cases and industries. Graph databases are a great fit for any use case where a relationship-first approach is helpful, including content recommendations, network/IT analysis, fraud detection, Internet of Things(IoT) and more.
Additional datasets
We're working on datasets for a variety of other uses cases. Are you looking for something in particular or have a suggestion? Reach out todevrel@neo4j.com.
4. Download Drivers
You've already seen the Neo4j Browser - which is your developer interface to the Neo4j graph database. Now it's time to write code in your favorite programming language so you can start building your application.
Get the official driversfor Javascript, Java, .NET, and Python
Additionally, the community has built a wide variety ofother driversin languages like PHP, Ruby, Go, Haskell and more.
5. Create Your Data Model
Creating Your First Data Model
Start with a small data model and then build out from there - Neo4j is naturally adaptive, so you can add new node labels, relationships and properties on the fly.
Example Data Models
The developer community has provided example data models and queries for a variety of use cases outlined inNeo4j GraphGists.
Data Import
Do you have some existing data you'd like to import? You can import your data from CSV files using the Cypher'sLOAD CSVcommand. Learn more about import in theNeo4j Developer Manual: Load CSVandImporting CSV Data into Neo4j.
Of course, Neo4j believes in polyglot persistence as well - so we're happy if Neo4j is just one part of your overall architecture and storing your connected data, while your columnar, tabular and document data is stored elsewhere. Learn more about the various types ofdata integrationspossible with Neo4j.
6. Get Help and Training
Training
TakeOnline Training: Introduction to Graph Databases and Neo4j
AttendGraphAcademy Neo4j trainingat a city near you
WatchVideo Series: Intro to Graph Databases
總結
- 上一篇: ***解决PHP输出多余的空格或换行
- 下一篇: 计算机图形学—— 隐藏线和隐藏面的消除(