GraphDB Database

To use constructional archetypes defined in the database, which enables you to use the retrofit module, GRAPH_DB has to be activated with:

CONSTRUCTION:
    CONSTRUCTION_DB: "GRAPH_DB"

This is the default so you don’t need to add anything to your project’s config.

Local File

The data is exported to a local TTL file which can be queried, so you do not need to set up the connection to the GraphDB.

Check config is as following either in your project’s main yml config or in cesarp/graphdb/graph_default_config.yml (default):

GRAPHDB_ACCES:
    REMOTE:
        ACTIVE: False
    LOCAL:
        ACTIVE: True

Remote connection to GraphDB server

Activate remote access and set endpoint in your project config:

GRAPHDB_ACCES:
    REMOTE:
        ACTIVE: True
        SPARQL_ENDPOINT: xxxx
    LOCAL:
        ACTIVE: False

Set following environment variables (! make sure to set those environment variables under the user section, as the password should be kept private!):

GRAPHDB_USER
GRAPHDB_PASSWORD