Problems compiling Rocksdb


Just RocksDB.

In the RocksDB pack there is

  1. a demo directory with example code.

  2. a test directory with test cases.

How to run tests for RocksDB pack (Click triangle to expand)
?- use_module(pack(rocksdb/test/test_rocksdb)).
true.

?- test_rocksdb.
% PL-Unit: rocks ......... done
% PL-Unit: terms . done
% PL-Unit: types .... done
% PL-Unit: merge .. done
% PL-Unit: builtin_merge ... done
% PL-Unit: properties . done
% PL-Unit: enum . done
% All 21 tests passed
true.

RocksDB pack is also used for rocks-predicates.

The code for rocks-predicates includes two examples

  1. a WordNet - example. You will need https://wordnetcode.princeton.edu/3.0/WNprolog-3.0.tar.gz
  2. a RDF - example

I also posted another example


There is also the SWI-Prolog pack bio_db but I could not get it to work.