TerminusDB

TerminusDB is an open-source graph database. It is designed for collaboratively building and curating knowledge graphs. It is a native revision control database that is architecturally similar to Git and other distributed version control systems. TerminusDB's is also a document store and a RDF store (as listed on DB-Engines[3]).

TerminusDB
Developer(s)TerminusDB
Initial release2019 (2019)
Stable release
4.0 / December 4, 2020 (2020-12-04)[1]
Repository
Written inRust, Prolog[2]
TypeGraph database
License
Websiteterminusdb.com

Data collaboration is facilitated through TerminusHub, which is a freemium SaaS that allows users to manage access to databases and collaboratively work on shared resources.

TerminusDB is available under the permissive Apache 2.0 license.[4] The development team claim that it will be 'open source now and forever'.[5] TerminusDB is implemented in Prolog and Rust and accessible using a transactional HTTP endpoint. TerminusDB uses JSON-LD as a lightweight, language-independent data interchange format.

History

DataChemist

TerminusDB, previously known as DataChemist,[6][7][8] was founded in Dublin, Ireland. It was launched by Irish Tánaiste Simon Coveney in August 2018.[9] TerminusDB opened a research and development hub in Utrecht, Netherlands in 2019.[10]

ALIGNED Project

Starting in Trinity College Dublin,[11] the development team behind TerminusDB ran the Horizon 2020 project ALIGNED that worked from February 2015 to January 2018.[12][13][14] An open-access e-book entitled Engineering Agile Big-Data Systems was published on completion of the ALIGNED project[15]

Seshat

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

The results of some aspects of this research, focused on the relationship between complex societies and moralizing gods, appeared in Nature,[21] the prestigious scientific journal. Kevin Feeney, one of the founders of TerminusDB, is an author of the paper and sits on the Board of directors of Seshat.[22]

Open source

Version 1.0 was released in October 2019.[23] TerminusDB was first released under the GPLv3 licence with the client libraries are released with the Apache 2 licence. TerminusDB 1.1, with the newly integrated terminus-store, was released in January 2020.[24] Version 2.0 of the database was released in June 2020[25] and 3.0 was released in July 2020.[26] Version 4.0 was released in December 2020[27] under the Apache 2.0 license. The shift was discussed extensively.[28]

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.[29] TerminusDB uses a CowDuck mascot - the motif finds its origins in the examples used by core engineer Matthijs van Otterdijk when first demonstrating the append only immutable data store[30]

Main features

TerminusDB is a full featured 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.[31] This allows all of the Git semantics to be used in TerminusDB.

The TerminusDB infrastructure is based on the RDF standard. This standard specifies finite labelled directed graphs which are parameteric 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 uses the OWL language with two modifications to make it suitable as a schema language; it dispenses with the open world interpretation and insist on the unique name assumption.[32] This provides a rich modelling language which enables constraints on the allowable shapes in the graph. TerminusDB supports a subset of OWL that provides for the following schematic control features:

  1. Classes and sub-classes for modelling taxonomies and inheritance hierarchies, with special classes for modelling complex relationships and entities
  2. Typed properties for modelling the attributes of things
  3. Datatypes for modelling the different types of data
  4. Scopings for modelling things that change with time, space and confidence
  5. Constraints for applying logic and rules to things[33]

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.[34] It also has a Python client for the TerminusDB RESTful API and the pythonic version of the web object query language, WOQLpy.[35]

Query language

WOQL (web object 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. WOQL's primary syntax and interchange format is in JSON-LD. 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.[36]

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

See also

References

  1. "RELEASE_NOTES".
  2. "TerminusDB Repository".
  3. "TerminusDB System Properties". db-engines.com. Retrieved 2020-12-09.
  4. "We Love GPLv3, but are Switching License to Apache 2.0: TerminusDB". Graph Database Blog - News and Tutorials from TerminusDB. Retrieved 2020-12-09.
  5. Feeney, Luke (2019-10-07). "Today we release TerminusDB — the database for data people". Medium. Retrieved 2020-12-09.
  6. "DataChemist wants to make sense of big-picture intelligence in the data analytics 'arms race'". Fora.ie. Retrieved 2020-05-06.
  7. "Startup Scout: Companies to watch in 2020". Fora.ie. Retrieved 2020-05-06.
  8. "Innovadores | Cómo lograr la paz en el mundo con ayuda del big data". Innovadores (in Spanish). Retrieved 2020-05-06.
  9. "If data is the new oil, DataChemist is the refinery". 2018-08-27. Cite journal requires |journal= (help)
  10. Earley, Kelly (2019-11-20). "Dublin's DataChemist announces expansion into the Netherlands". Silicon Republic. Retrieved 2020-05-06.
  11. "Show HN: TerminusDB – An open source in-memory graph database | Hacker News". news.ycombinator.com. Retrieved 2020-05-06.
  12. "CORDIS EU Research Results".
  13. "Project ID: 644055; Aligned, Quality-centric Software and Data Engineering".
  14. "ALIGNED Project Website".
  15. 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.
  16. "Who We Are". Seshat: Global History Databank. Retrieved 2020-05-06.
  17. Kevin, Feeney; Jim, Davies; Sebastian, Hellmann (2018-11-05). Engineering Agile Big-Data Systems. River Publishers. ISBN 978-87-7022-016-3.
  18. Thursday; December 21; Am, 2017-11:20 (2017-12-21). "Trinity data behind new research which suggests common path governed evolution of societies". www.irishexaminer.com. Retrieved 2019-12-06.CS1 maint: numeric names: authors list (link)
  19. Ahlstrom, Dick. "Trinity big data researchers to lead €4m quality control effort". The Irish Times. Retrieved 2019-12-06.
  20. Gleeson, Colin. "Dublin start-up chosen to work on global peace initiative". The Irish Times. Retrieved 2019-12-06.
  21. 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.
  22. "Who We Are". Retrieved 2020-07-22.
  23. Feeney, Luke (2019-10-07). "Today we release TerminusDB — the database for data people". Medium. Retrieved 2019-12-06.
  24. Feeney, Luke (2020-01-28). "TerminusDB 1.1 — The Big Babushka". Medium. Retrieved 2020-05-06.
  25. "TerminusDB 2.0 Alpha Release". TerminusDB. 2020-06-04. Retrieved 2020-07-22.
  26. "RELEASE NOTES". 2020-11-22.
  27. "terminusdb/terminusdb". GitHub. Retrieved 2020-12-09.
  28. "We Love GPLv3, but Are Switching License to Apache 2.0 | Hacker News". news.ycombinator.com. Retrieved 2020-12-09.
  29. Feeney, Luke (2019-10-01). "TerminusDB — what's in a name?". Medium. Retrieved 2019-12-06.
  30. terminusdb/terminus-store, TerminusDB, 2020-05-06, retrieved 2020-05-06
  31. "Succinct Data Structures and Delta Encoding for Modern Databases" (PDF).
  32. Brennan, Rob (2018). "Linked data schemata: fixing unsound foundations". Semantic Web. 9 (1): 53–75 via DORAS.
  33. "TerminusDB Documentation - the database for data people". terminusdb.com. Retrieved 2020-05-06.
  34. terminusdb/terminus-client, TerminusDB, 2020-04-29, retrieved 2020-05-06
  35. terminusdb/terminus-client-python, TerminusDB, 2020-05-06, retrieved 2020-05-06
  36. "Taking TerminusDB to The Bank (Part I)". Graph Database Blog - News and Tutorials from TerminusDB. Retrieved 2020-12-09.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.