-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathfuseki-config-hbase.ttl
45 lines (32 loc) · 1.5 KB
/
fuseki-config-hbase.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@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 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_hbase_read_only>
) .
# HBase
#[] ja:loadClass "sparqlrank.SPARQLRankLoader" .
[] ja:loadClass "nl.vu.jena.assembler.HBaseRewriter" .
## ---------------------------------------------------------------
## Read-only HBase dataset (only read services enabled).
<#service_hbase_read_only> rdf:type fuseki:Service ;
rdfs:label "HBase Service (R)" ;
fuseki:name "ds" ;
fuseki:serviceQuery "query" ;
fuseki:serviceQuery "sparql" ;
# fuseki:serviceReadGraphStore "data" ;
# fuseki:serviceReadGraphStore "get" ;
fuseki:dataset <#hbase_dataset_read> .
<#hbase_dataset_read> rdf:type ja:RDFDataset ;
ja:defaultGraph ja:GraphHBase .
ja:GraphHBase rdf:type ja:GraphHBaseType .
ja:GraphHBaseType ja:assembler "nl.vu.jena.assembler.HBaseAssembler" .