Difference between revisions of " Quick Start"

From Blazegraph
Jump to: navigation, search
Line 1: Line 1:
 +
==Start Blazegraph==
 +
 
You can start your acquaintance with Blazegraph™ from Blazegraph Workbench (a frontend to the NanoSparqlServer), just running it from a command line.  
 
You can start your acquaintance with Blazegraph™ from Blazegraph Workbench (a frontend to the NanoSparqlServer), just running it from a command line.  
  
Line 21: Line 23:
 
[[File:Screen12.png| 800px]]
 
[[File:Screen12.png| 800px]]
  
==Load data==
+
==Load Data==
 
You can load the file '''/tmp/blazgraph/data.n3''' (for example, get [https://github.com/SYSTAP/blazegraph-samples/blob/53f615248f33f767d2b259472d84f19452d39aa5/sample-sesame-embedded/src/main/resources/data.n3 this file]) through the "Update" tab:
 
You can load the file '''/tmp/blazgraph/data.n3''' (for example, get [https://github.com/SYSTAP/blazegraph-samples/blob/53f615248f33f767d2b259472d84f19452d39aa5/sample-sesame-embedded/src/main/resources/data.n3 this file]) through the "Update" tab:
 
<pre>
 
<pre>
Line 28: Line 30:
 
[[File:screen11.png|800px]]
 
[[File:screen11.png|800px]]
  
==Query data==
+
==Query Data==
 
You can issue SPARQL queries through the "Query" tab:
 
You can issue SPARQL queries through the "Query" tab:
 
<pre>
 
<pre>
Line 34: Line 36:
 
</pre>
 
</pre>
 
[[File:screen13.png|800px]]
 
[[File:screen13.png|800px]]
 +
 +
==Create Namespace==
 +
 +
On the first start of Blazegraph one default namespace is created (named 'namespace'). You can use 'NAMESPACES' tab for further manipulations with namespaces.
 +
 +
To create a new namespace fill in the 'Name' field, configure desired options and press 'Create namespace' button.
 +
[[File:screen14.png|800px]]
 +
 +
You may adjust properties for a namespace on your convenience, then press 'Create' button:
 +
[[File:screen15.png|800px]]
 +
 +
A new namespace is added to namespaces list:
 +
[[File:screen16.png|800px]]
 +
 +
==Clone Namespace==
 +
 +
You could clone any existing namespace, using 'Clone' control (it will store specified namespace properties for clone purposes):
 +
[[File:screen17.png|800px]]
 +
 +
Field 'Name' gets focus, you need to enter a name for new cloned namespace and press 'Create namespace' button.
 +
 +
You may adjust properties for a namespace on your convenience (note, that properties are copied from the original namespace, configuration options for store mode, Inference, Isolatable indices and Full text index override configuration of the original namespace), then press 'Create' button:
 +
[[File:screen18.png|800px]]
 +
 +
A cloned namespace is added to namespaces list:
 +
[[File:screen19.png|800px]]

Revision as of 12:17, 22 January 2016

Start Blazegraph

You can start your acquaintance with Blazegraph™ from Blazegraph Workbench (a frontend to the NanoSparqlServer), just running it from a command line.

Download the latest bigdata-bundled.jar file and run it:

java -server -Xmx4g -jar bigdata-bundled.jar

...

serviceURL: http://127.0.0.1:9999


Welcome to Blazegraph(tm) by SYSTAP.


Go to http://localhost:9999/bigdata/ to get started.

Once it started, the default workbench location is http://localhost:9999/bigdata/:

Screen12.png

Load Data

You can load the file /tmp/blazgraph/data.n3 (for example, get this file) through the "Update" tab:

load <file:///tmp/blazegraph/data.n3>

Screen11.png

Query Data

You can issue SPARQL queries through the "Query" tab:

select * where { <http://blazegraph.com/blazegraph> ?p ?o }

Screen13.png

Create Namespace

On the first start of Blazegraph one default namespace is created (named 'namespace'). You can use 'NAMESPACES' tab for further manipulations with namespaces.

To create a new namespace fill in the 'Name' field, configure desired options and press 'Create namespace' button. Screen14.png

You may adjust properties for a namespace on your convenience, then press 'Create' button: Screen15.png

A new namespace is added to namespaces list: Screen16.png

Clone Namespace

You could clone any existing namespace, using 'Clone' control (it will store specified namespace properties for clone purposes): Screen17.png

Field 'Name' gets focus, you need to enter a name for new cloned namespace and press 'Create namespace' button.

You may adjust properties for a namespace on your convenience (note, that properties are copied from the original namespace, configuration options for store mode, Inference, Isolatable indices and Full text index override configuration of the original namespace), then press 'Create' button: Screen18.png

A cloned namespace is added to namespaces list: Screen19.png