-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Blazegraph configuration instructions * Update config parameters for Gremlin-Server/Fuseki/DBPedia Co-authored-by: Michael Chin <[email protected]>
- Loading branch information
1 parent
7e8677e
commit 480127f
Showing
4 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,39 @@ | ||
## Connecting graph notebook to Blazegraph SPARQL Endpoint | ||
|
||
The official SPARQL endpoint for DBPedia is available from https://dbpedia.org/sparql and is based on a Virtuoso engine. | ||
[Blazegraph](https://blazegraph.com/) is an open-source, high-performance RDF triple/quadstore graph-database that can be queried via a SPARQL endpoint. | ||
|
||
It is possible to connect to this endpoint using the following configuration: | ||
For instructions on setting up and running Blazegraph locally, refer to the [Blazegraph Quickstart](https://github.com/blazegraph/database/wiki/Quick_Start) guide. | ||
|
||
After local setup of Blazegraph is complete, set the following configuration to connect from graph-notebook: | ||
|
||
``` | ||
%%graph_notebook_config | ||
{ | ||
"host": "dbpedia.org", | ||
"port": 443, | ||
"auth_mode": "DEFAULT", | ||
"iam_credentials_provider_type": "ROLE", | ||
"load_from_s3_arn": "", | ||
"ssl": true, | ||
"aws_region": "" | ||
"host": "localhost", | ||
"port": 9999, | ||
"ssl": false | ||
} | ||
``` | ||
|
||
Blazegraph also supports use of namespaces, which are used to refer to multiple triple or quad stores that are hosted in the same Blazegraph instance, and can be queried independently. | ||
|
||
To direct SPARQL queries executed from `graph-notebook` to a specific namespace, you can specify the namespace path in your config: | ||
|
||
``` | ||
%%graph_notebook_config | ||
{ | ||
"host": "localhost", | ||
"port": 9999, | ||
"ssl": false, | ||
"sparql": { | ||
"path": "blazegraph/namespace/foo/sparql" | ||
} | ||
} | ||
``` | ||
|
||
This will result in the url `localhost:9999/blazegraph/namespace/foo/sparql` being used when executing any `%%sparql` magic commands. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters