TypeDB Fundamentals Lecture Series: from Nov 16 to Jan 9

TypeDB Lectures

Technical lectures on foundations and applications of TypeDB & TypeQL.

TypeDB: the polymorphic database|

There are three fundamental forms of polymorphism in computer science: inheritance polymorphism, interface polymorphism, and parametric polymorphism. In order to be fully polymorphic, a database must implement all three kinds. It must be able to interpret queries about a given type, that operate on instances of that type and all its subtypes. It must be able to interpret queries about a given interface type, that operate on instances of all types that implement it. And it must be able to interpret queries about parametrized types, that operate on instances of all types supplied as parameters.

TypeDB is the world’s first polymorphic database. It has a conceptual data model, a strong subtyping system, a symbolic reasoning engine, and a type-theoretic query language: TypeQL. TypeDB is able to interpret all three kinds of polymorphic queries. Those queries are truly declarative: it is not necessary to enumerate the types that are operated on. This is due to type inference, a process by which TypeDB infers the list of types that fit the query pattern and searches for instances of all of them. The strongly typed schema provides the necessary context for type inference, so the results are always type-safe. The ability to interpret declarative polymorphic queries brings unmatched expressivity and safety to the database, not possible with previous database paradigms.

In this lecture, we introduce TypeDB’s polymorphic modeling and querying capabilities. We’ll begin by introducing the three fundamental types of polymorphism, and examine some examples of polymorphic queries in natural language. Next, we’ll build a polymorphic TypeDB schema that models a simple filesystem featuring inheritance and interfaces. We’ll then explore the different ways that inheritance, interface, and parametric polymorphism can be utilized and combined in TypeQL query patterns. Finally, we’ll see how declarative polymorphic querying allows us to extend the schema without rewriting queries and trivially maintain application architectures.

Join this lecture and learn about:

  • How the three kinds of polymorphism manifest in natural data domains.
  • TypeDB’s unique modeling and querying capabilities as the polymorphic database.
  • The impact that a polymorphic database has on architecture maintenance.
Register

Fundamental TypeDB lectures

Learn about the fundamental philosophy behind TypeDB and TypeQL.

All TypeDB lectures

Explore all our past and upcoming TypeDB lectures below.

  • TypeDB: the polymorphic database

    TypeDB: the polymorphic database

    Dr. James Whiteside, Research Engineer at Vaticle

    Register
  • The Polymorphic Data Model of TypeDB

    The Polymorphic Data Model of TypeDB

    Dr. Christoph Dorn, Head of Research at Vaticle

    Register
  • Why We Need a Polymorphic Database

    Why We Need a Polymorphic Database

    Dr. James Whiteside, Research Engineer at Vaticle

    Watch now
  • Type Theory as the Unifying Foundation for Modern Databases

    Type Theory as the Unifying Foundation for Modern Databases

    Dr. Christoph Dorn, Head of Research at Vaticle

    Watch now
Feedback