|
kDB: Knowledge DataBase
|
#include <RDFTermBinaryMarshal.h>
When storing a RDF Value in the database, RDFValueBinaryMarshal tries to store it as an efficient field first, if it cannot it is stored as a string literal using the to/fromRdfLiteral of knowCore::Value. This class allows to define alternative Serialisation, for instance, knowCore::Timestamp are stored as a number (knowCore::BigNumber).