Code Monkey home page Code Monkey logo

virtuoso-sparql-endpoint-quickstart's Introduction

Virtuoso SPARQL Endpoint Quickstart

Creates and runs a Virtuoso Open Source instance including a SPARQL endpoint preloaded with a Databus Collection and the VOS DBpedia Plugin installed.

Quickstart

Running the Virtuoso SPARQL Endpoint Quickstart requires Docker and Docker Compose installed on your system. If you do not have those installed, please follow the install instructions for here and here. Once you have both Docker and Docker Compose installed, run

git clone https://github.com/dbpedia/virtuoso-sparql-endpoint-quickstart.git
cd virtuoso-sparql-endpoint-quickstart
COLLECTION_URI=https://databus.dbpedia.org/dbpedia/collections/dbpedia-snapshot-2022-03 VIRTUOSO_ADMIN_PASSWD=YourSecretPassword docker-compose up

After a short delay your SPARQL endpoint will be running at localhost:8890/sparql.

Note that loading huge datasets to the Virtuoso triple store takes some time. Even though the SPARQL endpoint is up and running, the loading process might still take up to several hours depending on the amount of data you are trying to load.

In order to verify your setup more quickly you can use the following collection URI instead: https://databus.dbpedia.org/dbpedia/collections/virtuoso-sparql-endpoint-quickstart-preview

Note that this collection is only a collection of RDF data to test drive the docker compose network and not a DBpedia release. After a short delay the resource http://localhost:8890/page/Berlin should be accessible.

Troubleshooting

  • virtuoso-sparql-endpoint-quickstart_load_1 exited with code 1 something went wrong with loading the files, data may be incompletely loaded
      • load_1 | *** Error 28000: [Virtuoso Driver]CL034: Bad login you are not using the correct password (the one provided when starting the compose setup for the first time
  • store_1 | 05:28:37 *** read-ahead of a free or out of range page dp L=318307, database not necessarily corrupted. increase the memory settings (BUFFERS options) for the virtuoso database in config.env see here for more details
  • store_1 | 05:18:32 Write wait on column page 62980. Waits should be on the index leaf page, except when col page is held for read by background write see above
  • store_1 | 05:27:43 * Monitor: High disk read (1) see above

Documentation

The Virtuoso SPARQL Endpoint Quickstart is a network of three different docker containers which are launched with docker-compose. The following containers are being run:

Once the loading process has been completed, only the OpenLink VOS Instance will keep running. The other two containers will shut down once their job is done. By running docker ps you can see whether the download and loader container are still running. If there is only the OpenLink VOS Instance remaining, all your data has been loaded to the triple store.

The possible configurations for all containers are documented below. The repository includes an .env file containing all configurable environment parameters for the network.

Environment Variables

Running docker-compose up will use the environment variables specified in the .env file next to the docker-compose.yml. The available variables are:

  • VIRTUOSO_ADMIN_PASSWD: The password for the Virtuoso Database. This needs to be set in order to successfully start the SPARQL endpoint.

  • VIRTUOSO_HTTP_PORT: The HTTP port of the OpenLink VOS instance.

  • VIRTUOSO_ISQL_PORT: The ISQL port of the OpenLink VOS instance.

  • VIRTUOSO_DIR: The directory that stores the content of the virtuoso triple store.

  • COLLECTION_URI: The URI of a Databus Collection. If you want to load the DBpedia Dataset it is recommended to use a Snapshot Collection (2022-03). You can start the SPARQL endpoint with any other Databus Collection or you can copy the files manually into the ./downloads folder.

  • DATA_DIR: The directory containing the loaded data. The download container will download files to this directory. You can also copy files into the directory manually.

  • DOMAIN: The domain of your resource identifiers. This variable is only required if you intend to access the HTML view of your resources (e.g. if you want to run a DBpedia Chapter). The HTML view will only show correct views for identifiers in the specified domain. (e.g. set this to http://ru.dbpedia.org when running the Russian chapter with Russian resource identifiers)

  • DBP_LANG : The language code of your language. Defaults to 'en'.

  • DBP_CATEGORY : The word 'category' in your language. Defaults to 'Category'.

Container Configurations

You can configure the containers in the network even further by adjusting the docker-compose.yml file. The following section lists all the environment variables that can only be set in the docker-compose.yml for each of the containers.

Only change the docker-compose.yml if you know what you are doing. For most users the .env file is sufficient.

Container 1: OpenLink VOS Instance

You can read the full documentation of the docker image here. The image requires one environment variable to set the admin password of the database:

  • DBA_PASSWORD: Your database admin password. It is recommended to set this by setting the VIRTUOSO_ADMIN_PASSWD variable in the .env file.
  • VIRT_PARAMETERS_NUMBEROFBUFFERS: Defaults to 2000 which will result in a very long loading time. Increase this depending on the available memory on your machine. You can find more details in the docker image documentation.
  • VIRT_PARAMETERS_MAXDIRTYBUFFERS: Same as VIRT_PARAMTERS_NUMBEROFBUFFERS.

This password is only set when a new database is created. The example docker-compose mounts a folder to the internal database directory for persistence. Note that this folder needs to be cleared in order to change the password via docker-compose.

The second volume specified in the docker-compose file connects the downloads folder to a directory in the container that is accessible by the virtuoso load script. Accessible paths are set in the internal virtuoso.ini file (DirsAllowed). As the docker-compose uses the vanilla settings of the image the local ./downloads folder is mounted to /usr/share/proj inside of the container which is in the DirsAllowed per default.

Container 2: DBpedia Databus Collection Downloader

This project uses the DBpedia Databus Collection Downloader. You can find the documentation here. If you haven't already, download and build the download client docker image. The required environment variables are:

  • TARGET_DIR: The target directory for the downloaded files (inside of the container). Make sure that the directory is mounted to a local folder to access the files in the docker network.

Container 3: Loader/Installer

The loader/installer container is being pulled from (dbpedia/virtuoso-sparql-endpoint-quickstart).

Alternatively, you could potentially modify and then build the loader/installer docker image by running

cd ./dbpedia-loader
docker build -t dbpedia-virtuoso-loader .

You can configure the container with the following environment variables:

  • STORE_DATA_DIR: The directory of the VOS instance that the downloads folder is mounted to (/usr/share/proj by default). Since the Loader will tell the VOS instance to start importing files it needs to know where the files are going to be. Additionally the VOS instance needs to be given access to that directory.
  • STORE_DBA_PASSWORD: The admin password specified in the VOS instance (DBA_PASSWORD variable). It is recommended to set this by setting the VIRTUOSO_ADMIN_PASSWD variable in the .env file.
  • DATA_DIR: The directory of this container that the downloads folder is mounted to.
  • [OPTIONAL] DATA_DOWNLOAD_TIMEOUT: The amount of seconds until the loader process stops waiting for the download to finish.
  • [OPTIONAL] STORE_CONNECTION_TIMEOUT: The amount of seconds until the loader process stops waiting for the store to boot up.

Instructions for DBpedia Chapters

In case of emergency or confusion please visit this forum thread. Feel free to ask and answer questions as it will help future chapter deployments!

In order to use the Virtuoso SPARQL Endpoint Quickstart docker network to host your own DBpedia instance you need to create a chapter collection on the DBpedia Databus. You can learn about the Databus and Databus Collections in the DBpedia Stack Tutorial on Youtube

Alternatively you can download the required data to your local machine and supply the files manually. It is however recommended to use Collections as it makes updating to future version much easier.

Set the COLLECTION_URI variable to your chapter collection URI and adjust the DOMAIN variable to match the domain of your resource identifiers. Alternatively (not recommended) copy your files into the directory specified in DATA_DIR and remove the download container section from the docker-compose.yml)

Once all variables are set in the .env file run

docker-compose up

Enabling Federated Queries

Federated queries can be enabled by granting the roles SPARQL_LOAD_SERVICE_DATA and SPARQL_SPONGE to the SPARQL user.

docker exec -it [virtuoso_docker_name] /bin/bash
isql-v -U dba -P [virtuoso_admin_password]
grant SPARQL_LOAD_SERVICE_DATA to "SPARQL";
grant SPARQL_SPONGE to "SPARQL";

virtuoso-sparql-endpoint-quickstart's People

Contributors

bperel avatar chile12 avatar gone-phishing avatar holycrab13 avatar jimkont avatar jj-author avatar mgns avatar neradis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

virtuoso-sparql-endpoint-quickstart's Issues

Repeat only incomplete downloads with wget when re-running download.sh

If download.sh gets interrupted and re-run, all files will get downloaded again.
Adding these wget options will automatically only download the still incomplete files and only the part that is missing:
"-N -c".
Other options which may be useful to add could be "--progress=bar:force:noscroll --tries=1 --timeout=5 -nv"

virtuoso-sparql-endpoint-quickstart_store unknown option "--to-destination"

I didn't found setup/init scripts to do this on start. how does iptables called?

`> $ COLLECTION_URI=https://databus.dbpedia.org/dbpedia/collections/latest-core VIRTUOSO_ADMIN_PASSWD=password docker-compose up [±master ●]
Pulling store (openlink/virtuoso-opensource-7:7.2)...
7.2: Pulling from openlink/virtuoso-opensource-7
Digest: sha256:a6c0d9200a2932777fdc4695b1c46a36e3be58708602260ec5f65da560001e9f
Status: Downloaded newer image for openlink/virtuoso-opensource-7:7.2
Creating virtuoso-sparql-endpoint-quickstart_download_1 ...
Creating virtuoso-sparql-endpoint-quickstart_load_1 ...
Creating virtuoso-sparql-endpoint-quickstart_store_1 ...
Creating virtuoso-sparql-endpoint-quickstart_store_1 ... error

ERROR: for virtuoso-sparql-endpoint-quickstart_store_1 Cannot start service store: driver failed programming external connectivity on endpoint virtuoso-sparql-endpoint-quickstart_store_1 (f3aaff54808709a4833922f5844c636a2daa94b7cd10721b323a5eb1e3cccef6): (iptables failedCreating virtuoso-sparql-endpoint-quickstart_download_1 ... done
Creating virtuoso-sparql-endpoint-quickstart_load_1 ... done
(exit status 2))

ERROR: for store Cannot start service store: driver failed programming external connectivity on endpoint virtuoso-sparql-endpoint-quickstart_store_1 (f3aaff54808709a4833922f5844c636a2daa94b7cd10721b323a5eb1e3cccef6): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8898 -j DNAT --to-destination 172.18.0.4:8890 ! -i br-c9ca5b93c64b: iptables v1.8.7 (legacy): unknown option "--to-destination"
Try iptables -h' or 'iptables --help' for more information. (exit status 2)) ERROR: Encountered errors while bringing up the project.

how could i fix this? thanks.

Running docker prepare ends with error

When I run this command

docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock:z --name dld-dbpedia aksw/dld-dist-dbpedia prepare  -l en

I get the following error:

Number of files downloaded:  55 / 55
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/docker/client.py", line 142, in _raise_for_status
    response.raise_for_status()
  File "/usr/lib/python3.4/site-packages/requests/models.py", line 851, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/dld/baselibs/python/dldbase/dockerutil.py", line 16, in __enter__
    self.client.version()
  File "/usr/lib/python3.4/site-packages/docker/api/daemon.py", line 78, in version
    return self._result(self._get(url), json=True)
  File "/usr/lib/python3.4/site-packages/docker/client.py", line 150, in _result
    self._raise_for_status(response)
  File "/usr/lib/python3.4/site-packages/docker/client.py", line 145, in _raise_for_status
    raise errors.NotFound(e, response, explanation=explanation)
docker.errors.NotFound: 404 Client Error: Not Found ("b"client and server don't have same version (client : 1.21, server: 1.18)"")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/dld/dld.py", line 366, in <module>
    main()
  File "/dld/dld.py", line 299, in main
    from config import DLDConfig
  File "/dld/config.py", line 12, in <module>
    class DLDConfig(object):
  File "/dld/config.py", line 51, in DLDConfig
    with dockerutil.docker_client() as dc:
  File "/dld/baselibs/python/dldbase/dockerutil.py", line 22, in __enter__
    err_repr=repr(e)))
RuntimeError: Encountered problem when interacting with your Docker Engine:
NotFound(HTTPError('404 Client Error: Not Found',),)
 * Is the Docker Daemon up and running?
 * Does the daemon use TLS? (currently unsupported by this tool)

I am also confused as to how one can specify where to persist the data after it has been imported from the downloaded files (not the downloaded files themselves): I think if one follows the steps in the README file, then all the data ends up being in /var/lib/docker which may be mounted on a partition with not enough space?

Not working with new Databus collections?

Tried with https://databus.dbpedia.org/kikiriki/collections/test_deployment

getting

virtuoso-sparql-endpoint-quickstart-download-1  | Loading collection https://databus.dbpedia.org/kikiriki/collections/test_deployment
virtuoso-sparql-endpoint-quickstart-download-1  | GET: https://databus.dbpedia.org/kikiriki/collections/test_deployment / ACCEPT: text/sparql
virtuoso-sparql-endpoint-quickstart-store-1     | 15:25:30 Checkpoint started
virtuoso-sparql-endpoint-quickstart-store-1     | 15:25:30 Checkpoint finished.
virtuoso-sparql-endpoint-quickstart-store-1     | 15:25:30 Roll forward started
virtuoso-sparql-endpoint-quickstart-store-1     | 15:25:30 Roll forward complete
virtuoso-sparql-endpoint-quickstart-download-1  | Collections resolved to query:
virtuoso-sparql-endpoint-quickstart-download-1  | PREFIX rdfs:   <http://www.w3.org/2000/01/rdf-schema#>
virtuoso-sparql-endpoint-quickstart-download-1  | PREFIX rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
virtuoso-sparql-endpoint-quickstart-download-1  | PREFIX dcat:   <http://www.w3.org/ns/dcat#>
virtuoso-sparql-endpoint-quickstart-download-1  | PREFIX dct:    <http://purl.org/dc/terms/>
virtuoso-sparql-endpoint-quickstart-download-1  | PREFIX dcv: <https://dataid.dbpedia.org/databus-cv#>
virtuoso-sparql-endpoint-quickstart-download-1  | PREFIX databus: <https://dataid.dbpedia.org/databus#>
virtuoso-sparql-endpoint-quickstart-download-1  | SELECT ?file WHERE
virtuoso-sparql-endpoint-quickstart-download-1  | {
virtuoso-sparql-endpoint-quickstart-download-1  | 	{
virtuoso-sparql-endpoint-quickstart-download-1  | 		GRAPH ?g
virtuoso-sparql-endpoint-quickstart-download-1  | 		{
virtuoso-sparql-endpoint-quickstart-download-1  | 			{
virtuoso-sparql-endpoint-quickstart-download-1  | 				?dataset databus:group <https://databus.dbpedia.org/dbpedia/generic> .
virtuoso-sparql-endpoint-quickstart-download-1  | 				{
virtuoso-sparql-endpoint-quickstart-download-1  | 				?dataset databus:artifact <https://databus.dbpedia.org/dbpedia/generic/labels> .
virtuoso-sparql-endpoint-quickstart-download-1  | 				{ ?distribution <https://dataid.dbpedia.org/databus-cv#lang> 'bug' . }
virtuoso-sparql-endpoint-quickstart-download-1  | 				{ ?distribution <http://purl.org/dc/terms/hasVersion> '2021.02.01' . }
virtuoso-sparql-endpoint-quickstart-download-1  | 				}
virtuoso-sparql-endpoint-quickstart-download-1  | 			}
virtuoso-sparql-endpoint-quickstart-download-1  | 			?dataset dcat:distribution ?distribution .
virtuoso-sparql-endpoint-quickstart-download-1  | 			?distribution databus:file ?file .
virtuoso-sparql-endpoint-quickstart-download-1  | 		}
virtuoso-sparql-endpoint-quickstart-download-1  | 	}
virtuoso-sparql-endpoint-quickstart-download-1  | }
virtuoso-sparql-endpoint-quickstart-download-1  | 
virtuoso-sparql-endpoint-quickstart-download-1  | CHECKING FOR URLENCODED
virtuoso-sparql-endpoint-quickstart-download-1  | RESULT: false
virtuoso-sparql-endpoint-quickstart-download-1  | Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
virtuoso-sparql-endpoint-quickstart-download-1  | 	at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
virtuoso-sparql-endpoint-quickstart-download-1  | 	at org.json.JSONObject.<init>(JSONObject.java:215)
virtuoso-sparql-endpoint-quickstart-download-1  | 	at org.json.JSONObject.<init>(JSONObject.java:399)
virtuoso-sparql-endpoint-quickstart-download-1  | 	at org.dbpedia.download.Client.main(Client.java:138)
virtuoso-sparql-endpoint-quickstart-download-1  | Removing LOCK at /root/data
virtuoso-sparql-endpoint-quickstart-download-1 exited with code 0

Mapping ports

How can I set the port of the final container?
I mean, what if I want to expose the triplestore to localhost:8881 or localhost:8882 ?

store_1 | /run.sh: line 40: 13 Segmentation fault (core dumped)

Getting this error on running step2 of reusing downloads docker run -ti -v /var/run/docker.sock:/var/run/docker.sock:z -v /opt/dbpedia/data/en:/dbpedia-download:z --name dld-dbpedia aksw/dld-dist-dbpedia run-dld


store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x8d6ebd]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x8d6f38]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x47a470]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x47eb4f]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x51cc2f]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x8223dd]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x827011]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x630003]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x630d0c]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5c9d57]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5e3830]
store_1 | 12:30:22 /usr/bin/virtuoso-t(insert_node_input+0x6d) [0x5ca0ad]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5a0769]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5a0866]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x59f542]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5a0051]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5c7614]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5d1f4a]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x65a2de]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x65b7e2]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x599a28]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5a201f]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5c76ca]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x5d1f4a]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x41602f]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x416567]
store_1 | 12:30:22 /usr/bin/virtuoso-t() [0x8e1a83]
store_1 | 12:30:22 /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f593135b0a4]
store_1 | 12:30:22 /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f593097004d]
store_1 | 12:30:22 GPF: disk.c:1047 buffer not in the hash of the would be space of residence
store_1 | GPF: disk.c:1047 buffer not in the hash of the would be space of residence
store_1 | /run.sh: line 40:    13 Segmentation fault      (core dumped) ${VOSCMD} +configfile ${CONFIG} +foreground
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | log_enable(2);
load_1  | checkpoint_interval(-1);
load_1  | set isolation = 'uncommitted';
load_1  | rdf_loader_run();
load_1  | log_enable(1);
load_1  | checkpoint_interval(60);
load_1  | error code: 2
load_1  | output:
load_1  | Connected to OpenLink Virtuoso
load_1  | Driver: 06.01.3127 OpenLink Virtuoso ODBC Driver
load_1  | OpenLink Interactive SQL (Virtuoso), version 0.9849b.
load_1  | Type HELP; for help and EXIT; to exit.
load_1  | SQL> 
load_1  | Done. -- 0 msec.
load_1  | SQL> 
load_1  | Done. -- 0 msec.
load_1  | SQL> 
load_1  | Done. -- 0 msec.
load_1  | SQL> 
load_1  | *** Error 08S01: [Virtuoso Driver]CL065: Lost connection to server
load_1  | at line 4 of Top-Level:
load_1  | rdf_loader_run()
load_1  | [INFO] making checkpoint...
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | checkpoint;
load_1  | error code: 3
load_1  | output:
load_1  | 
load_1  | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
load_1  | at line 0 of Top-Level:
load_1  | [INFO] re-activating auto-indexing
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | DB.DBA.RDF_OBJ_FT_RULE_ADD (null, null, 'All');
load_1  | error code: 3
load_1  | output:
load_1  | 
load_1  | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
load_1  | at line 0 of Top-Level:
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | DB.DBA.VT_INC_INDEX_DB_DBA_RDF_OBJ ();
load_1  | error code: 3
load_1  | output:
load_1  | 
load_1  | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
load_1  | at line 0 of Top-Level:
load_1  | [INFO] making checkpoint...
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | checkpoint;
load_1  | error code: 3
load_1  | output:
load_1  | 
load_1  | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
load_1  | at line 0 of Top-Level:
load_1  | [INFO] update/filling of geo index
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | rdf_geo_fill();
load_1  | error code: 3
load_1  | output:
load_1  | 
load_1  | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
load_1  | at line 0 of Top-Level:
load_1  | [INFO] making checkpoint...
load_1  | [ERROR] running the these commands in virtuoso:
load_1  | checkpoint;
load_1  | error code: 3
load_1  | output:
load_1  | 
load_1  | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
load_1  | at line 0 of Top-Level:
load_1  | [INFO] bulk load done; terminating loader
dlddbpediawd_store_1 exited with code 139
dlddbpediawd_load_1 exited with code 0

Any idea, How to go about solving this?

Installed and sucessfully running the latest_core collection but no results returned for SPARQL queries or pages don't show correctly

Here is a sparql for returning entries related to Steve Jobs' page :

SELECT ?uri ?sameAs
WHERE {
?uri dbo:wikiPageID 7412236 .
?uri owl:sameAs ?sameAs
}

It returns values on live dbpedia but when I run through virtuoso on my machine nothing is returned. Also any dbpedia page(Even non-existing ones) have only on statement which is sameAs, pointing to live dbpedia. as below:

Screenshot (50)

What should I do to make it work on my local machine correctly?

return code of downloader is 0 although files were not loaded completely

store_1     | 19:31:32 HTTP/WebDAV server online at 8890
store_1     | 19:31:32 Server online at 1111 (pid 1)
download_1  | File saved to /root/data/mappingbased-literals_lang=en.ttl.bz2
download_1  | Downloading file: https://downloads.dbpedia.org/repo/lts/mappings/geo-coordinates-mappingbased/2019.09.01/geo-coordinates-mappingbased_lang=en.ttl.bz2
download_1  | File saved to /root/data/geo-coordinates-mappingbased_lang=en.ttl.bz2
download_1  | Downloading file: https://raw.githubusercontent.com/dbpedia/ontology-tracker/master/databus/dbpedia/ontology/dbo-snapshots/2019.02.21T08.00.00Z/dbo-snapshots.nt
download_1  | java.io.FileNotFoundException: https://raw.githubusercontent.com/dbpedia/ontology-tracker/master/databus/dbpedia/ontology/dbo-snapshots/2019.02.21T08.00.00Z/dbo-snapshots.nt
download_1  |   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1896)
download_1  |   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
download_1  |   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
download_1  |   at java.net.URL.openStream(URL.java:1067)
download_1  |   at org.dbpedia.download.Client.main(Client.java:129)
download_1  | Removing LOCK at /root/data
dockerized-dbpedia_download_1 exited with code 0
load_1      | will use ISQL port 1111 to connect
load_1      | [INFO] Waiting for store to come online (s)

Add "getting started" documentation

Right now as far as I've seen there is no documentation regarding how to use the Docker container and the data it contains once it's ready.

  • Is it possible to run Sparql queries in the container ?
  • Is it possible to run queries from the host using docker exec or wget with the port-forwarding that Docker provides ?
  • Is there a way to manage the data which is inside the container using a Web interface ?

Avoid using figlet

This is easy to change, but figlet is a surprising dependency. It is not installed on many servers by default and is not really required so removeing it or replacing it by a simple "echo" could avoid some unnecessary time needed for people to figure out what is going on.

docker for older version

Hi,

I would like to set up an older DBpedia endpoint. I thought maybe the parameter

-b or --baseurl : Set the baseurl for fetching the data-id file
[Default: http://downloads.dbpedia.org/2016-04/core-i18n/lang/2016-04_dataid_lang.ttl]

is useful for that, but the default value is not pointing anywhere. So the concrete question is, can I use the script to install Dbpedia say 2015-04 in english?

Thank you
D063520

Connect failed to store:1111

Hi,
I am encountering issues loading DBpedia into the docker container. (latest core in English)

I am using a Mac M1 with 16GB of system RAM, and macOS Monterey (12.0.1)

After checking my memory and to be sure not to have memory issues, I set the following parameters in config.env:

VIRT_PARAMETERS_NUMBEROFBUFFERS=340000
VIRT_PARAMETERS_MAXDIRTYBUFFERS=250000

(Following recommendation from memory settings page)

The error happens when the script is doing the load process, here are the errors that I get:

virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] Starting load process...
virtuoso-sparql-endpoint-quickstart-store-1     | 11:33:14 PL LOG: Loader started
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | log_enable(2);
virtuoso-sparql-endpoint-quickstart-load-1      | checkpoint_interval(-1);
virtuoso-sparql-endpoint-quickstart-load-1      | set isolation = 'uncommitted';
virtuoso-sparql-endpoint-quickstart-load-1      | rdf_loader_run();
virtuoso-sparql-endpoint-quickstart-load-1      | log_enable(1);
virtuoso-sparql-endpoint-quickstart-load-1      | checkpoint_interval(60);
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 2
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | Connected to OpenLink Virtuoso
virtuoso-sparql-endpoint-quickstart-load-1      | Driver: 06.01.3127 OpenLink Virtuoso ODBC Driver
virtuoso-sparql-endpoint-quickstart-load-1      | OpenLink Interactive SQL (Virtuoso), version 0.9849b.
virtuoso-sparql-endpoint-quickstart-load-1      | Type HELP; for help and EXIT; to exit.
virtuoso-sparql-endpoint-quickstart-load-1      | SQL> 
virtuoso-sparql-endpoint-quickstart-load-1      | Done. -- 1 msec.
virtuoso-sparql-endpoint-quickstart-load-1      | SQL> 
virtuoso-sparql-endpoint-quickstart-load-1      | Done. -- 1 msec.
virtuoso-sparql-endpoint-quickstart-load-1      | SQL> 
virtuoso-sparql-endpoint-quickstart-load-1      | Done. -- 1 msec.
virtuoso-sparql-endpoint-quickstart-load-1      | SQL> 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error 08S01: [Virtuoso Driver]CL065: Lost connection to server
virtuoso-sparql-endpoint-quickstart-load-1      | at line 4 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | rdf_loader_run()
virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] making checkpoint...
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | checkpoint;
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 3
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
virtuoso-sparql-endpoint-quickstart-load-1      | at line 0 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] re-activating auto-indexing
virtuoso-sparql-endpoint-quickstart-store-1 exited with code 137
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | DB.DBA.RDF_OBJ_FT_RULE_ADD (null, null, 'All');
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 3
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
virtuoso-sparql-endpoint-quickstart-load-1      | at line 0 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | DB.DBA.VT_INC_INDEX_DB_DBA_RDF_OBJ ();
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 3
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | The function gethostbyname returned error 4 for host "store".
virtuoso-sparql-endpoint-quickstart-load-1      | 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
virtuoso-sparql-endpoint-quickstart-load-1      | at line 0 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] making checkpoint...
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | checkpoint;
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 3
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | The function gethostbyname returned error 4 for host "store".
virtuoso-sparql-endpoint-quickstart-load-1      | 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
virtuoso-sparql-endpoint-quickstart-load-1      | at line 0 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] update/filling of geo index
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | rdf_geo_fill();
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 3
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | The function gethostbyname returned error 4 for host "store".
virtuoso-sparql-endpoint-quickstart-load-1      | 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
virtuoso-sparql-endpoint-quickstart-load-1      | at line 0 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] making checkpoint...
virtuoso-sparql-endpoint-quickstart-load-1      | [ERROR] running the these commands in virtuoso:
virtuoso-sparql-endpoint-quickstart-load-1      | checkpoint;
virtuoso-sparql-endpoint-quickstart-load-1      | error code: 3
virtuoso-sparql-endpoint-quickstart-load-1      | output:
virtuoso-sparql-endpoint-quickstart-load-1      | The function gethostbyname returned error 4 for host "store".
virtuoso-sparql-endpoint-quickstart-load-1      | 
virtuoso-sparql-endpoint-quickstart-load-1      | *** Error S2801: [Virtuoso Driver]CL033: Connect failed to store:1111 = store:1111.
virtuoso-sparql-endpoint-quickstart-load-1      | at line 0 of Top-Level:
virtuoso-sparql-endpoint-quickstart-load-1      | [INFO] bulk load done; terminating loader
virtuoso-sparql-endpoint-quickstart-load-1 exited with code 0

I saw that a similar issue was opened and closed, but could not find a turnaround.

Have you encountered this type of problem?

Thanks a lot for your help,
Inès

COLLECTION_URI' is not recognized as an internal or external command,

Hi Iam new to the docker development context.

I followed the steps:

  1. git clone https://github.com/dbpedia/virtuoso-sparql-endpoint-quickstart.git (in a command terminal )

image

  1. then cd virtuoso-sparql-endpoint-quickstart
  2. COLLECTION_URI=https://databus.dbpedia.org/dbpedia/collections/virtuoso-sparql-endpoint-quickstart-preview VIRTUOSO_ADMIN_PASSWD=myPassOnhttps://virtuoso.openlinksw.com/ docker-compose up

image

Unfortunatley I get the following error

'COLLECTION_URI' is not recognized as an internal or external command,
operable program or batch file.

I dont know if I shoud execute the lastest command differently.

Im using windows 10. Indeed, I dont what it is VIRTUOSO_ADMIN_PASSWD?

Missing code in the docu

Hi @JJ-Author @holycrab13 ,
last docu commit, the code example was redacted from the README.md

This was actually the most important part of the docu, i.e. it was what I was showing to everybody during presentations. Could you include it again.

@holycrab13 Why don't you create a better collection than: https://databus.dbpedia.org/kurzum/collections/agro

I mean it would be nice to have a demo collection that loads the english cleaned mappings, the ontology and the geo-coordinates and then do a nice query. In addition there should be a full collection URI given (like monthly pr an improved version of pre-release or the German one) here, so that people can also try the real thing.

Clarification about docker configuration beyond Quickstart

The Quickstart instructions are easy and straightforward. But after the data is successfully downloaded and loaded, should this docker-compose configuration be used as-is every time to start the endpoint? Or should the download and/or load containers be disabled?

If I restart the default docker-compose configuration after successfully downloading and loading all of the data, it starts to re-download everything. If I disable the download container, the load container still seems to assume there is work to be done. If I disable both download and load containers, I am surprised to find the store container still pushes two CPU cores to 100% utilization for 20-30 minutes with zero server requests being made (with "High disk read" log messages below). This is all after receiving a "successfully loaded" log message in a previous run. Is there something I need to do to tell the store container that nothing more needs to be done?

store_1  | 14:24:04 Server online at 1111 (pid 1)
store_1  | 14:34:08 * Monitor: High disk read (1)
store_1  | 14:36:10 * Monitor: High disk read (1)
store_1  | 14:38:12 * Monitor: High disk read (1)
store_1  | 14:40:16 * Monitor: High disk read (1)
store_1  | 14:42:17 * Monitor: High disk read (1)
...

control over volumes data location for triplestore files

johann-petrak wrote:

I am also confused as to how one can specify where to persist the data after it has been imported from the downloaded files (not the downloaded files themselves): I think if one follows the steps in the README file, then all the data ends up being in /var/lib/docker which may be mounted on a partition with not enough space?

How long it usually takes for virtuoso to finish load process?

Currently it's running for over 12 hours.
Virtuoso allocated 3.9GiB RAM, 450GiB disk read total, 2GiB disk write total.
System has overall 16GiB of RAM, only 1.5GiB taken by OS.

First I ran
docker run --rm -v /opt/dbpedia/data/en:/dbpedia-download aksw/dld-dist-dbpedia download -l en
then
$ docker run -ti -v /var/run/docker.sock:/var/run/docker.sock -v /opt/dbpedia/data/en:/dbpedia-download --name dld-dbpedia aksw/dld-dist-dbpedia run-dld

I'd drop a log here, but the system isn't very responsive now.

Write wait on column page on Virtuoso

I get the following repeated errors in the Docker log :

Write wait on column page xxxxxx. Waits should be on the index leaf page, except when col page is held for read by background write

Along with :
* Monitor: High disk read (1)
less frequently.

This looks like an open issue on Virtuoso's side (openlink/virtuoso-opensource#44)

Full log : virtuoso_logs.txt

I set up the Docker container the following way :

docker run --rm -v /opt/dbpedia/data/de:/dbpedia-download:z aksw/dld-dist-dbpedia download  -l en
followed by
docker run -ti -v /var/run/docker.sock:/var/run/docker.sock:z -v /opt/dbpedia/data/en:/dbpedia-download:z --name dld-dbpedia aksw/dld-dist-dbpedia run-dld

Host is Ubuntu 16.04 LTS

"git repo not given. Stop here." When attempting to start from pre-downloaded model

I followed the instructions here:

https://hub.docker.com/r/aksw/dld-dist-dbpedia

and downloaded the en language model using this command:

docker run --rm -v dbpedia_en:/dbpedia-download:z aksw/dld-dist-dbpedia download -l en

This process completed successfully, but then when I run

docker run -ti -v /var/run/docker.sock:/var/run/docker.sock:z -v dbpedia_en:/dbpedia-download:z --name dld-dbpedia aksw/dld-dist-dbpedia run-dld

I get the following:

DLD INFO     adding volumes from meta-container: ['dld-dbpedia']
DLD INFO     adding volumes from meta-container: ['dld-dbpedia']
DLD INFO     Finished preparing compose setup. Changing to '/dld-dbpedia-wd' and performing 'docker-compose up'...
Starting dlddbpediawd_store_1
Starting dlddbpediawd_load_1
Attaching to dlddbpediawd_store_1, dlddbpediawd_load_1
store_1 | Reuse existing virtuoso.ini in database directory
store_1 | setting virtuoso dba password...
store_1 |
store_1 |               Mon Mar 28 2022
store_1 | 19:32:13 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:13   FAILED  plugin 1: Unable to locate file }
store_1 | 19:32:13 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:13   FAILED  plugin 2: Unable to locate file }
store_1 | 19:32:13 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:13   FAILED  plugin 3: Unable to locate file }
store_1 | 19:32:13 OpenLink Virtuoso Universal Server
store_1 | 19:32:13 Version 07.20.3213-pthreads for Linux as of May 12 2015
store_1 | 19:32:13 uses parts of OpenSSL, PCRE, Html Tidy
store_1 | 19:32:13 Starting for DBA password change.
store_1 | 19:32:13 Database version 3126
store_1 | 19:32:13 SQL Optimizer enabled (max 1000 layouts)
store_1 | 19:32:14 Compiler unit is timed at 0.000098 msec
store_1 | 19:32:14 Roll forward started
store_1 | 19:32:14 Roll forward complete
store_1 | 19:32:15 PL LOG: Can't get list of vad packages in /usr/share/virtuoso/vad/
store_1 | 19:32:15 The DBA password is changed.
store_1 | 19:32:15 Checkpoint started
store_1 | 19:32:15 Checkpoint finished, log reused
store_1 | 19:32:15 Server exiting
store_1 | starting virtuoso...
store_1 |
store_1 |               Mon Mar 28 2022
store_1 | 19:32:15 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:15   FAILED  plugin 1: Unable to locate file }
store_1 | 19:32:15 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:15   FAILED  plugin 2: Unable to locate file }
store_1 | 19:32:15 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:15   FAILED  plugin 3: Unable to locate file }
store_1 | 19:32:15 OpenLink Virtuoso Universal Server
store_1 | 19:32:15 Version 07.20.3213-pthreads for Linux as of May 12 2015
store_1 | 19:32:15 uses parts of OpenSSL, PCRE, Html Tidy
store_1 | 19:32:15 Database version 3126
store_1 | 19:32:15 SQL Optimizer enabled (max 1000 layouts)
store_1 | 19:32:16 Compiler unit is timed at 0.000098 msec
store_1 | 19:32:16 Roll forward started
store_1 | 19:32:16 Roll forward complete
store_1 | 19:32:16 PL LOG: Can't get list of vad packages in /usr/share/virtuoso/vad/
store_1 | 19:32:16 Checkpoint started
store_1 | 19:32:16 Checkpoint finished, log reused
store_1 | 19:32:16 HTTP/WebDAV server online at 8890
store_1 | 19:32:16 Server online at 1111 (pid 13)
load_1  | CRON_JOB=
load_1  | /virtuoso/cronscript.sh: line 4: [: =: unary operator expected
load_1  | [ERROR] git repo not given. Stop here.

Running the sample SPARQL query:

SELECT ?name ?birth ?death ?person WHERE {      ?person dbo:birthPlace :Berlin .      ?person dbo:birthDate ?birth .      ?person foaf:name ?name .      ?person dbo:deathDate ?death .      FILTER (?birth < "1900-01-01"^^xsd:date) . } ORDER BY ?name

Returns no results. Which to my understanding suggests the downloaded data was not loaded. According to docker the dbpedia_en volume does have some data on it:

dbpedia_en 4.874GB

Though that seems smaller than I expected.

Is there something I'm missing?

I'm running off wsl2, with:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

If it matters, I ran the data download command from the windows host and the run-dld command from the Ubuntu side as there were permission issues running it from the windows side.

Docker engine info:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.7.1)
  compose: Docker Compose (Docker Inc., v2.2.3)
  scan: Docker Scan (Docker Inc., v0.17.0)
WARNING: Plugin "/usr/libexec/docker/cli-plugins/docker-app" is not valid: failed to fetch metadata: fork/exec /usr/libexec/docker/cli-plugins/docker-app: no such file or directory

Server:
 Containers: 6
  Running: 5
  Paused: 0
  Stopped: 1
 Images: 5
 Server Version: 20.10.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.10.102.1-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 14
 Total Memory: 31.32GiB
 Name: docker-desktop
 ID: 7CNA:SSCB:N5XF:7J4D:EASR:KG6C:KUSG:SAN7:EEAE:2ZBP:PMYR:KNZN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5000
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support

cannot see quickstart-preview page/collection

Thanks for providing detailed documentation, but I encountered some problems. This hapened although I am quite familiar with docker and docker-compose.

cannot see preview page

The README file says

In order to verify your setup more quickly you can use the following collection URI instead: http://databus.dbpedia.org/dbpedia/collections/virtuoso-sparql-endpoint-quickstart-preview.
Note that this collection is only a collection of RDF data to test drive the docker compose network and not a DBpedia release. After a short delay the resource http://localhost:8890/page/Berlin should be accessible.

I cannot reach Virtuoso-sparql-endpoint-quickstart-preview. What I see is:

This collection has been hidden by the* author.

more enhancements

Also the downlaod process really takes a long time- But you should say what types of files (.bz2 files) the container will be downloading, and what the filesnames will look like, and what the approximate total download size will be. A measure of "10 GB "is fine , 1 TB isn't for most users, since many of us are working from home during these days of the corona pandemic.

The sparql enddpoint will be unavailable for queries, as long as download and loading hasn't finished, right.

Is it possible the load data-artefact as named graph ?

By looking at the env file i discovered the GRAPH_MODE variable.
But i have the feeling that whatever we put inside, the ttl file are still loaded in the default domain graph.
I developed a quick fix in the fix in the dbpedia-loader image doing the job by naming it depending to the databus naming convention.
Could it be usefull for you ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.