You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2017/10/07 12:00:19 UTC
svn commit: r1811410 - in /jena/site/trunk/content/documentation/tdb2:
tdb2_admin.md tdb2_fuseki.md
Author: andy
Date: Sat Oct 7 12:00:19 2017
New Revision: 1811410
URL: http://svn.apache.org/viewvc?rev=1811410&view=rev
Log:
TDB2 documentation
Modified:
jena/site/trunk/content/documentation/tdb2/tdb2_admin.md
jena/site/trunk/content/documentation/tdb2/tdb2_fuseki.md
Modified: jena/site/trunk/content/documentation/tdb2/tdb2_admin.md
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/tdb2/tdb2_admin.md?rev=1811410&r1=1811409&r2=1811410&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/tdb2/tdb2_admin.md (original)
+++ jena/site/trunk/content/documentation/tdb2/tdb2_admin.md Sat Oct 7 12:00:19 2017
@@ -1,4 +1,5 @@
Title: TDB2 - Database Administration
@@backup
+
@@admin
Modified: jena/site/trunk/content/documentation/tdb2/tdb2_fuseki.md
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/tdb2/tdb2_fuseki.md?rev=1811410&r1=1811409&r2=1811410&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/tdb2/tdb2_fuseki.md (original)
+++ jena/site/trunk/content/documentation/tdb2/tdb2_fuseki.md Sat Oct 7 12:00:19 2017
@@ -12,19 +12,20 @@ The base URL will be of the form `http::
Note the `tdb2:` prefix.
- PREFIX : <#>
- PREFIX fuseki: <http://jena.apache.org/fuseki#>
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- **PREFIX tdb2: <http://jena.apache.org/2016/tdb#>**
- PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
+<pre>
+ PREFIX : <#>
+ PREFIX fuseki: <http://jena.apache.org/fuseki#>
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+ <b>PREFIX tdb2: <http://jena.apache.org/2016/tdb#></b>;
+ PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
[] rdf:type fuseki:Server ;
fuseki:services (
- <#service_tdb2>
+ <#service_tdb2>
) .
- <#service_tdb2> rdf:type fuseki:Service ;
+ <#service_tdb2> rdf:type fuseki:Service ;
rdfs:label "TDB2 Service (RW)" ;
fuseki:name "tdb2-database" ;
fuseki:serviceQuery "query" ;
@@ -34,13 +35,14 @@ Note the `tdb2:` prefix.
fuseki:serviceReadWriteGraphStore "data" ;
# A separate read-only graph store endpoint:
fuseki:serviceReadGraphStore "get" ;
- fuseki:dataset <#tdb_dataset_readwrite> ;
+ fuseki:dataset <#tdb_dataset_readwrite> ;
.
- <#tdb_dataset_readwrite> rdf:type **tdb2:DatasetTDB2** ;
- **tdb2:location** "TDB2" ;
+ <#tdb_dataset_readwrite> rdf:type <b>tdb2:DatasetTDB2</b> ;
+ <b>tdb2:location</b> "TDB2" ;
## This works: tdb2:unionDefaultGraph true ;
.
+</pre>
This example is available in [fuseki-tdb2.ttl](https://github.com/apache/jena/tree/master/jena-fuseki2/examples/fuseki-tdb2.ttl)
@@ -52,14 +54,14 @@ editting will be routed to the TDB2 data
For a service configuration in `FUSEKI_BASE/configuration/`:
- PREFIX : <#>
- PREFIX fuseki: <http://jena.apache.org/fuseki#>
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX tdb2: <http://jena.apache.org/2016/tdb#>
- PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
+ PREFIX : <#>
+ PREFIX fuseki: <http://jena.apache.org/fuseki#>
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+ PREFIX tdb2: <http://jena.apache.org/2016/tdb#>
+ PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
- <#service_tdb2> rdf:type fuseki:Service ;
+ <#service_tdb2> rdf:type fuseki:Service ;
rdfs:label "TDB2 Service (RW)" ;
fuseki:name "tdb2-database" ;
fuseki:serviceQuery "query" ;
@@ -69,10 +71,10 @@ For a service configuration in `FUSEKI_B
fuseki:serviceReadWriteGraphStore "data" ;
# A separate read-only graph store endpoint:
fuseki:serviceReadGraphStore "get" ;
- fuseki:dataset <#tdb_dataset_readwrite> ;
+ fuseki:dataset <#tdb_dataset_readwrite> ;
.
- <#tdb_dataset_readwrite> rdf:type **tdb2:DatasetTDB2** ;
+ <#tdb_dataset_readwrite> rdf:type **tdb2:DatasetTDB2** ;
tdb2:location "TDB2" ;
## This works: tdb2:unionDefaultGraph true ;
.