TerminusDB

From Wikipedia, the free encyclopedia
TerminusDB
TerminusDB.png
Developer(s)TerminusDB
Initial release2019; 3 years ago (2019)
Stable release
10.0.3 / September 23, 2021; 5 months ago (2021-09-23)[1]
Repository
Written inRust, Prolog[2]
TypeGraph database
License
  • Apache 2.0
Websiteterminusdb.com

TerminusDB is an open source knowledge graph and document store. It is used to build versioned data products. It is a native revision control database that is architecturally similar to Git. It is listed on DB-Engines.

TerminusDB provides a document API for building via the JSON exchange format. TerminusX is a cloud self-serve data platform built on TerminusDB

TerminusDB is available under the Apache 2.0 license. TerminusDB is implemented in Prolog and Rust.

History[]

TerminusDB, previously known as DataChemist,[3][4] was founded in Dublin, Ireland. Starting in Trinity College Dublin,[5] the development team behind TerminusDB ran the Horizon 2020 project ALIGNED that worked from February 2015 to January 2018. An open-access e-book entitled Engineering Agile Big-Data Systems was published on completion of the ALIGNED project.[6]

Seshat is an international scientific research project of the nonprofit Evolution Institute which uses TerminusDB as data infrastructure. Seshat has been working with the development team from the ALIGNED project onward. This work has been reported in several major newspapers. TerminusDB is also the database behind the associated Institute for Economics and Peace and Oxford University historical peace index project.

The results of some aspects of this research, focused on the relationship between complex societies and moralizing gods, appeared in Nature.[7]

Version 1.0 was released in October 2019.[8] TerminusDB was first released under the GPLv3 licence with the client libraries released with the Apache 2 licence. With v4.0, which was released in December 2020, TerminusDB switched to the Apache 2.0 license. The shift was discussed extensively.[9]

TerminusDB release history
Version Release date Feature notes Refs
1.0 October 2019
  • first server release with HDT backend
[10]
1.1 January 2020
  • instance and schema checking
[11]
2.0 June 2020
  • Rust based storage backend
  • Delta encoding
  • Commit Graph
  • Time-travel on databases
  • Regular path queries
[12]
3.0 September 2020
  • Added reverse path queries
  • Non-backtracking side-effect
  • Reset API allows reseting branch to arbitrary commit
  • Squash API operation now available
  • Default branch is now called main and not master[13]
[14]
4.0 December 2020
  • CSV support
  • Automatic CSV schema generation
  • Extraction or filtering of types from arbitrary nodes
  • New CLI interface
  • Graphical Model Building Tool
4.1 December 2020
  • Multiple witness flag
  • Add deb repo
4.2 February 2021
  • Delta rollups for optimize
  • Large data transfers over TUS protocol
  • Document interface with CRUD actions
  • New frame for adding class choices
  • New branch management actions: squash, reset, delete, optimize
[15]
10.0 September 2021
  • JSON schema interface
  • Radically simplified document interface
  • JSON documents can refer to other documents in the graph.
[16]

Name[]

TerminusDB is named after the Roman God of Boundaries, Terminus. It is also named after the home planet of the Foundation in the series of science-fiction novel by Issac Asimov.[17] TerminusDB uses a CowDuck mascot - the motif finds its origins in the examples used by core engineer when first demonstrating the append only immutable data store[18]

Main features[]

TerminusDB is an in-memory graph database management system with a rich query language. The design of the underlying data structure, which is implemented in a Rust library, uses a succinct data structures and delta encoding approach drawing inspiration from software source control systems like Git.[19] This allows all of the Git semantics to be used in TerminusDB.

TerminusDB is based on the RDF standard. This standard specifies finite labelled directed graphs which are parameterized in some universe of datatypes. The names for nodes and labels are drawn from a set of IRIs (Internationalized Resource Identifiers). TerminusDB uses the XSD datatypes as its universe of concrete values. For schema design, TerminusDB used the OWL language until version 10.0. It now uses a JSON schema interface allowing users to build schemas using a simple JSON format. This provides a rich modelling language which enables constraints on the allowable shapes in the graph.

TerminusDB has a promise based client for the browser and node.js it is available through the npm registry, or can be directly included in web-sites.[20] It also has a Python client for the TerminusDB RESTful API and the pythonic version of the web object query language, WOQLpy.[21]

Query language[]

is a datalog-based query language. It allows TerminusDB to treat the database as a document store or a graph interchangeably, and provides query features to make relationship traversals easy. This gives a relatively straightforward human-readable format which can be easily stored in TerminusDB itself.

Example[]

This demonstrates a simple query which creates a document in the database, along with labels and cardinality constraints.[22]

WOQL.doctype("BankAccount").label("Bank Account")
    .property("owner","xsd:string")
       .label("owner")
       .cardinality(1)
    .property("balance","xsd:nonNegativeInteger")
       .label("owner")
       .cardinality(1)

References[]

  1. ^ https://github.com/terminusdb/terminusdb/blob/main/docs/RELEASE_NOTES.md. {{cite web}}: Missing or empty |title= (help)
  2. ^ "TerminusDB Repository".
  3. ^ "DataChemist wants to make sense of big-picture intelligence in the data analytics 'arms race'". Fora.ie. Retrieved 2020-05-06.
  4. ^ "Innovadores | Cómo lograr la paz en el mundo con ayuda del big data". Innovadores (in Spanish). Retrieved 2020-05-06.
  5. ^ "Show HN: TerminusDB – An open source in-memory graph database | Hacker News". news.ycombinator.com. Retrieved 2020-05-06.
  6. ^ Feeney, Kevin; Davies, Jim; Welch, James; Hellmann, Sebastian; Dirschl, Christian; Koller, Andreas; Francois, Pieter; Marciniak, Arkadiusz (2018-10-30). Engineering Agile Big-Data Systems. River Publishers. ISBN 978-87-7022-016-3.
  7. ^ Whitehouse, Harvey; François, Pieter; Savage, Patrick E.; Currie, Thomas E.; Feeney, Kevin C.; Cioni, Enrico; Purcell, Rosalind; Ross, Robert M.; Larson, Jennifer; Baines, John; ter Haar, Barend (2019-03-20). "Complex societies precede moralizing gods throughout world history". Nature. 568 (7751): 226–229. Bibcode:2019Natur.568..226W. doi:10.1038/s41586-019-1043-4. hdl:10871/36936. ISSN 0028-0836. PMID 30894750. S2CID 84186554.
  8. ^ Feeney, Luke (2019-10-07). "Today we release TerminusDB — the database for data people". Medium. Retrieved 2019-12-06.
  9. ^ "We Love GPLv3, but Are Switching License to Apache 2.0 | Hacker News". news.ycombinator.com. Retrieved 2020-12-09.
  10. ^ "GitHub - terminusdb/terminusdb at v1.0.0". GitHub. Retrieved 2021-09-27.
  11. ^ "GitHub - terminusdb/terminusdb at v1.0.0". GitHub. Retrieved 2021-09-27.
  12. ^ "Release Notes for TerminusDB 2.0 to 10.0". github.com.{{cite web}}: CS1 maint: url-status (link)
  13. ^ Feeney, Luke. "TerminusDB: From 'Master' to Main | Graph Database Blog - News and Tutorials from TerminusDB". terminusdb.com/blog. Retrieved 2021-09-27.
  14. ^ terminusdb/terminusdb, TerminusDB, 2021-09-27, retrieved 2021-09-27
  15. ^ terminusdb/terminusdb, TerminusDB, 2021-09-27, retrieved 2021-09-27
  16. ^ "Release Notes for TerminusDB 10.0". github.com.{{cite web}}: CS1 maint: url-status (link)
  17. ^ Feeney, Luke (2019-10-01). "TerminusDB — what's in a name?". Medium. Retrieved 2019-12-06.
  18. ^ terminusdb/terminus-store, TerminusDB, 2020-05-06, retrieved 2020-05-06
  19. ^ "Succinct Data Structures and Delta Encoding for Modern Databases" (PDF).{{cite web}}: CS1 maint: url-status (link)
  20. ^ terminusdb/terminus-client, TerminusDB, 2020-04-29, retrieved 2020-05-06
  21. ^ terminusdb/terminus-client-python, TerminusDB, 2020-05-06, retrieved 2020-05-06
  22. ^ "Taking TerminusDB to The Bank (Part I)". Graph Database Blog - News and Tutorials from TerminusDB. Retrieved 2020-12-09.

External links[]

Retrieved from ""