weso / weso-scholia

Collaboration between Scholia and WESO
GNU General Public License v2.0
3 stars 3 forks source link

Blazegraph research #4

Closed ExarcaFidalgo closed 3 years ago

ExarcaFidalgo commented 3 years ago

Play with Blazegraph and add easy instructions to set up, docker integration and more feels about the experience with it.

ExarcaFidalgo commented 3 years ago

Two alternatives for a quick setup: 1) Download Blazegraph JAR and run it with the following command:

java -server -Xmx4g -jar blazegraph.jar

It will be available locally in http://localhost:9999/blazegraph/.

2) Use Blazegraph Docker image by Lyrasis with two commands:

docker run --name blazegraph -d -p 8889:8080 lyrasis/blazegraph:2.1.5
docker logs -f blazegraph

Thus it will run in port 8889.

With any of these alternatives, we can get Blazegraph running in 5 minutes.

The deployed website enables us to easily fill Blazegraph with data (UPDATE) by uploading one or more RDF files in several formats (N3, XML, JSON, Turtle...).

Such data can be SPARQL queried both in the website and by REST in the endpoint http://localhost:9999/blazegraph/sparql?query=

Finally, it allows for an exploration of the graph from a given start URI and configuration of the namespaces -kb by default-.