qa_server 2.2.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/app/assets/stylesheets/qa_server/_authorities.scss +4 -1
  4. data/app/assets/stylesheets/qa_server/_check-status.scss +5 -0
  5. data/app/assets/stylesheets/qa_server/_monitor-status.scss +2 -2
  6. data/app/models/concerns/qa_server/performance_history_data_keys.rb +16 -3
  7. data/app/models/qa_server/performance_history.rb +54 -46
  8. data/app/prepends/prepended_linked_data/find_term.rb +51 -9
  9. data/app/prepends/prepended_linked_data/search_query.rb +37 -9
  10. data/app/prepends/prepended_rdf/rdf_graph.rb +55 -0
  11. data/app/presenters/concerns/qa_server/monitor_status/performance_datatable_behavior.rb +55 -21
  12. data/app/presenters/concerns/qa_server/monitor_status/performance_graph_behavior.rb +54 -25
  13. data/app/presenters/qa_server/monitor_status_presenter.rb +11 -8
  14. data/app/services/qa_server/performance_calculator_service.rb +50 -47
  15. data/app/services/qa_server/performance_graph_data_service.rb +13 -12
  16. data/app/services/qa_server/performance_graphing_service.rb +49 -40
  17. data/app/views/qa_server/monitor_status/_performance.html.erb +107 -32
  18. data/config/locales/qa_server.en.yml +9 -2
  19. data/lib/generators/qa_server/config_generator.rb +1 -0
  20. data/lib/generators/qa_server/templates/config/authorities/linked_data/agrovoc_ld4l_cache.json +8 -1
  21. data/lib/generators/qa_server/templates/config/authorities/linked_data/dbpedia_ld4l_cache.json +8 -1
  22. data/lib/generators/qa_server/templates/config/authorities/linked_data/geonames_ld4l_cache.json +11 -1
  23. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +8 -1
  24. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +8 -1
  25. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +8 -1
  26. data/lib/generators/qa_server/templates/config/authorities/linked_data/locdemographics_ld4l_cache.json +2 -1
  27. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_ld4l_cache.json +51 -42
  28. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +237 -0
  29. data/lib/generators/qa_server/templates/config/authorities/linked_data/locperformance_ld4l_cache.json +75 -3
  30. data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +8 -1
  31. data/lib/generators/qa_server/templates/config/authorities/linked_data/nalt_ld4l_cache.json +8 -1
  32. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +8 -1
  33. data/lib/generators/qa_server/templates/config/authorities/linked_data/rda_registry_ld4l_cache.json +193 -0
  34. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +3 -18
  35. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +27 -0
  36. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml +1 -0
  37. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +255 -0
  38. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/wikidata_direct_validation.yml +6 -0
  39. data/lib/generators/qa_server/templates/config/authorities/linked_data/wikidata_direct.json +32 -0
  40. data/lib/generators/qa_server/templates/config/initializers/qa_server.rb +14 -5
  41. data/lib/generators/qa_server/templates/db/migrate/20191007134527_update_performance_history_table.rb.erb +19 -0
  42. data/lib/qa_server/configuration.rb +27 -5
  43. data/lib/qa_server/version.rb +1 -1
  44. metadata +10 -2
@@ -0,0 +1,237 @@
1
+ {
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ "loc": "http://id.loc.gov/vocabulary/identifiers/",
5
+ "madsrdf": "http://www.loc.gov/mads/rdf/v1#",
6
+ "vivo": "http://vivoweb.org/ontology/core#"
7
+ },
8
+ "term": {
9
+ "url": {
10
+ "@context": "http://www.w3.org/ns/hydra/context.jsonld",
11
+ "@type": "IriTemplate",
12
+ "template": "http://services.ld4l.org/ld4l_services/loc_rwo_name_lookup.jsp?uri={term_uri}",
13
+ "variableRepresentation": "BasicRepresentation",
14
+ "mapping": [
15
+ {
16
+ "@type": "IriTemplateMapping",
17
+ "variable": "term_uri",
18
+ "property": "hydra:freetextQuery",
19
+ "required": true,
20
+ "encode": true
21
+ }
22
+ ]
23
+ },
24
+ "qa_replacement_patterns": {
25
+ "term_id": "term_uri"
26
+ },
27
+ "term_id": "URI",
28
+ "results": {
29
+ "id_ldpath": "^madsrdf:identifiesRWO/loc:lccn ::xsd:string",
30
+ "label_ldpath": "rdfs:label ::xsd:string",
31
+ "altlabel_ldpath": "^madsrdf:identifiesRWO/madsrdf:hasVariant/madsrdf:variantLabel :: xsd:string",
32
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
33
+ }
34
+ },
35
+ "search": {
36
+ "url": {
37
+ "@context": "http://www.w3.org/ns/hydra/context.jsonld",
38
+ "@type": "IriTemplate",
39
+ "template": "http://services.ld4l.org/ld4l_services/loc_rwo_name_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?entity}&{?lang}",
40
+ "variableRepresentation": "BasicRepresentation",
41
+ "mapping": [
42
+ {
43
+ "@type": "IriTemplateMapping",
44
+ "variable": "query",
45
+ "property": "hydra:freetextQuery",
46
+ "required": true,
47
+ "encode": true
48
+ },
49
+ {
50
+ "@type": "IriTemplateMapping",
51
+ "variable": "entity",
52
+ "property": "hydra:freetextQuery",
53
+ "required": false,
54
+ "default": ""
55
+ },
56
+ {
57
+ "@type": "IriTemplateMapping",
58
+ "variable": "maxRecords",
59
+ "property": "hydra:freetextQuery",
60
+ "required": false,
61
+ "default": "20"
62
+ },
63
+ {
64
+ "@type": "IriTemplateMapping",
65
+ "variable": "startRecord",
66
+ "property": "hydra:freetextQuery",
67
+ "required": false,
68
+ "default": "1"
69
+ },
70
+ {
71
+ "@type": "IriTemplateMapping",
72
+ "variable": "lang",
73
+ "property": "hydra:freetextQuery",
74
+ "required": false,
75
+ "default": "en"
76
+ }
77
+ ]
78
+ },
79
+ "qa_replacement_patterns": {
80
+ "query": "query",
81
+ "subauth": "entity"
82
+ },
83
+ "results": {
84
+ "id_ldpath": "^madsrdf:identifiesRWO/loc:lccn ::xsd:string",
85
+ "label_ldpath": "rdfs:label ::xsd:string",
86
+ "sort_ldpath": "vivo:rank ::xsd:string"
87
+ },
88
+ "context": {
89
+ "groups": {
90
+ "dates": {
91
+ "group_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.dates",
92
+ "group_label_default": "Dates"
93
+ },
94
+ "places": {
95
+ "group_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.places",
96
+ "group_label_default": "Places"
97
+ }
98
+ },
99
+ "properties": [
100
+ {
101
+ "property_label_default": "Preferred label",
102
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.type_label",
103
+ "ldpath": "rdfs:label :: xsd:string",
104
+ "selectable": true,
105
+ "drillable": false
106
+ },
107
+ {
108
+ "property_label_default": "Type",
109
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.type_label",
110
+ "ldpath": "rdf:type :: xsd:string",
111
+ "selectable": false,
112
+ "drillable": false
113
+ },
114
+ {
115
+ "property_label_default": "Descriptor",
116
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.type_label",
117
+ "ldpath": "(madsrdf:entityDescriptor/madsrdf:authoritativeLabel) | (madsrdf:entityDescriptor/skos:prefLabel) | (madsrdf:entityDescriptor/rdfs:label) :: xsd:string",
118
+ "selectable": false,
119
+ "drillable": false,
120
+ "subauth": ["person", "organization"]
121
+ },
122
+ {
123
+ "group_id": "dates",
124
+ "property_label_default": "Birth date",
125
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.birth_date",
126
+ "ldpath": "madsrdf:birthDate/rdfs:label :: xsd:string",
127
+ "selectable": false,
128
+ "drillable": false,
129
+ "optional": true,
130
+ "subauth": ["person"]
131
+ },
132
+ {
133
+ "group_id": "dates",
134
+ "property_label_default": "Death date",
135
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.death_date",
136
+ "ldpath": "madsrdf:deathDate/rdfs:label :: xsd:string",
137
+ "selectable": false,
138
+ "drillable": false,
139
+ "subauth": ["person"]
140
+ },
141
+ {
142
+ "group_id": "places",
143
+ "property_label_default": "Location",
144
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.location",
145
+ "ldpath": "(madsrdf:associatedLocale/skos:prefLabel) | (madsrdf:associatedLocale/rdfs:label) :: xsd:string",
146
+ "selectable": false,
147
+ "drillable": false,
148
+ "subauth": ["organization", "family"]
149
+ },
150
+ {
151
+ "property_label_default": "Affiliation",
152
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.field_of_activity",
153
+ "ldpath": "(madsrdf:hasAffiliation/madsrdf:organization/skos:prefLabel) | (madsrdf:hasAffiliation/madsrdf:organization/rdfs:label) | (madsrdf:hasAffiliation/madsrdf:organization/madsrdf:authoritativeLabel) :: xsd:string",
154
+ "selectable": false,
155
+ "drillable": false,
156
+ "subauth": ["person", "organization"]
157
+ },
158
+ {
159
+ "property_label_default": "Field of activity",
160
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.field_of_activity",
161
+ "ldpath": "(madsrdf:fieldOfActivity/skos:prefLabel) | (madsrdf:fieldOfActivity/rdfs:label) :: xsd:string",
162
+ "selectable": false,
163
+ "drillable": false,
164
+ "subauth": ["person", "organization"]
165
+ },
166
+ {
167
+ "property_label_default": "Occupation",
168
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.occupation",
169
+ "ldpath": "(madsrdf:occupation/skos:prefLabel) | (madsrdf:occupation/rdfs:label) | (madsrdf:occupation/madsrdf:authoritativeLabel) :: xsd:string",
170
+ "selectable": false,
171
+ "drillable": false,
172
+ "subauth": ["person", "organization"]
173
+ },
174
+ {
175
+ "group_id": "places",
176
+ "property_label_default": "Birth place",
177
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.birth_place",
178
+ "ldpath": "(madsrdf:birthPlace/skos:prefLabel) | (madsrdf:birthPlace/rdfs:label) :: xsd:string",
179
+ "selectable": false,
180
+ "drillable": false,
181
+ "subauth": ["person"]
182
+ },
183
+ {
184
+ "group_id": "places",
185
+ "property_label_default": "Death place",
186
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.death_place",
187
+ "ldpath": "(madsrdf:deathPlace/skos:prefLabel) | (madsrdf:deathPlace/rdfs:label) :: xsd:string",
188
+ "selectable": false,
189
+ "drillable": false,
190
+ "subauth": ["person"]
191
+ },
192
+ {
193
+ "property_label_default": "VIAF match",
194
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.viaf_match",
195
+ "ldpath": "^madsrdf:identifiesRWO/skos:exactMatch :: xsd:string",
196
+ "selectable": false,
197
+ "drillable": false,
198
+ "subauth": ["person", "organization"]
199
+ },
200
+ {
201
+ "property_label_default": "Variant label",
202
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.variant_label",
203
+ "ldpath": "^madsrdf:identifiesRWO/madsrdf:hasVariant/madsrdf:variantLabel :: xsd:string",
204
+ "selectable": false,
205
+ "drillable": false,
206
+ "subauth": ["person", "organization"]
207
+ },
208
+ {
209
+ "property_label_default": "Citation note",
210
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.citation_note",
211
+ "ldpath": "^madsrdf:identifiesRWO/madsrdf:hasSource/madsrdf:citation-note :: xsd:string",
212
+ "selectable": false,
213
+ "drillable": false
214
+ },
215
+ {
216
+ "property_label_default": "Citation source",
217
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.citation_source",
218
+ "ldpath": "^madsrdf:identifiesRWO/madsrdf:hasSource/madsrdf:citation-source :: xsd:string",
219
+ "selectable": false,
220
+ "drillable": false
221
+ },
222
+ {
223
+ "property_label_default": "Editorial note",
224
+ "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.editorial_note",
225
+ "ldpath": "^madsrdf:identifiesRWO/madsrdf:editorialNote :: xsd:string",
226
+ "selectable": false,
227
+ "drillable": false
228
+ }
229
+ ]
230
+ },
231
+ "subauthorities": {
232
+ "person": "Person",
233
+ "organization": "Organization",
234
+ "family": "Family"
235
+ }
236
+ }
237
+ }
@@ -27,7 +27,7 @@
27
27
  "term_id": "URI",
28
28
  "results": {
29
29
  "id_ldpath": "loc:lccn ::xsd:string",
30
- "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
30
+ "label_ldpath": "skos:prefLabel ::xsd:string",
31
31
  "altlabel_ldpath": "skos:altLabel ::xsd:string",
32
32
  "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
33
33
  }
@@ -36,7 +36,7 @@
36
36
  "url": {
37
37
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
38
38
  "@type": "IriTemplate",
39
- "template": "http://services.ld4l.org/ld4l_services/loc_performance_batch.jsp?{?query}&{?maxRecords}&{?lang}",
39
+ "template": "http://services.ld4l.org/ld4l_services/loc_performance_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?lang}",
40
40
  "variableRepresentation": "BasicRepresentation",
41
41
  "mapping": [
42
42
  {
@@ -53,6 +53,13 @@
53
53
  "required": false,
54
54
  "default": "20"
55
55
  },
56
+ {
57
+ "@type": "IriTemplateMapping",
58
+ "variable": "startRecord",
59
+ "property": "hydra:freetextQuery",
60
+ "required": false,
61
+ "default": "1"
62
+ },
56
63
  {
57
64
  "@type": "IriTemplateMapping",
58
65
  "variable": "lang",
@@ -66,8 +73,73 @@
66
73
  "query": "query"
67
74
  },
68
75
  "results": {
69
- "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
76
+ "label_ldpath": "skos:prefLabel ::xsd:string",
70
77
  "sort_ldpath": "vivo:rank ::xsd:string"
78
+ },
79
+ "context": {
80
+ "groups": {
81
+ "hierarchy": {
82
+ "group_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.hierarchy",
83
+ "group_label_default": "Hierarchy"
84
+ }
85
+ },
86
+ "properties": [
87
+ {
88
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.preferred_label",
89
+ "property_label_default": "Preferred label",
90
+ "ldpath": "skos:prefLabel :: xsd:string",
91
+ "selectable": true,
92
+ "drillable": false
93
+ },
94
+ {
95
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.alt_label",
96
+ "property_label_default": "Alternative Label",
97
+ "ldpath": "skos:altLabel :: xsd:string",
98
+ "selectable": false,
99
+ "drillable": false
100
+ },
101
+ {
102
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.citation_note",
103
+ "property_label_default": "Citation note",
104
+ "ldpath": "madsrdf:hasSource / madsrdf:citation-note :: xsd:string",
105
+ "selectable": false,
106
+ "drillable": false
107
+ },
108
+ {
109
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.citation_source",
110
+ "property_label_default": "Citation source",
111
+ "ldpath": "madsrdf:hasSource / madsrdf:citation-source :: xsd:string",
112
+ "selectable": false,
113
+ "drillable": false
114
+ },
115
+ {
116
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.citation_status",
117
+ "property_label_default": "Citation status",
118
+ "ldpath": "madsrdf:hasSource / madsrdf:citation-status :: xsd:string",
119
+ "selectable": false,
120
+ "drillable": false
121
+ },
122
+ {
123
+ "group_id": "hierarchy",
124
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.broader",
125
+ "property_label_default": "Broader",
126
+ "ldpath": "skos:broader :: xsd:string",
127
+ "selectable": true,
128
+ "drillable": true,
129
+ "expansion_label_ldpath": "skos:prefLabel ::xsd:string",
130
+ "expansion_id_ldpath": "loc:lccn ::xsd:string"
131
+ },
132
+ {
133
+ "group_id": "hierarchy",
134
+ "property_label_i18n": "qa.linked_data.authority.locperformance_ld4l_cache.narrower",
135
+ "property_label_default": "Narrower",
136
+ "ldpath": "skos:narrower :: xsd:string",
137
+ "selectable": true,
138
+ "drillable": true,
139
+ "expansion_label_ldpath": "skos:prefLabel ::xsd:string",
140
+ "expansion_id_ldpath": "loc:lccn ::xsd:string"
141
+ }
142
+ ]
71
143
  }
72
144
  }
73
145
  }
@@ -32,7 +32,7 @@
32
32
  "url": {
33
33
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
34
34
  "@type": "IriTemplate",
35
- "template": "http://services.ld4l.org/ld4l_services/mesh_batch.jsp?{?query}&{?maxRecords}&{?lang}",
35
+ "template": "http://services.ld4l.org/ld4l_services/mesh_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?lang}",
36
36
  "variableRepresentation": "BasicRepresentation",
37
37
  "mapping": [
38
38
  {
@@ -49,6 +49,13 @@
49
49
  "required": false,
50
50
  "default": "20"
51
51
  },
52
+ {
53
+ "@type": "IriTemplateMapping",
54
+ "variable": "startRecord",
55
+ "property": "hydra:freetextQuery",
56
+ "required": false,
57
+ "default": "1"
58
+ },
52
59
  {
53
60
  "@type": "IriTemplateMapping",
54
61
  "variable": "lang",
@@ -35,7 +35,7 @@
35
35
  "url": {
36
36
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
37
37
  "@type": "IriTemplate",
38
- "template": "http://services.ld4l.org/ld4l_services/nalt_batch.jsp?{?query}&{?maxRecords}&{?entity}&{?lang}",
38
+ "template": "http://services.ld4l.org/ld4l_services/nalt_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?entity}&{?lang}",
39
39
  "variableRepresentation": "BasicRepresentation",
40
40
  "mapping": [
41
41
  {
@@ -59,6 +59,13 @@
59
59
  "required": false,
60
60
  "default": "20"
61
61
  },
62
+ {
63
+ "@type": "IriTemplateMapping",
64
+ "variable": "startRecord",
65
+ "property": "hydra:freetextQuery",
66
+ "required": false,
67
+ "default": "1"
68
+ },
62
69
  {
63
70
  "@type": "IriTemplateMapping",
64
71
  "variable": "lang",
@@ -35,7 +35,7 @@
35
35
  "url": {
36
36
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
37
37
  "@type": "IriTemplate",
38
- "template": "http://services.ld4l.org/ld4l_services/fast_batch.jsp?{?query}&{?entity}&{?maxRecords}&{?lang}",
38
+ "template": "http://services.ld4l.org/ld4l_services/fast_batch.jsp?{?query}&{?entity}&{?maxRecords}&{?startRecord}&{?lang}",
39
39
  "variableRepresentation": "BasicRepresentation",
40
40
  "mapping": [
41
41
  {
@@ -59,6 +59,13 @@
59
59
  "required": false,
60
60
  "default": "20"
61
61
  },
62
+ {
63
+ "@type": "IriTemplateMapping",
64
+ "variable": "startRecord",
65
+ "property": "hydra:freetextQuery",
66
+ "required": false,
67
+ "default": "1"
68
+ },
62
69
  {
63
70
  "@type": "IriTemplateMapping",
64
71
  "variable": "lang",
@@ -0,0 +1,193 @@
1
+ {
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ "vivo": "http://vivoweb.org/ontology/core#"
5
+ },
6
+ "term": {},
7
+ "search": {
8
+ "url": {
9
+ "@context": "http://www.w3.org/ns/hydra/context.jsonld",
10
+ "@type": "IriTemplate",
11
+ "template": "http://services.ld4l.org/ld4l_services/rda_batch.jsp?{?entity}&{?query}&{?maxRecords}&{?startRecord}&{?lang}",
12
+ "variableRepresentation": "BasicRepresentation",
13
+ "mapping": [
14
+ {
15
+ "@type": "IriTemplateMapping",
16
+ "variable": "query",
17
+ "property": "hydra:freetextQuery",
18
+ "required": true,
19
+ "encode": true
20
+ },
21
+ {
22
+ "@type": "IriTemplateMapping",
23
+ "variable": "entity",
24
+ "property": "hydra:freetextQuery",
25
+ "required": true
26
+ },
27
+ {
28
+ "@type": "IriTemplateMapping",
29
+ "variable": "maxRecords",
30
+ "property": "hydra:freetextQuery",
31
+ "required": false,
32
+ "default": "20"
33
+ },
34
+ {
35
+ "@type": "IriTemplateMapping",
36
+ "variable": "startRecord",
37
+ "property": "hydra:freetextQuery",
38
+ "required": false,
39
+ "default": "1"
40
+ },
41
+ {
42
+ "@type": "IriTemplateMapping",
43
+ "variable": "lang",
44
+ "property": "hydra:freetextQuery",
45
+ "required": false,
46
+ "default": "en"
47
+ }
48
+ ]
49
+ },
50
+ "qa_replacement_patterns": {
51
+ "query": "query",
52
+ "subauth": "entity"
53
+ },
54
+ "results": {
55
+ "label_ldpath": "skos:prefLabel ::xsd:string",
56
+ "sort_ldpath": "vivo:rank ::xsd:string"
57
+ },
58
+ "context": {
59
+ "groups": {
60
+ "hierarchy": {
61
+ "group_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.hierarchy",
62
+ "group_label_default": "Hierarchy"
63
+ }
64
+ },
65
+ "properties": [
66
+ {
67
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.authoritative_label",
68
+ "property_label_default": "Preferred label",
69
+ "ldpath": "skos:prefLabel :: xsd:string",
70
+ "selectable": true,
71
+ "drillable": false
72
+ },
73
+ {
74
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.alternative_label",
75
+ "property_label_default": "Alternative label",
76
+ "ldpath": "skos:altLabel :: xsd:string",
77
+ "selectable": true,
78
+ "drillable": false
79
+ },
80
+ {
81
+ "group_id": "hierarchy",
82
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.broader",
83
+ "property_label_default": "Broader",
84
+ "ldpath": "skos:broader :: xsd:string",
85
+ "selectable": true,
86
+ "drillable": true,
87
+ "expansion_label_ldpath": "skos:prefLabel ::xsd:string"
88
+ },
89
+ {
90
+ "group_id": "hierarchy",
91
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.narrower",
92
+ "property_label_default": "Narrower",
93
+ "ldpath": "skos:narrower :: xsd:string",
94
+ "selectable": true,
95
+ "drillable": true,
96
+ "expansion_label_ldpath": "skos:prefLabel ::xsd:string"
97
+ },
98
+ {
99
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.related",
100
+ "property_label_default": "Related",
101
+ "ldpath": "skos:related/skos:prefLabel :: xsd:string",
102
+ "selectable": true,
103
+ "drillable": false
104
+ },
105
+ {
106
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.definition",
107
+ "property_label_default": "Definition",
108
+ "ldpath": "skos:definition :: xsd:string",
109
+ "selectable": true,
110
+ "drillable": false
111
+ },
112
+ {
113
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.scope_note",
114
+ "property_label_default": "Scope note",
115
+ "ldpath": "skos:scopeNote :: xsd:string",
116
+ "selectable": true,
117
+ "drillable": false
118
+ },
119
+ {
120
+ "property_label_i18n": "qa.linked_data.authority.rda_carrier_type_ld4l_cache.status",
121
+ "property_label_default": "Status",
122
+ "ldpath": "skos:status/skos:prefLabel :: xsd:string",
123
+ "selectable": true,
124
+ "drillable": false
125
+ }
126
+ ]
127
+ },
128
+ "subauthorities": {
129
+ "aspect_ratio": "AspectRatio",
130
+ "collective_title": "CollTitle",
131
+ "illustrative_content": "IllusContent",
132
+ "mode_of_issuance": "ModeIssue",
133
+ "form_of_musical_notation": "MusNotation",
134
+ "carrier_extent_unit": "RDACarrierEU",
135
+ "carrier_type": "RDACarrierType",
136
+ "cartographic_data_type": "RDACartoDT",
137
+ "colour_content": "RDAColourContent",
138
+ "content_type": "RDAContentType",
139
+ "generation": "RDAGeneration",
140
+ "material": "RDAMaterial",
141
+ "media_type": "RDAMediaType",
142
+ "polarity": "RDAPolarity",
143
+ "recording_sources": "RDARecordingSources",
144
+ "reduction_ratio": "RDAReductionRatio",
145
+ "regional_encoding": "RDARegionalEncoding",
146
+ "terms": "RDATerms",
147
+ "type_of_binding": "RDATypeOfBinding",
148
+ "base_material": "RDAbaseMaterial",
149
+ "production_method": "RDAproductionMethod",
150
+ "form_of_tactile_notation": "TacNotation",
151
+ "bibliographic_format": "bookFormat",
152
+ "broadcast_standard": "broadcastStand",
153
+ "config_playback_channels": "configPlayback",
154
+ "file_type": "fileType",
155
+ "font_size": "fontSize",
156
+ "format_of_notated_music": "formatNoteMus",
157
+ "frequency": "frequency",
158
+ "gender": "gender",
159
+ "groove_pitch": "groovePitch",
160
+ "groove_width": "grooveWidth",
161
+ "layout": "layout",
162
+ "form_of_notated_movement": "noteMove",
163
+ "presentation_format": "presFormat",
164
+ "prod_tactile": "prodTactile",
165
+ "recording_medium": "recMedium",
166
+ "rofch": "rofch",
167
+ "rofchrda": "rofchrda",
168
+ "rofem": "rofem",
169
+ "rofer": "rofer",
170
+ "rofet": "rofet",
171
+ "roffgrda": "roffgrda",
172
+ "rofhf": "rofhf",
173
+ "rofid": "rofid",
174
+ "rofim": "rofim",
175
+ "rofin": "rofin",
176
+ "rofit": "rofit",
177
+ "rofitrda": "rofitrda",
178
+ "rofrm": "rofrm",
179
+ "rofrr": "rofrr",
180
+ "rofrt": "rofrt",
181
+ "rofsf": "rofsf",
182
+ "rofsfrda": "rofsfrda",
183
+ "rofsm": "rofsm",
184
+ "scale_designation": "scale",
185
+ "sound_content": "soundCont",
186
+ "special_playback": "specPlayback",
187
+ "status_of_identification": "statIdentification",
188
+ "track_config": "trackConfig",
189
+ "type_of_recording": "typeRec",
190
+ "video_format": "videoFormat"
191
+ }
192
+ }
193
+ }