0.0.1 • Public • Published

iKB - Knowledge-driven Database Engine

Build Status

iΚB is based on knowledge-driven hierarchical nosql database. Its main goals are:

  • The knowledge base make computers and people can understand and use it
  • Provide The Common Knowledge Classification
  • Inference Engine build-in to reason and "think about"
  • Peer to Peer Share Knowledge
  • Make your computer into a real logic-based electronic brain

In some ways It is similar to:

  • nosql key/value database
  • Graph database
  • Wordnet
  • Freebase
  • Wikipedia

But it is still quite different with the above-mentioned.

Database Specification

First it's a hierarchical nosql key/value database and the hierarchy is inheritance releationship only.

  1. Each key is a knowledge item
  2. A knowledge item only one explanation(not allow to have multiple explanations)
  3. The "key path" indicates inheritance relationship(ISA) of the knowledge.
  4. The key's inheritor called subkey of the key.
  5. The key with "attributes" represents meronymy relationship(HASA).
    • The "value" is a special "attribute".
  6. The key with "actions" means executable functions or the key issued.

The Common Knowledge Classification Specification

This section is similar to wordnet. But

  1. Encoding the knowledge item with Chinese Character
  2. A knowledge item only one explanation(not allow to have multiple explanations)
  3. The root classification is different from Wordnet.

Why encoding with Chinese characters?

Chinese characters have a stable architecture, as well as plenty of character, about more than 21,000 characters, and each character has its own meaning.

This makes the Chinese coding greatly reduces the storage footprint, and can have a clear meaning.


  • "attrbute" is is composed of eight Engilish characters. but Chinese, only two characters: "属性".
  • "type" four characters for Engilish. one characters for Chinese: "型".
  • "English" serven characters for English, one character for Chinese: "英".

Package Sidebar


npm i ikb

Weekly Downloads






Last publish


  • riceball