W3C home > Mailing lists > Public > semantic-web@w3.org > March 2021

Re: Visualizing RDF graphs in Jupyter notebooks

From: Roberto García <roberto@rhizomik.net>
Date: Wed, 3 Mar 2021 15:34:16 +0100
Message-ID: <CADQMfzpkvBXeNJ8arrAOC1C=hkTftCOPNi-5PtUnRMEBmuB3EA@mail.gmail.com>
To: Nolan Nichols <nolan.nichols@gmail.com>, Agnieszka Lawrynowicz <alawrynowicz@cs.put.poznan.pl>, Martin Hepp <mfhepp@gmail.com>, "semantic-web@w3.org" <semantic-web@w3.org>
Dear all,

The graph-notebook nbextension from AWS can be used with other SPARQL
endpoints beyond Neptune or Blazegraph. After installing it locally, I was
able to configure it to query DBPedia or a local Fuseki.

The config file for DBPedia official SPARQL endpoint, just paste it into a
cell and run it:

%%graph_notebook_config
> {
>   "host": "dbpedia.org",
>   "port": 443,
>   "auth_mode": "DEFAULT",
>   "iam_credentials_provider_type": "ROLE",
>   "load_from_s3_arn": "",
>   "ssl": true,
>   "aws_region": "",
>   "sparql": {
>     "endpoint_prefix": ""
>   }
> }


And for a Fuseki server running locally in the same machine as Jupyter with
the graph-notebook extension
(in this case, the dataset is "ds" and thus it should be added to the
endpoint URL, this is set with "endpoint_prefix"):

%%graph_notebook_config
> {
>   "host": "localhost",
>   "port": 3030,
>   "auth_mode": "DEFAULT",
>   "iam_credentials_provider_type": "ROLE",
>   "load_from_s3_arn": "",
>   "ssl": false,
>   "aws_region": "",
>   "sparql": {
>     "endpoint_prefix": "ds"
>   }
> }



Roberto García
http://rhizomik.net/~roberto


On Thu, Feb 25, 2021 at 9:26 AM Nicolas Chauvat <nicolas.chauvat@logilab.fr>
wrote:

> On Wed, Feb 24, 2021 at 01:15:57PM -0800, Nolan Nichols wrote:
> > If you're not opposed to using a triplestore like blazegraph you might
> > checkout the graph-notebook nbextenstion from AWS:
> > https://github.com/aws/graph-notebook
>
> I did not know this one, thank you. It makes me realize I forgot to
> mention https://github.com/paulhoule/gastrodon that I used in
> trainings to make trainees practice with hands-on exercises.
>
> --
> Nicolas Chauvat
>
> logilab.fr - services en informatique scientifique et gestion de
> connaissances
>
>
Received on Wednesday, 3 March 2021 14:35:07 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:42:13 UTC