{"id":15176726,"url":"https://github.com/neo4j-graph-examples/contact-tracing","last_synced_at":"2025-07-18T14:37:19.302Z","repository":{"id":37785489,"uuid":"277769946","full_name":"neo4j-graph-examples/contact-tracing","owner":"neo4j-graph-examples","description":"Contact Tracing graph for pandemic spread e.g. COVID-19 based on http://blog.bruggen.com/search/label/contact%20tracing","archived":false,"fork":false,"pushed_at":"2024-10-08T08:26:16.000Z","size":6906,"stargazers_count":5,"open_issues_count":35,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-27T15:07:51.952Z","etag":null,"topics":["contact-tracing","covid-data","covid19","data-science","dataset","example-data","graphdb","healthcare","neo4j","neo4j-approved"],"latest_commit_sha":null,"homepage":"https://sandbox.neo4j.com?usecase=contact-tracing","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-07-07T09:10:39.000Z","updated_at":"2024-07-17T05:51:47.000Z","dependencies_parsed_at":"2024-09-27T13:41:08.180Z","dependency_job_id":"6be8047d-ab4c-46bf-ad52-394e91f1de6b","html_url":"https://github.com/neo4j-graph-examples/contact-tracing","commit_stats":{"total_commits":28,"total_committers":6,"mean_commits":4.666666666666667,"dds":0.5714285714285714,"last_synced_commit":"fa23d24422503c5c317eeb04101f035d100838bb"},"previous_names":["neo4j-graph-examples/contract-tracing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neo4j-graph-examples/contact-tracing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fcontact-tracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fcontact-tracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fcontact-tracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fcontact-tracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-graph-examples","download_url":"https://codeload.github.com/neo4j-graph-examples/contact-tracing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Fcontact-tracing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262279181,"owners_count":23286551,"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":["contact-tracing","covid-data","covid19","data-science","dataset","example-data","graphdb","healthcare","neo4j","neo4j-approved"],"created_at":"2024-09-27T13:41:04.756Z","updated_at":"2025-06-27T15:07:57.909Z","avatar_url":"https://github.com/neo4j-graph-examples.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":":name: contact-tracing\n:long-name: Contact Tracing\n:description: Tracing infections between people based on their contacts\n:icon: documentation/img/tracing.jpg\n:tags: example-data,dataset,covid-data,contact-tracing,healthcare,covid19,data-science\n:author: Rik van Bruggen\n:demodb: false\n:data: false\n:use-load-script: false\n:use-dump-file: data/contact-tracing-40.dump\n:zip-file: false\n:use-plugin: gds\n:target-db-version: 3.5,4.0\n:bloom-perspective: bloom/contact-tracing.bloom-perspective\n:guide: documentation/contact-tracing.neo4j-browser-guide\n:rendered-guide: https://guides.neo4j.com/sandbox/{name}/index.html\n:model: documentation/img/model.png\n:example: documentation/img/example.png\n:nodes: 5615\n:relationships: 15130\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\nNodes {nodes} Relationships {relationships}\n\n.Model\nimage::{model}[]\n\n.Example\nimage::{example}[width=600]\n\n.Example Query:\n[source,cypher,role=query-example,param-name=status,param-value=Sick,result-column=place,expected-result=\"Place nr 1\"]\n----\nMATCH (p:Person {healthstatus:$status})-[v:VISITS]-\u003e(pl:Place)\n WHERE p.confirmedtime \u003c v.starttime\n RETURN distinct pl.name as place LIMIT 20\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==== Zip 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Fcontact-tracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-graph-examples%2Fcontact-tracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Fcontact-tracing/lists"}