1.11. Long Term Memory

The Long Term Memory (LTM) allows to store and query information gathered in the apartment. It is designed to store low level sensor data as well as high level derived knowledge from various components. Underlying storage is realised by using a hybrid setup of different NoSQL databases with individual features. The goal is to easily expose these features to developers and users in order to facilitate data storage and retrieval.

1.11.2. Current Database Setup

Currently the databases used in LTM are Neo4j (a graph database) and MongoDB (a schemaless document store).

NoSQL database setup

1.11.3. Interfaces

The current version does not support stable querying and therefore no interfaces are provided as of now.

1.11.4. Examples

1.11.4.1. Example 1: Query information from the LTM via RSB

Todo

TODO

 TODO(){

 // create example

 }

1.11.4.2. Example 2: Query information from the LTM directly

Todo

TODO