-
Notifications
You must be signed in to change notification settings - Fork 30
/
lod_full_config.json
164 lines (164 loc) · 5.46 KB
/
lod_full_config.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"prefixes": {
"schema": "http://www.w3.org/2000/01/rdf-schema#",
"skos": "http://www.w3.org/2004/02/skos/core#"
},
"term": {
"url": {
"@context": "http://www.w3.org/ns/hydra/context.jsonld",
"@type": "IriTemplate",
"template": "http://localhost/test_default/term/{?subauth}/{?term_id}?param1={?param1}¶m2={?param2}",
"variableRepresentation": "BasicRepresentation",
"mapping": [
{
"@type": "IriTemplateMapping",
"variable": "term_id",
"property": "hydra:freetextQuery",
"required": true
},
{
"@type": "IriTemplateMapping",
"variable": "subauth",
"property": "hydra:freetextQuery",
"required": false,
"default": "term_sub2_name"
},
{
"@type": "IriTemplateMapping",
"variable": "param1",
"property": "hydra:freetextQuery",
"required": false,
"default": "alpha"
},
{
"@type": "IriTemplateMapping",
"variable": "param2",
"property": "hydra:freetextQuery",
"required": false,
"default": "beta"
}
]
},
"qa_replacement_patterns": {
"term_id": "term_id",
"subauth": "subauth"
},
"term_id": "ID",
"language": [ "en" ],
"results": {
"id_predicate": "http://purl.org/dc/terms/identifier",
"label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
"altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
"broader_predicate": "http://www.w3.org/2004/02/skos/core#broader",
"narrower_predicate": "http://www.w3.org/2004/02/skos/core#narrower",
"sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
},
"subauthorities": {
"term_sub1_key": "term_sub1_name",
"term_sub2_key": "term_sub2_name",
"term_sub3_key": "term_sub3_name"
}
},
"search": {
"url": {
"@context": "http://www.w3.org/ns/hydra/context.jsonld",
"@type": "IriTemplate",
"template": "http://localhost/test_default/search?subauth={?subauth}&query={?query}¶m1={?param1}¶m2={?param2}",
"variableRepresentation": "BasicRepresentation",
"mapping": [
{
"@type": "IriTemplateMapping",
"variable": "query",
"property": "hydra:freetextQuery",
"required": true
},
{
"@type": "IriTemplateMapping",
"variable": "subauth",
"property": "hydra:freetextQuery",
"required": false,
"default": "search_sub1_name"
},
{
"@type": "IriTemplateMapping",
"variable": "param1",
"property": "hydra:freetextQuery",
"required": false,
"default": "delta"
},
{
"@type": "IriTemplateMapping",
"variable": "param2",
"property": "hydra:freetextQuery",
"required": false,
"default": "echo"
}
]
},
"qa_replacement_patterns": {
"query": "query",
"subauth": "subauth"
},
"language": [ "en", "fr", "de" ],
"results": {
"id_predicate": "http://purl.org/dc/terms/identifier",
"label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
"altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
"sort_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel"
},
"context": {
"groups": {
"dates": {
"group_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.dates",
"group_label_default": "Dates"
},
"hierarchy": {
"group_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.hierarchy",
"group_label_default": "Hierarchy"
}
},
"properties": [
{
"property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.authoritative_label",
"property_label_default": "Authoritative Label",
"ldpath": "madsrdf:authoritativeLabel",
"selectable": true,
"drillable": false
},
{
"group_id": "dates",
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.birth_date",
"property_label_default": "Birth",
"ldpath": "madsrdf:identifiesRWO/madsrdf:birthDate/schema:label",
"selectable": false,
"drillable": false
},
{
"group_id": "hierarchy",
"property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.narrower",
"property_label_default": "Narrower",
"ldpath": "skos:narrower :: xsd:string",
"selectable": true,
"drillable": true,
"expansion_label_ldpath": "skos:prefLabel ::xsd:string",
"expansion_id_ldpath": "loc:lccn ::xsd:string"
},
{
"group_id": "hierarchy",
"property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.broader",
"property_label_default": "Broader",
"ldpath": "skos:broader :: xsd:string",
"selectable": true,
"drillable": true,
"expansion_label_ldpath": "skos:prefLabel ::xsd:string",
"expansion_id_ldpath": "loc:lccn ::xsd:string"
}
]
},
"subauthorities": {
"search_sub1_key": "search_sub1_name",
"search_sub2_key": "search_sub2_name",
"search_sub3_key": "search_sub3_name"
}
}
}