TypeDB

T

TypeDB

TypeDB is a general purpose database with a new programming paradigm to build modern data applications.

Join

support

discussion

quick-help

What's the version of your server?

What's the version of your server?

Vector storage

If I would want to contribute to TypeDB, is there contributors documentation available? I can't really find any. I managed to compile the 'typedb' repo. But looking into the source I noticed you are using the 'TypeDB sync tool' to generate Cargo .toml files. I do have to say I'm just a Rust beginner. I have been programming professionally for more than 25 years and program in many languages, mainly Java and Python, but have programmed in many others for years as well. I'm mostly interested in trying to add some text, vector and hybrid search. Either sync data to an external search engines / vector database (https://superlinked.com/vector-db-comparison) or build a simple version internally in TypeDB for starters....

should it be possible to have two

should it be possible to have two attributes on an entity with an @key annotation? I somehow ended up in that situation hahaha

STIX modeling

Question: How to Model Controlled Language Lists, Vocab or Enum in TypeQL In Stix and other cybersecurity languages, Controlled Vocabularies are used to limit the allowable choices for a particular field. There are two types: - Enum: A list of words that cannot be added to, e.g. Opinion, which is a scale - Vocab A list of words that can be added to, e.g. Hash Algorithms, which can obviously increase...

Wouldn't your desired approach require

Wouldn't your desired approach require declaring the plays for all 1000 attributes? Or do you just declare it once on a supertype and the plays is inherited?...

Can you send over the schema that

Can you send over the schema that includes name too?

TypeDB Schema Introspection

And also this! We need to re-build the schema export functionality. I kind of want to to be available in TypeQL and a json-like structure (one of @christoph.dorn 's ideas!) which would be awesome IMO.

TypeDB on embedded mobile

we are local first privacy ai agent . so we run on user phone

embedded TypeDB

It might be time to start thinking about embedded typedb, will make a note of it

what are you trying to build with TypeDB

what are you trying to build with TypeDB @cam ? if you don't mind sharing

we're looking to go to prod in ~6-8

we're looking to go to prod in ~6-8 weeks, and kinda need to lock in on a DB soon - can't get too far without the driver

Docs erratas

perhaps we need a channel for errata as there are some small spelling mistakes and i dont want to dominate this channel?

querying typedb schema

You're probably looking for the statements docs! It has match examples on the individual pages. For example, match user sub $t; will return all the transitive supertypes of user (including supertypes of its supertype) match user sub! $t; will return only defined supertypes of user You can also try match $t sub user; for the reversed purpose!...

Hi! Do you have trouble accessing these

Hi! Do you have trouble accessing these pages? It still contains all the latest 2.x language docs and drivers API references. For instance, here is the TypeQL Update page with references to Academy and Manual: https://typedb.com/docs/typeql/queries/update...

CentOS 7.9.2009 with openjdk 11.0.11

Hello everyone, I have a rather strange question. I would like to install the latest TypeDB core 2.28.0 on a CentOS 7.9.2009 with openjdk 11.0.11 but I have two issues. The main one is that the TypeDB console is not working. When I started it I get the greeting message and after few seconds it quits wihtout any message or error. The second problem is that when I start the server it boots for more than a 2 minutes which normally happens in seconds. The machine has also the resources to run the Ty...

Specifying total relation match

This is an interesting question! As relations currently go, I think we do something like: ``` match $r (role-1: $x, role-2: $y) isa relation; not { $r ($z); };...

Performance Best Practices Question

Not a domain expert on cybersec unfortunately. But in general, the most "intuitive" model is the best way to express a complex schema - and being minimal is strongly correlated with being intuitive, so the 2nd model looks better at a glance. Are you finding that similar sized schemas are just generally more performant when the queries operate on entities and attributes only, without relations involved? Because if so then there could be a scaling issue there. If you have a couple of sample schemas and queries - as minimal as possible - that look like they should run in similar times but don't, that could be valuable info....

Conditional rules

The user selects an option and that option is translated to a construct in the database that needs to be used as a conditional check beford conclusions can be drawn. Ex: depending on the criticality of something for a specific project at certain stages, a stakeholder might want to include reworked items in the conclusion (reports).