-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbConfig.json
60 lines (60 loc) · 4.01 KB
/
dbConfig.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"vocabularies": {
"Chronostratigraphy": {
"id": "Chronostratigraphy",
"url": "https://dev-graphdb.swissgeol.ch",
"repositoryId": "chronostratigraphy_swisstopo_public_core",
"username": "",
"password": ""
},
"TectonicUnits": {
"id": "TectonicUnits",
"url": "https://dev-graphdb.swissgeol.ch",
"repositoryId": "tektonik_swisstopo_public_core",
"username": "",
"password": ""
},
"Lithostratigraphy": {
"id": "Lithostratigraphy",
"url": "https://dev-graphdb.swissgeol.ch",
"repositoryId": "lithostratigraphy_swisstopo_public_core",
"username": "",
"password": ""
},
"Lithology": {
"id": "Lithology",
"url": "https://dev-graphdb.swissgeol.ch",
"repositoryId": "lithology_swisstopo_public_core",
"username": "",
"password": ""
}
},
"queries": {
"ChronostratigraphyQuery": {
"queryBreadcrumbs": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/Chronostratigraphy/>\n\nSELECT ?narrowerConcept\nWHERE {\n ex:${term} skos:broader+ ?narrowerConcept.\n}",
"queryVocabolo": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/Chronostratigraphy/>\n\nSELECT ?predicate ?object\nWHERE {\n ex:${term} ?predicate ?object .\n}",
"prefLabelOfAllConcept": "SELECT DISTINCT ?subject ?label\nWHERE {\n GRAPH ?graph {\n ?subject ?predicate ?label .\n FILTER(CONTAINS(LCASE(STR(?predicate)), \"label\"))\n FILTER(LANGMATCHES(LANG(?label), \"en\"))\n }\n}"
},
"TectonicUnitsQuery": {
"queryBreadcrumbs": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/TectonicUnits/>\n\nSELECT ?narrowerConcept\nWHERE {\n ex:${term} skos:broader+ ?narrowerConcept.\n}",
"queryVocabolo": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/TectonicUnits/>\n\nSELECT ?predicate ?object\nWHERE {\n ex:${term} ?predicate ?object .\n}",
"prefLabelOfAllConcept": "SELECT DISTINCT ?subject ?label\nWHERE {\n GRAPH ?graph {\n ?subject ?predicate ?label .\n FILTER(CONTAINS(LCASE(STR(?predicate)), \"label\"))\n FILTER(LANGMATCHES(LANG(?label), \"en\"))\n }\n}"
},
"LithostratigraphyQuery": {
"queryBreadcrumbs": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/Lithostratigraphy/>\n\nSELECT ?narrowerConcept\nWHERE {\n ex:${term} skos:broader+ ?narrowerConcept.\n}",
"queryVocabolo": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/Lithostratigraphy/>\n\nSELECT ?predicate ?object\nWHERE {\n ex:${term} ?predicate ?object .\n}",
"prefLabelOfAllConcept": "SELECT DISTINCT ?subject ?label\nWHERE {\n GRAPH ?graph {\n ?subject ?predicate ?label .\n FILTER(CONTAINS(LCASE(STR(?predicate)), \"label\"))\n FILTER(LANGMATCHES(LANG(?label), \"en\"))\n }\n}"
},
"LithologyQuery": {
"queryBreadcrumbs": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/Lithology/>\n\nSELECT ?narrowerConcept\nWHERE {\n ex:${term} skos:broader+ ?narrowerConcept.\n}",
"queryVocabolo": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX ex: <https://dev-lexic.swissgeol.ch/Lithology/>\n\nSELECT ?predicate ?object\nWHERE {\n ex:${term} ?predicate ?object .\n}",
"prefLabelOfAllConcept": "SELECT DISTINCT ?subject ?label\nWHERE {\n GRAPH ?graph {\n ?subject ?predicate ?label .\n FILTER(CONTAINS(LCASE(STR(?predicate)), \"label\"))\n FILTER(LANGMATCHES(LANG(?label), \"en\"))\n }\n}"
},
"labelLanguageOrder": [
"en",
"de",
"fr",
"it"
]
}
}