{"id":22768379,"url":"https://github.com/neo4j-graph-examples/graph-data-science","last_synced_at":"2025-04-15T01:51:02.810Z","repository":{"id":37785842,"uuid":"254418607","full_name":"neo4j-graph-examples/graph-data-science","owner":"neo4j-graph-examples","description":"Leverage Neo4j Graph Data Science library to explore graph algorithms for analytics and feature engineering","archived":false,"fork":false,"pushed_at":"2024-10-08T08:25:48.000Z","size":9048,"stargazers_count":3,"open_issues_count":35,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T13:44:50.411Z","etag":null,"topics":["dataset","example-data","got-data","graph-data-science","graphdb","neo4j","neo4j-approved"],"latest_commit_sha":null,"homepage":"https://sandbox.neo4j.com/?usecase=graph-data-science","language":"Go","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-09T16:06:34.000Z","updated_at":"2024-08-27T09:46:26.000Z","dependencies_parsed_at":"2024-04-18T14:55:21.074Z","dependency_job_id":"2501265a-91e7-427d-837b-b980e07519df","html_url":"https://github.com/neo4j-graph-examples/graph-data-science","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fgraph-data-science","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fgraph-data-science/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fgraph-data-science/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fgraph-data-science/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-graph-examples","download_url":"https://codeload.github.com/neo4j-graph-examples/graph-data-science/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991539,"owners_count":21194894,"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","got-data","graph-data-science","graphdb","neo4j","neo4j-approved"],"created_at":"2024-12-11T14:11:21.517Z","updated_at":"2025-04-15T01:51:02.794Z","avatar_url":"https://github.com/neo4j-graph-examples.png","language":"Go","readme":":name: graph-data-science\r\n:long-name: Graph Data Science\r\n:description: Leverage Neo4j Graph Data Science library to explore graph algorithms for analytics and feature engineering.\r\n:icon: documentation/img/gds-logo.png\r\n:tags: example-data,dataset,got-data,graph-data-science,graph-algorithms,graph-features\r\n:author: William Lyon\r\n:demodb: false\r\n:data: false\r\n:use-load-script: false\r\n:use-dump-file: data/graph-data-science-40.dump\r\n:zip-file: false\r\n:use-plugin: gds\r\n:target-db-version: 3.5,4.0\r\n:bloom-perspective: bloom/graph-data-science.bloom-perspective\r\n:guide: documentation/graph-data-science.neo4j-browser-guide\r\n:rendered-guide: https://guides.neo4j.com/sandbox/graph-data-science/index.html\r\n:model: documentation/img/model.svg\r\n:example: documentation/img/example.svg\r\n:nodes: 2642\r\n:relationships: 16747\r\n\r\n:todo: false\r\nimage::{icon}[width=100]\r\n\r\n== {long-name} Graph Example\r\n\r\nDescription: _{description}_\r\n\r\nifeval::[{todo} != false]\r\nTo Do: {todo}\r\nendif::[]\r\n\r\nNodes {nodes} Relationships {relationships}\r\n\r\n.Model\r\nimage::{model}[]\r\n\r\n.Example\r\nimage::{example}[width=600]\r\n\r\n.Example Query:\r\n[source,cypher,role=query-example,param-name=name,param-value=\"Jaime Lannister\",result-column=person,expected-result=\"Tyrion Lannister\"]\r\n----\r\nMATCH (c:Person{name:$name})-[r:INTERACTS]-\u003e(other)\r\n  RETURN other.name as person\r\n----\r\n\r\n=== Setup\r\n\r\nThis is for Neo4j version: {target-db-version}\r\n\r\nifeval::[{use-plugin} != false]\r\nRequired plugins: {use-plugin}\r\nendif::[]\r\n\r\nifeval::[{demodb} != false]\r\nThe database is also available on https://demo.neo4jlabs.com:7473\r\n\r\nUsername \"{name}\", password: \"{name}\", database: \"{name}\"\r\nendif::[]\r\n\r\nRendered guide available via: `:play {rendered-guide}`\r\n\r\nUnrendered guide: link:{guide}[]\r\n\r\nLoad graph data via the following:\r\n\r\nifeval::[{data} != false]\r\n==== Data files: `{data}`\r\n\r\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].\r\nendif::[]\r\n\r\nifeval::[{use-dump-file} != false]\r\n==== Dump file: `{use-dump-file}`\r\n\r\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.\r\n\r\n* Use the neo4j-admin tool to load data from the command line with the command below.\r\n\r\n[source,shell,subs=attributes]\r\n----\r\nbin/neo4j-admin load --from {use-dump-file} [--database \"database\"]\r\n----\r\n\r\n* Upload the dump file to Neo4j Aura via https://console.neo4j.io/#import-instructions\r\nendif::[]\r\n\r\nifeval::[{use-load-script} != false]\r\n==== Data load script: `{use-load-script}`\r\n\r\n[source,shell,subs=attributes]\r\n----\r\nbin/cypher-shell -u neo4j -p \"password\" -f {use-load-script} [-d \"database\"]\r\n----\r\n\r\nOr import in Neo4j Browser by dragging or pasting the content of {use-load-script}.\r\nendif::[]\r\n\r\nifeval::[{zip-file} != false]\r\n==== Zip file\r\n\r\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^].\r\nendif::[]\r\n\r\n=== Code Examples\r\n\r\n* link:code/javascript/example.js[JavaScript]\r\n* link:code/java/Example.java[Java]\r\n* link:code/csharp/Example.cs[C#]\r\n* link:code/python/example.py[Python]\r\n* link:code/go/example.go[Go]\r\n\r\n=== Feedback\r\n\r\nFeel free to submit issues or pull requests for improvement on this repository.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Fgraph-data-science","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-graph-examples%2Fgraph-data-science","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Fgraph-data-science/lists"}