Book description
Harness the power of Neo4j to perform complex data analysis over the course of 75 easy-to-follow recipes
In Detail
Neo4j is an open source graph database written in Java. Graph databases provide an excellent way to get richer insight into data and lower the bar for entry into the data science world. Starting with a practical and vital introduction to Neo4j and various aspects of Neo4j installation, you will learn how to connect and access Neo4j servers from programming languages such as Java, Python, Ruby, and Scala. You will also learn about Neo4j administration and maintenance before expanding and advancing your knowledge by dealing with large Neo4j installations and optimizing them for both storage and querying.
This is a practical guide full of examples and Neo4j recipes. The recipes are well explained with code samples that are updated for the latest version of Neo4j.
What You Will Learn
- Access the Neo4j graph database from any language of your choice, whether it is Java, Python, Scala, or .Net
- Understand how to migrate data from different types of data stores such as SQL and NoSQL with ease
- Utilize and learn data modeling best practices
- Use and mine social data, whether it be from Facebook, Twitter, or LinkedIn
- Deal with geospatial data and build services such as bounding box queries and nearest point of interest
- Visualize Neo4j graphs by customizing available tools or writing your own tool
- Scale Neo4j with up to billions of nodes and edges
Table of contents
-
Neo4j Cookbook
- Table of Contents
- Neo4j Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Getting Started with Neo4j
- Introduction
- Single node installation of Neo4j over Linux
- Single node installation of Neo4j over Windows
- Single node installation of Neo4j over Mac OS X
- Creating your first graph with Neo4j
- Importing data from the CSV format to Neo4j
- Importing data from RDBMS to Neo4j
- Importing data from the Geoff format to Neo4j
- Importing data from OrientDB to Neo4j
- Importing data from InfiniteGraph to Neo4j
- Importing data from the DEX graph database to Neo4j
- Common configurations of Neo4j
- Running multiple instances of Neo4j over a single machine
- Building Neo4j from the source
-
2. Connecting to Neo4j
- Introduction
- Accessing Neo4j from the command line using the Neo4j shell
- Accessing Neo4j from the command line using curl
- Accessing Neo4j from the Java libraries
- Accessing Neo4j using the Java REST bindings
- Mapping Neo4j to Java-annotated classes using Spring Data Neo4j
- Accessing the embedded Neo4j from Python
- Accessing Neo4j from Python using the REST bindings
- Annotate the Python object model to the Neo4j graph database
- Accessing the embedded Neo4j from Ruby
- Accessing Neo4j from Ruby using the REST Bindings
- Accessing Neo4j from Scala
- Accessing Neo4j from .NET
- Accessing Neo4j from PHP
- Accessing Neo4j from Node.js
-
3. The Cypher Query Language
- Introduction
- Creating your first node and relationship using Cypher
- Querying nodes and relationships using Cypher
- Deleting data from Neo4j using the Cypher query
- Boolean operators with Cypher
- Changing the order of results with Cypher
- Limiting and skipping results with Cypher
- Regular expressions with Cypher
- Aggregation with Cypher
- Combining results with Cypher
- Finding paths in Cypher along with their shortest route
- 4. Data Modeling and Leveraging with Neo4j
- 5. Mining the Social Treasure
-
6. Developing Location-based Services with Neo4j
- Introduction
- Installing the Neo4j Spatial extension
- Importing the Esri shapefiles
- Importing the OpenStreetMap files
- Importing data using the REST API
- Creating a point layer using the REST API
- Finding geometries within the bounding box
- Finding geometries within a distance
- Finding geometries within a distance using Cypher
- 7. Visualization of Graphs
- 8. Industry Usages of Neo4j
- 9. Neo4j Administration and Maintenance
- 10. Scaling Neo4j
- Index
Product information
- Title: Neo4j Cookbook
- Author(s):
- Release date: May 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783287253
You might also like
book
Neo4j in Action
Neo4j in Action is a comprehensive guide to Neo4j, aimed at application developers and software architects. …
book
Practical Neo4j
" Why have developers at places like Facebook and Twitter increasingly turned to graph databases to …
book
Neo4j High Performance
Design, build, and administer scalable graph database systems for your applications using Neo4j Explore the numerous …
book
Learning Neo4j
Run blazingly fast queries on complex graph datasets with the power of the Neo4j graph database …