{"id":22768407,"url":"https://github.com/neo4j-graph-examples/fincen","last_synced_at":"2025-04-15T01:51:20.878Z","repository":{"id":37785525,"uuid":"311311723","full_name":"neo4j-graph-examples/fincen","owner":"neo4j-graph-examples","description":"Exploring the FinCEN Files Investigation in Neo4j","archived":false,"fork":false,"pushed_at":"2024-10-08T08:26:13.000Z","size":17585,"stargazers_count":7,"open_issues_count":37,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T13:44:54.067Z","etag":null,"topics":["dataset","example-data","finance","fincen","fincen-data","fraud-detection","graphdb","icij","investigations","money-laundering","neo4j","neo4j-approved"],"latest_commit_sha":null,"homepage":"https://sandbox.neo4j.com?usecase=fincen","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-11-09T11:06:46.000Z","updated_at":"2024-01-02T13:20:04.000Z","dependencies_parsed_at":"2024-12-11T14:11:33.503Z","dependency_job_id":"c314c8d6-56bc-42e9-a5b1-61982a6e1a50","html_url":"https://github.com/neo4j-graph-examples/fincen","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%2Ffincen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Ffincen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Ffincen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-graph-examples%2Ffincen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-graph-examples","download_url":"https://codeload.github.com/neo4j-graph-examples/fincen/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","finance","fincen","fincen-data","fraud-detection","graphdb","icij","investigations","money-laundering","neo4j","neo4j-approved"],"created_at":"2024-12-11T14:11:27.507Z","updated_at":"2025-04-15T01:51:20.856Z","avatar_url":"https://github.com/neo4j-graph-examples.png","language":"Cypher","funding_links":[],"categories":[],"sub_categories":[],"readme":":name: fincen\n:long-name: ICIJ FinCEN Files\n:description: Exploring the FinCEN Files Investigation in Neo4j\n:icon: documentation/img/fincen-files-logo.png\n:tags: example-data,dataset,fincen-data,investigations,finance,money-laundering,icij,fraud-detection\n:author: Michael Hunger\n:demodb: true\n:data: import/*.csv\n:use-load-script: scripts/fincen-import.cypher\n:use-dump-file: data/fincen-40.dump\n:zip-file: false\n:use-plugin: false\n:target-db-version: 3.5,4.0\n:bloom-perspective: bloom/fincen.bloom-perspective\n:guide: documentation/fincen.neo4j-browser-guide\n:rendered-guide: https://guides.neo4j.com/sandbox/{name}/index.html\n:model: documentation/img/fincen-datamodel.png\n:example: documentation/img/biggest-filings-browser.png\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=country,param-value=Russia,result-column=originator,expected-result=Rosbank]\n----\nMATCH (from:Entity)\u003c-[:ORIGINATOR]-(f:Filing)-[:BENEFITS]-\u003e(to:Entity)-[:COUNTRY]-\u003e(c:Country {name:$country})\n WITH from, to, round(sum(f.amount)) as sum\n ORDER BY sum DESC LIMIT 10\n RETURN from.name as originator\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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Ffincen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-graph-examples%2Ffincen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-graph-examples%2Ffincen/lists"}