Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
** xref:appendix/graphdb-concepts/index.adoc[Graph database concepts]
*** xref:appendix/graphdb-concepts/graphdb-vs-rdbms.adoc[]
*** xref:appendix/graphdb-concepts/graphdb-vs-nosql.adoc[]
* xref:cypher.adoc[What is Cypher]
** xref:cypher-intro/cypher-sql.adoc[]
** xref:cypher-intro/patterns.adoc[]
** xref:cypher-intro/patterns-in-practice.adoc[]
** xref:cypher-intro/results.adoc[]
** xref:cypher-intro/updating.adoc[]
** xref:cypher-intro/large-statements.adoc[]
** xref:cypher-intro/subqueries.adoc[]
** xref:cypher-intro/schema.adoc[]
** xref:cypher-intro/dates-datetimes-durations.adoc[]
** xref:cypher-intro/procedures-functions.adoc[]
** xref:cypher-intro/load-csv.adoc[]
** xref:cypher-intro/resources.adoc[]
* xref:cypher/index.adoc[What is Cypher]
** xref:cypher/intro-tutorial.adoc[Get started with Cypher]
** xref:cypher/cypher-sql.adoc[]
** xref:cypher/patterns.adoc[]
** xref:cypher/patterns-in-practice.adoc[]
** xref:cypher/results.adoc[]
** xref:cypher/updating.adoc[]
** xref:cypher/large-statements.adoc[]
** xref:cypher/subqueries.adoc[]
** xref:cypher/schema.adoc[]
** xref:cypher/dates-datetimes-durations.adoc[]
** xref:cypher/procedures-functions.adoc[]
** xref:cypher/resources.adoc[]

* *Work with data*

Expand Down Expand Up @@ -60,7 +60,6 @@

* xref:appendix/example-data.adoc[Example datasets]
* xref:appendix/tutorials/tutorials-overview.adoc[Tutorials]
** xref:appendix/tutorials/guide-cypher-basics.adoc[Get started with Cypher]
** xref:appendix/tutorials/guide-build-a-recommendation-engine.adoc[Cypher recommendation engine]
** xref:appendix/tutorials/guide-import-relational-and-etl.adoc[Import data from a relational database into Neo4j]
** xref:data-import/import-relational-and-etl.adoc[Import data from a relational database into Neo4j]
* xref:appendix/getting-started-resources.adoc[Resources]
46 changes: 46 additions & 0 deletions modules/ROOT/images/ kevin-three-jumps.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed modules/ROOT/images/AfterLoadMovieGraph.png
Binary file not shown.
Binary file removed modules/ROOT/images/CloudAtlasRelationships.png
Binary file not shown.
Binary file removed modules/ROOT/images/EnableMultiStatement.png
Binary file not shown.
Binary file removed modules/ROOT/images/KevinBaconToMegRyan.png
Binary file not shown.
Binary file removed modules/ROOT/images/TomsCoActors.png
Binary file not shown.
Binary file removed modules/ROOT/images/TomsCoActorsTable.png
Binary file not shown.
Binary file removed modules/ROOT/images/findCloudAtlas.png
Binary file not shown.
Binary file removed modules/ROOT/images/findCloudAtlasTable.png
Binary file not shown.
Binary file removed modules/ROOT/images/findNinetiesMovies.png
Binary file not shown.
Binary file removed modules/ROOT/images/findTenPeople.png
Binary file not shown.
Binary file removed modules/ROOT/images/findTom.png
Binary file not shown.
Binary file removed modules/ROOT/images/findTomHanksMovies.png
Binary file not shown.
Binary file removed modules/ROOT/images/findTomHanksMoviesTable.png
Binary file not shown.
Binary file removed modules/ROOT/images/findTomTable.png
Binary file not shown.
46 changes: 46 additions & 0 deletions modules/ROOT/images/kevinthreehops.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 100 additions & 0 deletions modules/ROOT/images/kevinthreehopsrel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions modules/ROOT/images/kevintomeg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
191 changes: 191 additions & 0 deletions modules/ROOT/images/tomhankscoactors.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions modules/ROOT/images/tomhanksmovies.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/ROOT/pages/appendix/getting-started-resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To help you along your path of learning more about Neo4j, we want to provide you
== Cypher Query Language
* https://neo4j.com/product/cypher-graph-query-language/[Cypher Query Language^]
* https://neo4j.com/docs/cypher-cheat-sheet/current/[Cypher Cheat Sheet^]
* xref:cypher-intro/cypher-sql.adoc[From SQL to Cypher]
* xref:cypher/cypher-sql.adoc[From SQL to Cypher]

[#nosql-graph-resources]
== Graph for NoSQL developers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:description: This page explores the conceptual differences between relational and graph database structures and data models.

This page explores the conceptual differences between relational and graph database structures and data models.
For a comparison between query languages, see xref:cypher-intro/cypher-sql.adoc[Comparing Cypher with SQL].
For a comparison between query languages, see xref:cypher/cypher-sql.adoc[Comparing Cypher with SQL].

[#relational-vs-graph]
== Relational database overview
Expand Down Expand Up @@ -32,7 +32,7 @@ Unlike other database management systems, relationships are of equal importance
This means you are not required to infer connections between entities using special properties such as foreign keys or out-of-band processing like map-reduce.

By assembling nodes and relationships into connected structures, graph databases enable building models that map closely to a problem domain.
With Cypher's xref:cypher-intro/cypher-sql.adoc[equivalent of a `JOIN` operation], the graph database can directly access the connected nodes and eliminate the need for expensive search-and-match computations.
With Cypher's xref:cypher/cypher-sql.adoc[equivalent of a `JOIN` operation], the graph database can directly access the connected nodes and eliminate the need for expensive search-and-match computations.

This ability to pre-materialize relationships into the database structure allows Neo4j to provide improved performance compared to others, especially for join-heavy queries.

Expand Down Expand Up @@ -76,13 +76,13 @@ If you want to learn how to create a data model, follow the xref:data-modeling/t
== Data storage and retrieval

SQL is a query language used to query relational databases.
xref:cypher.adoc[Cypher] is Neo4j’s declarative query language built on the basic concepts and clauses of SQL, but with additional functionalities that make working with graph databases more efficient.
xref:cypher/index.adoc[Cypher] is Neo4j’s declarative query language built on the basic concepts and clauses of SQL, but with additional functionalities that make working with graph databases more efficient.

For example, when writing an SQL statement with a large number of `JOIN` s, you can quickly lose sight of what the query actually does, since there is a lot of technical noise in SQL syntax.
In Cypher, the syntax remains concise and focused on domain components and their connections, thus expressing the pattern to find or create data more visually and clearly.

Other clauses outside of the basic pattern matching still look very similar to SQL, as Cypher was built on the predecessor language’s foundation.
You can see the similarities and differences xref:/cypher-intro/cypher-sql.adoc[Comparing Cypher with SQL].
You can see the similarities and differences xref:/cypher/cypher-sql.adoc[Comparing Cypher with SQL].

== Keep learning

Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/appendix/graphdb-concepts/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,15 @@ Indexes and constraints can be introduced when desired, in order to gain perform
== Indexes

Indexes are used to increase performance.
To see examples of how to work with indexes, see xref::/cypher-intro/schema.adoc#cypher-intro-indexes[Using indexes].
To see examples of how to work with indexes, see xref::/cypher/schema.adoc#cypher-intro-indexes[Using indexes].
For detailed descriptions of how to work with indexes in Cypher, see link:{neo4j-docs-base-uri}/cypher-manual/current/indexes-for-search-performance/[Cypher Manual -> Indexes].


[[graphdb-constraints]]
== Constraints

Constraints are used to make sure that the data adheres to the rules of the domain.
To see examples of how to work with constraints, see xref::/cypher-intro/schema.adoc#cypher-intro-constraints[Using constraints].
To see examples of how to work with constraints, see xref::/cypher/schema.adoc#cypher-intro-constraints[Using constraints].
For detailed descriptions of how to work with constraints in Cypher, see the link:{neo4j-docs-base-uri}/cypher-manual/current/constraints[Cypher manual -> Constraints].


Expand Down
Loading