You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2022. It is now read-only.
This project has been archived. Its primary user, TerminusDB, has directly integrated the code of this repository, and all development is now happening there.
Requirements
cargo
clang
swi-prolog (with the include headers)
Installing
This library is downloadable through SWI-Prolog's package management system. In a swipl instance, run
pack_install(terminus_store_prolog).
Then you can use the library with
use_module(library(terminus_store)).
Compiling and running without installing (for testing purposes)
If you need to compile manually, for example to test a change without reinstalling the pack, follow these instructions.
Also, use the provided ./script/swipl script to start a test instance. This will ensure the foreign library will be located properly.
make
./script/swipl
Running the tests
make
./script/test
Examples
Creating a named graph and adding a triple
Create a new directory (testdir in this example), then do the following: