SPLENDID: SPLENDID-config.n3

ファイル SPLENDID-config.n3, 2.0 KB (登録者: wu, 10 年 前)
行番号 
1################################################################################
2# Sesame configuration for SPLENDID Federation.
3#
4# ATTENTION: the Sail implementing the sail:sailType must be published
5#            in META-INF/services/org.openrdf.sail.SailFactory
6################################################################################
7@prefix void: <http://rdfs.org/ns/void#>.
8@prefix rep:  <http://www.openrdf.org/config/repository#>.
9@prefix sr:   <http://www.openrdf.org/config/repository/sail#>.
10@prefix sail: <http://www.openrdf.org/config/sail#>.
11@prefix fed:  <http://west.uni-koblenz.de/config/federation/sail#>.
12@prefix src1: <http://cu.kegg.bio2rdf.org/sparql>.
13@prefix src2: <http://cu.drugbank.bio2rdf.org/sparql>.
14@prefix src3: <http://cu.omim.bio2rdf.org/sparql>.
15@prefix src4: <http://cu.sider.bio2rdf.org/sparql>.
16@prefix src5: <http://cu.pharmgkb.bio2rdf.org/sparql>.
17
18[] a rep:Repository ;
19   rep:repositoryTitle "SPLENDID Federation" ;
20   rep:repositoryID "SPLENDID" ;
21   rep:repositoryImpl [
22      rep:repositoryType "openrdf:SailRepository" ;
23      sr:sailImpl [
24         sail:sailType "west:FederationSail" ;
25
26         # sparql endpoints
27         fed:member [
28            rep:repositoryType "west:VoidRepository" ;
29            fed:voidDescription <eval/void/kegg.n3> ;
30            void:sparqlEndpoint src1:
31         ], [
32            rep:repositoryType "west:VoidRepository" ;
33            fed:voidDescription <eval/void/drugbank.n3> ;
34            void:sparqlEndpoint src2:
35        ], [
36            rep:repositoryType "west:VoidRepository" ;
37            fed:voidDescription <eval/void/omim.n3> ;
38            void:sparqlEndpoint src3:
39        ], [
40            rep:repositoryType "west:VoidRepository" ;
41            fed:voidDescription <eval/void/sider.n3> ;
42            void:sparqlEndpoint src4:
43        ], [
44            rep:repositoryType "west:VoidRepository" ;
45            fed:voidDescription <eval/void/pharmgkb.n3> ;
46            void:sparqlEndpoint src5:
47         ]
48      ]
49   ] .