TypeDB
- Graph Database Hypergraph
- alsoKnownAs grakn
- ownedBy Vaticle
- hasRepository https://github.com/vaticle/typedb
- hasRelatedSolution TypeQL Blitz Orm
- written-in: java
- builtOn
hasConcept
- "Concept Architecture"
Thoughts
- a little unusual for a thing to be a concept. My water bottle is not really a concept.
Use Cases
Tips
- When inserting instances of a relation, it is not necessary to define all of its role players. But this represents an incomplete information state, such as a marriage in which only one of the spouses is known.
Issues
- Run TypeDB Studio in a web browser
- we have recently rewritten Workbase as Studio, and it is no longer an Electron app
- how do you establish order?
Modelling
- entity:
- anything physical
- anything that exists logically but doesn't require involvement of other things
- concrete
- /proper/common/abstract/collective
- relations should be "abstract nouns" or "transitive verbs that can accept 2 or more argument"
- no equivalanet of blank node (no open world), but you could do "entity with no URI is unspecified"
- "GRAKN.AI uses “hypergraphs” instead of vanilla digraphs to model their knowledge, although under the hood, they map these hypergraphs to digraphs before persisting to whatever vendor DB using Apache TinkerPop."
Temporal Modelling
- Modelling Time within a Strongly Typed Database
- t.2024.01.15: "expressions don't have datetime computation functionality yet"
Resources
-
https://victormorgante.medium.com/query-generation-for-typedb-67c7b4a88ee2
- "TypeDB approaches the database market conceptualised as both a database and a rules-based knowledge graph combined as one. Operating over a key/value store the database encompasses the same sort of architecture used by FactEngine to effectively turn any compatible database into a natural language/
-
https://blog.vaticle.com/what-is-a-knowledge-graph-5234363bf7f5
-
https://forum.typedb.com/t/rdf-uris-as-attributes-of-all-types/433
-
https://medium.com/vaticle/modelling-data-with-hypergraphs-edff1e12edf0
-
How do actors enable and elegant and scalable reasoning engine
-
https://typedb.com/blog/modeling-collections-in-databases-relational-sql-vs-typedb
Backlinks