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 2012/01/20 15:43:02 UTC

svn commit: r1233934 - in /incubator/jena/Jena2/Fuseki/trunk: config.ttl config_tdb.ttl

Author: andy
Date: Fri Jan 20 14:43:02 2012
New Revision: 1233934

URL: http://svn.apache.org/viewvc?rev=1233934&view=rev
Log: (empty)

Added:
    incubator/jena/Jena2/Fuseki/trunk/config_tdb.ttl
Modified:
    incubator/jena/Jena2/Fuseki/trunk/config.ttl

Modified: incubator/jena/Jena2/Fuseki/trunk/config.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/config.ttl?rev=1233934&r1=1233933&r2=1233934&view=diff
==============================================================================
Binary files - no diff available.

Added: incubator/jena/Jena2/Fuseki/trunk/config_tdb.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/config_tdb.ttl?rev=1233934&view=auto
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/config_tdb.ttl (added)
+++ incubator/jena/Jena2/Fuseki/trunk/config_tdb.ttl Fri Jan 20 14:43:02 2012
@@ -0,0 +1,49 @@
+@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 tdb:     <http://jena.hpl.hp.com/2008/tdb#> .
+@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
+
+[] rdf:type fuseki:Server ;
+   # Timeout - server-wide default: milliseconds.
+   # Format 1: "1000" -- 1 second timeout
+   # Format 2: "10000,60000" -- 10s timeout to first result, then 60s timeout to for rest of query.
+   # See java doc for ARQ.queryTimeout
+   # ja:context [ ja:cxtName "arq:queryTimeout" ;  ja:cxtValue "10000" ] ;
+   # ja:loadClass "your.code.Class" ;
+
+   fuseki:services (
+     <#service_tdb_all>
+   ) .
+
+# TDB
+[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" .
+tdb:DatasetTDB  rdfs:subClassOf  ja:RDFDataset .
+tdb:GraphTDB    rdfs:subClassOf  ja:Model .
+
+## ---------------------------------------------------------------
+## Updatable TDB dataset with all servcies enabled.
+
+<#service_tdb_all> rdf:type fuseki:Service ;
+    rdfs:label                      "TDB Service" ;
+    fuseki:name                     "ds" ;       # http://host:port/ds
+    fuseki:serviceQuery             "query" ;    # SPARQL query service
+    fuseki:serviceQuery             "sparql" ;   # SPARQL query service
+    fuseki:serviceUpdate            "update" ;   # SPARQL query service
+    fuseki:serviceUpload            "upload" ;   # Non-SPARQL upload service
+    fuseki:serviceReadWriteGraphStore      "data" ;     # SPARQL Graph store protocol (read and write)
+    # A separate read-only graph store endpoint:
+    fuseki:serviceReadGraphStore       "get" ;   # SPARQL Graph store protocol (read only)
+    fuseki:dataset           <#tdb_dataset> ;
+    .
+## ---------------------------------------------------------------
+## TDB dataset with all 
+
+<#tdb_dataset> rdf:type      tdb:DatasetTDB ;
+    tdb:location "DB" ;
+##     # Query timeout on this dataset (milliseconds)
+##     ja:context [ ja:cxtName "arq:queryTimeout" ;  ja:cxtValue "1000" ] ;
+##     # Default graph for query is the (read-only) union of all named graphs.
+##     tdb:unionDefaultGraph true ;
+     .
\ No newline at end of file