{"id":13557609,"url":"https://github.com/typedb/typedb-driver-examples","last_synced_at":"2026-01-03T13:05:22.771Z","repository":{"id":37087734,"uuid":"147818615","full_name":"typedb/typedb-driver-examples","owner":"typedb","description":"TypeDB Driver Example Projects and Tutorials","archived":false,"fork":false,"pushed_at":"2024-05-23T16:18:56.000Z","size":6694,"stargazers_count":84,"open_issues_count":8,"forks_count":57,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-30T01:37:03.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://typedb.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typedb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-07T12:11:00.000Z","updated_at":"2024-10-08T08:24:44.000Z","dependencies_parsed_at":"2024-01-07T12:51:47.166Z","dependency_job_id":"237caf9e-902b-4a76-822c-b861fbab413d","html_url":"https://github.com/typedb/typedb-driver-examples","commit_stats":null,"previous_names":["typedb/typedb-driver-examples","graknlabs/examples","vaticle/typedb-driver-examples"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb-driver-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb-driver-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb-driver-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb-driver-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typedb","download_url":"https://codeload.github.com/typedb/typedb-driver-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830038,"owners_count":20354755,"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":[],"created_at":"2024-08-01T12:04:26.907Z","updated_at":"2026-01-03T13:05:22.670Z","avatar_url":"https://github.com/typedb.png","language":"HTML","readme":"# TypeDB Driver Examples\n\n[![Factory](https://factory.vaticle.com/api/status/vaticle/typedb-driver-examples/badge.svg)](https://factory.vaticle.com/vaticle/typedb-driver-examples)\n\n## Table of contents\n\n- [Examples in this repository](#examples-in-this-repository)\n- [Data visualisation](#data-visualisation)\n- [Additional examples](#additional-examples)\n\n## Examples in this repository\n\nThis repository includes examples that showcase usage of TypeDB Drivers in reading from and writing to a TypeDB \ndatabase.\n\n### [Biology: Catalogue of Life](biology/catalogue_of_life)\n\n[Catalogue of Life](https://www.catalogueoflife.org/) is a database of over 4.5 million currently known taxa in biology,\ncompiled from over a hundred different sources. The example showcases simple data preparation and a sample configuration\nfile for loading a large taxonomic dataset using [TypeDB Loader.](https://github.com/typedb-osi/typedb-loader)\n\n### [Commerce: Bookstore](commerce/bookstore)\n\nThe bookstore example uses Python to showcase migration of data into TypeDB and executing queries on this data.\n\nThe data of the Books, Users and Orders loaded from the `.csv` files in the [data](commerce/bookstore/python/data) \ndirectory.\n\nRead the [README](commerce/bookstore/README.md) file for instructions. Check [the schema](commerce/bookstore/schema.tql)\nor the initial [dataset](commerce/bookstore/python/data) for additional information. All logic accessible in the script\nfiles in the [python](commerce/bookstore/python) directory.\n\n### [Finance: Fraud Detection](finance/fraud_detection)\n\nThe Fraud Detection example uses Quarkus, the Supersonic Subatomic Java Framework in order to let us present results with GraphQL.\nIn this project, we use TypeDB to represent a queryable database of relevant fraud detection data about some transactions between Cardholders and Companies.\n\n### [Gaming: XCOM Project](gaming/xcom)\n\nThe XCOM 2 example contains a database of interdependent research tasks in the game XCOM 2, featuring automatic\ninference of available research based on completed tasks and available items. See [the schema](gaming/xcom/schema.tql)\nfor the examples of reasoner rules inferring attributes.\n\n### [Software: GitHub](software/github)\n\nThe GitHub example showcases migration of heavily interconnected data from a live repository on GitHub or from a Vaticle\nGitHub snapshot, and provides a visual interface to explore some sample queries.\n\n### [Telecom: Phone Calls](telecom/phone_calls)\n\nTypeDB officially supports drivers for Java, Node.js, Python, and more. Learn more about [TypeDB Drivers](https://typedb.com/docs/drivers/overview).\n\nThe Phone Calls example showcases basic migration of a database of customers of a fictional telecom company and calls\nthey make in various formats (CSV, JSON, and XML) and expressive TypeQL queries using\nthe [Java,](telecom/phone_calls/java) [Node.js,](telecom/phone_calls/nodejs) and [Python](telecom/phone_calls/python)\ndrivers.\n\n#### Data migration\n\n- Java: [CSV](telecom/phone_calls/java/CSVMigration.java) | [JSON](telecom/phone_calls/java/JSONMigration.java)\n  | [XML](telecom/phone_calls/java/XMLMigration.java)\n- Node.js: [CSV](telecom/phone_calls/nodejs/migrateCsv.js) | [JSON](telecom/phone_calls/nodejs/migrateJson.js)\n  | [XML](telecom/phone_calls/nodejs/migrateXml.js)\n- Python: [CSV](telecom/phone_calls/python/migrate_csv.py) | [JSON](telecom/phone_calls/python/migrate_json.py)\n  | [XML](telecom/phone_calls/python/migrate_xml.py)\n\n#### Query examples\n\n- [Java](telecom/phone_calls/java/Queries.java)\n- [Node.js](telecom/phone_calls/nodejs/queries.js)\n- [Python](telecom/phone_calls/python/queries.py)\n\n## Data visualisation\n\nAfter loading the data for any of the examples, you can use\n[TypeDB Studio](https://github.com/vaticle/typedb-studio/releases) to explore the graph structure of the database.\n\n## Additional examples\n\nThere are some examples in other repositories that are recommended for more advanced users.\n\n### TypeDB Bio\n\n[TypeDB Bio](https://github.com/vaticle/typedb-bio) is a collection of knowledge graphs of biomedical data.\n\nTypeDB Bio provides an intuitive way to query interconnected and heterogeneous biomedical data in one single place. The\nschema that models the underlying knowledge graph alongside the descriptive query language, TypeQL, makes writing\ncomplex queries an extremely straightforward and intuitive process. Furthermore, the automated reasoning capability of\nTypeDB, allows TypeDB Bio to become an intelligent database of biomedical data that infers implicit knowledge based on\nthe explicitly stored data. TypeDB Bio can understand biological facts, infer based on new findings and enforce research\nconstraints, all at query (run) time.\n\n### TypeDB CTI\n\n[TypeDB CTI](https://github.com/typedb-osi/typedb-cti) is an open source threat intelligence platform for organisations\nto store and manage their cyber threat intelligence (CTI) knowledge. It enables threat intel professionals to bring\ntogether their disparate CTI information into one database and find new insights about cyber threats.\n","funding_links":[],"categories":["Python","📚 Learning \u0026 Resources","HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypedb%2Ftypedb-driver-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypedb%2Ftypedb-driver-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypedb%2Ftypedb-driver-examples/lists"}