-
Notifications
You must be signed in to change notification settings - Fork 6
Triplestores
This page provides details about working with specific triplestores.
Performance test data for Fuseki, BlazeGraph, and virtuoso is found in [performance-to-2M-fuseki-blaze-virt.xlsx] (https://github.com/ge-semtk/semtk/blob/master/documentationFiles/performance-to-2M-fuseki-blaze-virt.xlsx) Since these tests were performed on a single 9th gen i7 machine, Amazon Neptune cloud performance can not be fairly compared.
- download: apache jena downloads
- run as a server: as explained at apache jena documentation
- add a dataset "DATASET" using the UI, which defaults to http://localhost:3030/
- sample SemTK connection string is
http://localhost:3030/DATASET
Security is controlled by run/shiro.ini. File contains instructions on how to:
- allow admin access beyond localhost
- set up an admin password
- download and start instructions: Blazegraph wiki quick start
- use the default namespace "kb" or create a new one using the UI, which defaults to http://localhost:9999/blazegraph and "namespaces" tab
- sample SemTK connection string is
http://localhost:9999/blazegraph/namespace/kb
If BlazeGraph won't start on windows because the port is in use, open a windows powershell as admin
netstat -ano | grep :9999
gets the process number 1234
taskkill /pid 1234
kills the process. Now restart BlazeGraph.
- download and start instructions: Virtuoso
- sample SemTK connection string is
http://localhost:8890
Note: This is SPARQL1.0 compliant, but not SPARQL1.1. Some literals in VALUES and FILTER statements, etc. may match differently. SemTK attempts to reconcile these differences with fairly good but not perfect success. Further, our team has experienced failures in virtuoso that result in incomplete query results, with no other obvious symptoms.
SemTK supports the AWS Neptune triple store.
- Neptune cluster
- S3 bucket for uploading data to Neptune
Add these exports to semtk-opensource/ENV_OVERRIDE, customizing them for your environment:
- export NEPTUNE_UPLOAD_S3_CLIENT_REGION=region
- export NEPTUNE_UPLOAD_S3_BUCKET_NAME=bucket-name (bucket must be accessible from the instance on which SemTK is running, and from Neptune)
- export NEPTUNE_UPLOAD_S3_AWS_IAM_ROLE_ARN=arn:aws:iam::555555555555:role/app/role-id (allows Neptune to upload from S3 bucket - only needed if IAM authentication is enabled)
To create a Neptune connection in SPARQLgraph, use these values:
- Server URL: the Neptune cluster name (e.g. http://your-cluster-name.us-east-1.neptune.amazonaws.com:8182)
- Server type: "neptune"