{"id":20513333,"url":"https://github.com/neo4j-graph-examples/northwind","last_synced_at":"2025-04-13T23:46:22.377Z","repository":{"id":37785659,"uuid":"259882335","full_name":"neo4j-graph-examples/northwind","owner":"neo4j-graph-examples","description":"From RDBMS to Graph, using a classic dataset","archived":false,"fork":false,"pushed_at":"2024-10-08T08:26:00.000Z","size":1871,"stargazers_count":24,"open_issues_count":27,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T13:51:22.773Z","etag":null,"topics":["dataset","example-data","graphdb","neo4j","neo4j-approved","northwind","retail-data"],"latest_commit_sha":null,"homepage":"","language":"Cypher","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neo4j-graph-examples.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-29T09:31:00.000Z","updated_at":"2025-03-27T10:56:52.000Z","dependencies_parsed_at":"2024-04-17T01:33:44.056Z","dependency_job_id":"f1df733a-a695-4e48-bff9-910df00665de","html_url":"https://github.com/neo4j-graph-examples/northwind","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fnorthwind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fnorthwind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fnorthwind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fnorthwind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-graph-examples","download_url":"https://codeload.github.com/neo4j-graph-examples/northwind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799695,"owners_count":21163398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dataset","example-data","graphdb","neo4j","neo4j-approved","northwind","retail-data"],"created_at":"2024-11-15T21:10:13.544Z","updated_at":"2025-04-13T23:46:22.346Z","avatar_url":"https://github.com/neo4j-graph-examples.png","language":"Cypher","funding_links":[],"categories":[],"sub_categories":[],"readme":":name: northwind\n:long-name: Northwind\n:description: From RDBMS to Graph, using a classic retail dataset\n:icon: documentation/img/northwind-logo.jpg\n:tags: example-data, dataset, retail-data, retail,recommendations,northwind\n:author: Andreas Kollegger\n:demodb: true\n:data: import/*.csv\n:use-load-script: scripts/northwind.cypher\n:use-dump-file: data/northwind-40.dump\n:zip-file: false\n:use-plugin: false\n:target-db-version: 3.5,4.0\n:bloom-perspective: bloom/northwind.bloom-perspective\n:guide: documentation/northwind.neo4j-browser-guide\n:rendered-guide: https://guides.neo4j.com/{name}/index.html\n:model: documentation/img/model.svg\n:example: documentation/img/example.svg\n\n:todo: false\nimage::{icon}[width=100]\n\n== {long-name} Graph Example\n\nDescription: _{description}_\n\nifeval::[{todo} != false]\nTo Do: {todo}\nendif::[]\n\n.Model\nimage::{model}[]\n\n.Example\nimage::{example}[width=600]\n\n.Example Query:\n[source,cypher,role=query-example,param-name=category,param-value=\"Dairy Products\",result-column=product,expected-result=Geitost]\n----\nMATCH (p:Product)-[:PART_OF]-\u003e(:Category)-[:PARENT*0..]-\u003e\n(:Category {categoryName:$category})\n RETURN p.productName as product\n----\n\n=== Setup\n\nThis is for Neo4j version: {target-db-version}\n\nifeval::[{use-plugin} != false]\nRequired plugins: {use-plugin}\nendif::[]\n\nifeval::[{demodb} != false]\nThe database is also available on https://demo.neo4jlabs.com:7473\n\nUsername \"{name}\", password: \"{name}\", database: \"{name}\"\nendif::[]\n\nRendered guide available via: `:play {rendered-guide}`\n\nUnrendered guide: link:{guide}[]\n\nLoad graph data via the following:\n\nifeval::[{data} != false]\n==== Data files: `{data}`\n\nImport flat files (csv, json, etc) using Cypher's https://neo4j.com/docs/cypher-manual/current/clauses/load-csv/[`LOAD CSV`], https://neo4j.com/labs/apoc/[APOC library], or https://neo4j.com/developer/data-import/[other methods].\nendif::[]\n\nifeval::[{use-dump-file} != false]\n==== Dump file: `{use-dump-file}`\n\n* Drop the file into the `Files` section of a project in Neo4j Desktop. Then choose the option to `Create new DBMS from dump` option from the file options.\n\n* Use the neo4j-admin tool to load data from the command line with the command below.\n\n[source,shell,subs=attributes]\n----\nbin/neo4j-admin load --from {use-dump-file} [--database \"database\"]\n----\n\n* Upload the dump file to Neo4j Aura via https://console.neo4j.io/#import-instructions\nendif::[]\n\nifeval::[{use-load-script} != false]\n==== Data load script: `{use-load-script}`\n\n[source,shell,subs=attributes]\n----\nbin/cypher-shell -u neo4j -p \"password\" -f {use-load-script} [-d \"database\"]\n----\n\nOr import in Neo4j Browser by dragging or pasting the content of {use-load-script}.\nendif::[]\n\nifeval::[{zip-file} != false]\n==== Zipe file\n\nDownload the zip file link:{repo}/raw/master/{name}.zip[{name}.zip] and add it as \"project from file\" to https://neo4j.com/developer/neo4j-desktop[Neo4j Desktop^].\nendif::[]\n\n=== Code Examples\n\n* link:code/javascript/example.js[JavaScript]\n* link:code/java/Example.java[Java]\n* link:code/csharp/Example.cs[C#]\n* link:code/python/example.py[Python]\n* link:code/go/example.go[Go]\n\n=== Feedback\n\nFeel free to submit issues or pull requests for improvement on this repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Fnorthwind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-graph-examples%2Fnorthwind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Fnorthwind/lists"}