Grakn is a database for AI that uses a graph structure to understand relationships within data. It supports Java, Python and JavaScript APIs and can scale up and down without downtime. The main components are the Grakn database engine, which models complex data, and the Graql query language. An ontology in Grakn defines four types - entities, relations, roles, and resources - to structure data.
3. Grakn
AI
Database for AI
Works on Message
Passing within the
Graph nodes
Understand
relationships
Full-text Search
Elastic Throughput -
Read and writes are
linear
5. Components
Grakn
DB Engine to model
complex databases -
understands context
Graql
The knowledge-oriented graph query
language
7. F O U R T Y P E S
IN AN ONTOLOGY
entity: Represents an objects or thing, for example: person, man, woman.
relation: Represents relationships between things, for example, a parent-child
relationship between two person entities.
role: Describes the participation ofentitiesin arelation. For example, in
amarriagerelation, there are roles ofhusbandandwife, respectively.
resource: Represents the properties associated with anentityor arelation, for
example, a name or date. Resources consist of primitive types and values, such
as strings or integers.