<s>
TypeDB	B-Language
is	O
an	O
open-source	B-Application
,	O
distributed	B-Operating_System
,	O
strongly-typed	O
database	O
with	O
a	O
logical	O
type	O
system	O
.	O
</s>
<s>
TypeDB	B-Language
models	O
domains	O
based	O
on	O
logical	O
and	O
object-oriented	O
programming	O
principles	O
,	O
composed	O
of	O
entity	O
,	O
relationship	O
,	O
and	O
attribute	O
types	O
,	O
as	O
well	O
as	O
type	O
hierarchies	O
,	O
roles	O
,	O
and	O
rules	O
.	O
</s>
<s>
TypeDB	B-Language
provides	O
a	O
way	O
to	O
describe	O
the	O
logical	O
structures	O
of	O
data	O
,	O
which	O
allows	O
the	O
tool	O
to	O
validate	O
that	O
code	O
inserts	O
and	O
queries	O
data	O
correctly	O
.	O
</s>
<s>
TypeDB	B-Language
also	O
encodes	O
data	O
for	O
logical	O
interpretation	O
by	O
a	O
reasoning	O
engine	O
and	O
enables	O
type-inference	O
and	O
rule-inference	O
,	O
which	O
create	O
logical	O
abstractions	O
of	O
data	O
.	O
</s>
<s>
TypeDB	B-Language
is	O
developed	O
by	O
.	O
</s>
<s>
and	O
is	O
published	O
under	O
the	O
GNU	B-Application
Affero	I-Application
General	I-Application
Public	I-Application
License	I-Application
.	O
</s>
<s>
Vaticle	O
was	O
previously	O
known	O
as	O
Grakn	O
Labs	O
;	O
TypeDB	B-Language
as	O
Grakn	O
;	O
and	O
TypeQL	O
as	O
Graql	B-Language
.	O
</s>
<s>
TypeDB	B-Language
allows	O
users	O
to	O
model	O
their	O
domains	O
using	O
the	O
Entity-Relationship	O
(	O
ER	O
)	O
model	O
.	O
</s>
<s>
TypeDB	B-Language
allows	O
users	O
to	O
leverage	O
the	O
full	O
expressivity	O
of	O
the	O
ER	O
model	O
,	O
and	O
describe	O
schemas	O
through	O
first	O
normal	O
form	O
.	O
</s>
<s>
TypeDB	B-Language
allows	O
users	O
to	O
model	O
type	O
inheritance	O
into	O
their	O
domain	O
model	O
.	O
</s>
<s>
Following	O
logical	O
and	O
object-oriented	O
principles	O
,	O
TypeDB	B-Language
allows	O
data	O
types	O
to	O
inherit	O
the	O
behaviours	O
and	O
properties	O
of	O
their	O
supertypes	O
.	O
</s>
<s>
Complex	O
data	O
structures	O
become	O
reusable	O
,	O
and	O
data	O
interpretation	O
becomes	O
richer	O
through	O
polymorphism	B-Application
.	O
</s>
<s>
TypeDB	B-Language
can	O
represent	O
an	O
arbitrary	O
number	O
of	O
things	O
as	O
one	O
relation	O
.	O
</s>
<s>
TypeDB	B-Language
can	O
represent	O
such	O
a	O
structure	O
,	O
as	O
it	O
enables	O
relations	O
to	O
be	O
nested	O
in	O
another	O
relation	O
,	O
allowing	O
a	O
user	O
to	O
express	O
their	O
system	O
's	O
model	O
in	O
a	O
natural	O
form	O
.	O
</s>
<s>
TypeDB	B-Language
performs	O
validation	O
of	O
inserted	O
entities	O
and	O
relations	O
by	O
evaluating	O
the	O
polymorphic	B-Application
types	O
of	O
the	O
things	O
involved	O
.	O
</s>
<s>
Read	O
queries	O
executed	O
on	O
TypeDB	B-Language
go	O
through	O
a	O
type	O
resolution	O
process	O
.	O
</s>
<s>
TypeDB	B-Language
allows	O
users	O
to	O
define	O
rules	O
in	O
their	O
schemas	O
.	O
</s>
<s>
TypeDB	B-Language
's	O
inference	O
facility	O
translates	O
one	O
query	O
into	O
all	O
of	O
its	O
possible	O
interpretations	O
.	O
</s>
<s>
TypeDB	B-Language
is	O
composed	O
of	O
two	O
parts	O
:	O
TypeDB	B-Language
the	O
storage	O
,	O
and	O
TypeQL	O
the	O
language	O
.	O
</s>
<s>
TypeDB	B-Language
is	O
a	O
database	O
with	O
a	O
rich	O
and	O
logical	O
type	O
system	O
.	O
</s>
<s>
Under	O
the	O
hood	O
,	O
TypeDB	B-Language
has	O
built	O
an	O
expressive	O
type	O
system	O
with	O
a	O
transactional	O
query	O
interface	O
.	O
</s>
<s>
TypeDB	B-Language
’s	O
type	O
system	O
is	O
based	O
on	O
hypergraph	O
theory	O
,	O
a	O
subfield	O
in	O
mathematics	O
that	O
generalises	O
an	O
edge	O
to	O
be	O
a	O
set	O
of	O
vertices	O
.	O
</s>
<s>
The	O
hypergraph	O
data	O
structure	O
itself	O
is	O
represented	O
in	O
the	O
form	O
of	O
key-value	B-Application
pairs	I-Application
and	O
persisted	O
on	O
a	O
distributed	B-Operating_System
NoSQL	B-General_Concept
database	I-General_Concept
,	O
RocksDB	B-Language
.	O
</s>
<s>
Using	O
the	O
Raft	O
algorithm	O
,	O
TypeDB	B-Language
provides	O
a	O
distributed	B-Operating_System
system	O
designed	O
to	O
be	O
shared	O
and	O
replicated	O
over	O
a	O
network	O
of	O
computers	O
.	O
</s>
<s>
TypeQL	O
is	O
TypeDB	B-Language
’s	O
declarative	B-Language
reasoning	O
(	O
through	O
OLTP	B-General_Concept
)	O
query	O
language	O
that	O
creates	O
a	O
higher	O
level	O
abstraction	O
over	O
complex	O
relationships	O
.	O
</s>
<s>
TypeDB	B-Language
is	O
available	O
in	O
two	O
versions	O
:	O
an	O
open	O
source	O
version	O
and	O
a	O
commercial	O
version	O
(	O
TypeDB	B-Language
Cluster	O
)	O
.	O
</s>
<s>
The	O
open	O
source	O
version	O
is	O
available	O
for	O
free	O
under	O
the	O
GNU	B-Application
Affero	I-Application
General	I-Application
Public	I-Application
License	I-Application
,	O
version	O
3	O
.	O
</s>
<s>
The	O
commercial	O
product	O
,	O
TypeDB	B-Language
Cluster	O
,	O
allows	O
for	O
high-availability	B-Architecture
,	O
horizontal	O
scalability	B-Architecture
and	O
security	O
.	O
</s>
<s>
TypeDB	B-Language
Cluster	O
is	O
available	O
under	O
a	O
closed-source	O
Commercial	O
license	O
.	O
</s>
