Re: Visualizing RDF graphs in Jupyter notebooks

Hi Agnieszka, all,

We built a template in Jupyter Notebooks that eases loading, filtering and analysing RDF graphs including visualisations with networkx that may be useful: https://colab.research.google.com/github/descepolo/rdf-network-analysis/blob/master/rdf-network-analysis.ipynb

Best,
Albert

> On 3 Mar 2021, at 14:34, Roberto García <roberto@rhizomik.net> wrote:
> 
> 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 <http://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 <http://rhizomik.net/~roberto>
> 
> On Thu, Feb 25, 2021 at 9:26 AM Nicolas Chauvat <nicolas.chauvat@logilab.fr <mailto: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 <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 <https://github.com/paulhoule/gastrodon> that I used in
> trainings to make trainees practice with hands-on exercises.
> 
> -- 
> Nicolas Chauvat
> 
> logilab.fr <http://logilab.fr/> - services en informatique scientifique et gestion de connaissances  
> 

Received on Friday, 5 March 2021 10:49:51 UTC