Code Monkey home page Code Monkey logo

typedb-examples's Introduction

TypeDB Examples

Factory

Table of contents

Examples in this repository

This repository includes examples that showcase usage of TypeDB Clients in reading from and writing to a TypeDB database.

Catalogue of Life is a database of over 4.5 million currently known taxa in biology, compiled from over a hundred different sources. The example showcases simple data preparation and a sample configuration file for loading a large taxonomic dataset using TypeDB Loader.

The bookstore example uses Python to showcase migration of data into TypeDB and executing queries on this data.

The data of the Books, Users and Orders loaded from the .csv files in the data directory.

Read the README file for instructions. Check the schema or the initial dataset for additional information. All logic accessible in the script files in the python directory.

The XCOM 2 example contains a database of interdependent research tasks in the game XCOM 2, featuring automatic inference of available research based on completed tasks and available items. See the schema for the examples of reasoner rules inferring attributes.

The GitHub example showcases migration of heavily interconnected data from a live repository on GitHub or from a Vaticle GitHub snapshot, and provides a visual interface to explore some sample queries.

TypeDB officially supports clients for Java, Node.js and Python. Learn more about TypeDB Clients.

The Phone Calls example showcases basic migration of a database of customers of a fictional telecom company and calls they make in various formats (CSV, JSON, and XML) and expressive TypeQL queries using the Java, Node.js, and Python clients.

Data migration

Query examples

Data visualisation

After loading the data for any of the examples, you can use TypeDB Studio to explore the graph structure of the database.

Additional examples

There are some examples in other repositories that are recommended for more advanced users.

TypeDB Bio

TypeDB Bio is a collection of knowledge graphs of biomedical data.

TypeDB Bio provides an intuitive way to query interconnected and heterogeneous biomedical data in one single place. The schema that models the underlying knowledge graph alongside the descriptive query language, TypeQL, makes writing complex queries an extremely straightforward and intuitive process. Furthermore, the automated reasoning capability of TypeDB, allows TypeDB Bio to become an intelligent database of biomedical data that infers implicit knowledge based on the explicitly stored data. TypeDB Bio can understand biological facts, infer based on new findings and enforce research constraints, all at query (run) time.

TypeDB CTI

TypeDB CTI is an open source threat intelligence platform for organisations to store and manage their cyber threat intelligence (CTI) knowledge. It enables threat intel professionals to bring together their disparate CTI information into one database and find new insights about cyber threats.

typedb-examples's People

Contributors

grabl avatar haikalpribadi avatar vmax avatar flyingsilverfin avatar dmikhalin avatar dmitrii-ubskii avatar jmsfltchr avatar lolski avatar alexjpwalker avatar jamesreprise avatar izmalk avatar tsl-karlp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.