qa_server 7.5.1 → 7.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_fixme.yml +0 -3
- data/.travis.yml +1 -1
- data/CHANGELOG.md +7 -0
- data/app/controllers/qa_server/monitor_status_controller.rb +3 -3
- data/app/models/qa_server/search_scenario.rb +6 -0
- data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
- data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
- data/config/locales/qa_server.en.yml +1 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +24 -14
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +4 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +1 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +5 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +2 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +0 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +3 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +5 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +0 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +0 -9
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +1 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +11 -11
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +1 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +246 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +8 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +13 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +19 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +0 -3
- data/lib/qa_server/version.rb +1 -1
- data/qa_server.gemspec +5 -5
- data/spec/feature/accuracy_spec.rb +1 -1
- metadata +32 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76e06f7b15b4f8041797890dd3e4f7c362d73e73a31808060361cbcf16b4fe46
|
4
|
+
data.tar.gz: efbd4527118c03ea42c1075a69196fd4aa6696a524d2c675085a280aa0838d5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d22de7e60cfb453837013bc4b0ca6df756bfbc9f180ea9d27f28734a6822e3606dd32f73cd1fd8eb9fd563985ce706c9e18fb4055129fa3c17a6cc11f6955deb
|
7
|
+
data.tar.gz: c334da18f0a702644149e7228ecfb2407234feb3fe3e663388429f5513e3ca1a3f39ba9f364ce48213b17907b7bb0a27b4dbd53eb21d157047c7b254eeb8bacb
|
data/.rubocop_fixme.yml
CHANGED
data/.travis.yml
CHANGED
@@ -26,7 +26,7 @@ env:
|
|
26
26
|
# It should be sufficient to test only the latest of the patch versions for a minor version, they
|
27
27
|
# should be compatible across patch versions (only bug fixes are released in patch versions).
|
28
28
|
matrix:
|
29
|
-
- "RAILS_VERSION=5.2.
|
29
|
+
- "RAILS_VERSION=5.2.5"
|
30
30
|
|
31
31
|
services:
|
32
32
|
- redis-server
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### 7.6.0 (2021-04-12)
|
2
|
+
|
3
|
+
* update authority configs and test scenarios to use the new cache indexing with results stored as blobs in the index
|
4
|
+
* update to Rails 5.2.5
|
5
|
+
* update dependencies
|
6
|
+
* fix exception when first time running monitor status
|
7
|
+
|
1
8
|
### 7.5.1 (2020-12-08)
|
2
9
|
|
3
10
|
* define missing i18n translations
|
@@ -21,7 +21,7 @@ module QaServer
|
|
21
21
|
historical_summary_data: historical_data,
|
22
22
|
performance_data: performance_table_data)
|
23
23
|
QaServer.config.monitor_logger.debug("~~~~~~~~ DONE rendering monitor status")
|
24
|
-
render 'index', status: :internal_server_error if latest_summary
|
24
|
+
render 'index', status: :internal_server_error if latest_summary&.failing_authority_count&.positive?
|
25
25
|
end
|
26
26
|
|
27
27
|
private
|
@@ -43,13 +43,13 @@ module QaServer
|
|
43
43
|
|
44
44
|
# @returns [QaServer::ScenarioRunSummary] summary statistics on the latest run
|
45
45
|
def latest_summary
|
46
|
-
QaServer::ScenarioRunSummaryCache.summary_for_run(run: latest_test_run)
|
46
|
+
latest_test_run ? QaServer::ScenarioRunSummaryCache.summary_for_run(run: latest_test_run) : nil
|
47
47
|
end
|
48
48
|
|
49
49
|
# @returns [Array<Hash>] scenario details for any failing scenarios in the latest run
|
50
50
|
# @see QaServer::ScenarioRunHistory#run_failures for structure of output
|
51
51
|
def latest_failures
|
52
|
-
QaServer::ScenarioRunFailuresCache.failures_for_run(run: latest_test_run)
|
52
|
+
latest_test_run ? QaServer::ScenarioRunFailuresCache.failures_for_run(run: latest_test_run) : nil
|
53
53
|
end
|
54
54
|
|
55
55
|
# Get a summary level of historical data
|
@@ -13,12 +13,13 @@ module QaServer::MonitorStatus
|
|
13
13
|
|
14
14
|
# @return [ActiveSupport::TimeWithZone] date time stamp of last test run
|
15
15
|
def last_updated_dt
|
16
|
-
@current_summary.run_dt_stamp
|
16
|
+
@current_summary ? @current_summary.run_dt_stamp : QaServer::TimeService.current_time
|
17
17
|
end
|
18
18
|
|
19
19
|
# @return [String] date with time of last test run
|
20
20
|
def last_updated
|
21
|
-
|
21
|
+
return I18n.t('qa_server.monitor_status.summary.no_data') if @current_summary.blank?
|
22
|
+
I18n.t('qa_server.monitor_status.summary.last_updated', date: QaServer::TimeService.pretty_time(last_updated_dt))
|
22
23
|
end
|
23
24
|
|
24
25
|
# @return [ActiveSupport::TimeWithZone] date time stamp of first recorded test run
|
@@ -33,12 +34,12 @@ module QaServer::MonitorStatus
|
|
33
34
|
|
34
35
|
# @return [Integer] number of loaded authorities
|
35
36
|
def authorities_count
|
36
|
-
@current_summary.authority_count
|
37
|
+
@current_summary ? @current_summary.authority_count : "N/A"
|
37
38
|
end
|
38
39
|
|
39
40
|
# @return [Integer] number of authorities with failing tests in the latest test run
|
40
41
|
def failing_authorities_count
|
41
|
-
@current_failure_data.map { |f| f[:authority_name] }.uniq.count
|
42
|
+
@current_failure_data ? @current_failure_data.map { |f| f[:authority_name] }.uniq.count : "N/A"
|
42
43
|
end
|
43
44
|
|
44
45
|
# @return [String] css style class representing whether all tests passed or any failed
|
@@ -48,17 +49,17 @@ module QaServer::MonitorStatus
|
|
48
49
|
|
49
50
|
# @return [Integer] number of tests in the latest test run
|
50
51
|
def tests_count
|
51
|
-
@current_summary.total_scenario_count
|
52
|
+
@current_summary ? @current_summary.total_scenario_count : 0
|
52
53
|
end
|
53
54
|
|
54
55
|
# @return [Integer] number of passing tests in the latest test run
|
55
56
|
def passing_tests_count
|
56
|
-
@current_summary.passing_scenario_count
|
57
|
+
@current_summary ? @current_summary.passing_scenario_count : 0
|
57
58
|
end
|
58
59
|
|
59
60
|
# @return [Integer] number of failing tests in the latest test run
|
60
61
|
def failing_tests_count
|
61
|
-
@current_summary.failing_scenario_count
|
62
|
+
@current_summary ? @current_summary.failing_scenario_count : 0
|
62
63
|
end
|
63
64
|
|
64
65
|
# @return [String] css style class representing whether all tests passed or any failed
|
@@ -77,7 +78,7 @@ module QaServer::MonitorStatus
|
|
77
78
|
# url: '/qa/search/linked_data/locnames_ld4l_cache/person?q=mark twain&maxRecords=4',
|
78
79
|
# err_message: 'Exception: Something went wrong.' }, ... ]
|
79
80
|
def failures
|
80
|
-
@current_failure_data
|
81
|
+
@current_failure_data ? @current_failure_data : []
|
81
82
|
end
|
82
83
|
|
83
84
|
# @return [Boolean] true if failure data exists for the latest test run; otherwise false
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<td class="status-neutral"><%= @presenter.tests_count %></td>
|
18
18
|
</tr>
|
19
19
|
</table>
|
20
|
-
<p class="status-update-dtstamp"><%=
|
20
|
+
<p class="status-update-dtstamp"><%= @presenter.last_updated %></p>
|
21
21
|
|
22
22
|
<% if @presenter.failures?%>
|
23
23
|
<div id="failures" class="status-section">
|
@@ -68,6 +68,7 @@ en:
|
|
68
68
|
failing_tests: Failing Tests
|
69
69
|
total_tests: TOTAL Tests
|
70
70
|
last_updated: 'Status last updated %{date} ET'
|
71
|
+
no_data: 'No Data Available (Common Cause: first time tests are running)'
|
71
72
|
failures:
|
72
73
|
title: Failures During Latest Status Update
|
73
74
|
status: Status
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
"service_uri": "http://ld4l.org/ld4l_services/cache",
|
4
4
|
"prefixes": {
|
5
5
|
"getty": "http://vocab.getty.edu/ontology#",
|
6
|
-
"
|
7
|
-
"
|
6
|
+
"skosxl": "http://www.w3.org/2008/05/skos-xl#",
|
7
|
+
"vivo": "http://vivoweb.org/ontology/core#"
|
8
8
|
},
|
9
9
|
"term": {
|
10
10
|
"url": {
|
@@ -28,11 +28,9 @@
|
|
28
28
|
"term_id": "URI",
|
29
29
|
"results": {
|
30
30
|
"id_ldpath": "dc:identifier ::xsd:string",
|
31
|
-
"label_ldpath": "
|
32
|
-
"altlabel_ldpath": "
|
33
|
-
"broader_ldpath": "
|
34
|
-
"narrower_ldpath": "skos:narrower ::xsd:anyURI",
|
35
|
-
"sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
|
31
|
+
"label_ldpath": "^foaf:focus/skosxl:prefLabel/skosxl:literalForm :: xsd:string",
|
32
|
+
"altlabel_ldpath": "^foaf:focus/skosxl:altLabel/skosxl:literalForm :: xsd:string",
|
33
|
+
"broader_ldpath": "^foaf:focus/getty:broaderPreferred ::xsd:anyURI"
|
36
34
|
}
|
37
35
|
},
|
38
36
|
"search": {
|
@@ -79,8 +77,7 @@
|
|
79
77
|
},
|
80
78
|
"total_count_ldpath": "vivo:count",
|
81
79
|
"results": {
|
82
|
-
"
|
83
|
-
"label_ldpath": "skos:prefLabel ::xsd:string",
|
80
|
+
"label_ldpath": "^foaf:focus/skosxl:prefLabel/skosxl:literalForm :: xsd:string",
|
84
81
|
"sort_ldpath": "vivo:rank ::xsd:string"
|
85
82
|
},
|
86
83
|
"context": {
|
@@ -88,28 +85,42 @@
|
|
88
85
|
{
|
89
86
|
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.preferred_label",
|
90
87
|
"property_label_default": "Preferred label",
|
91
|
-
"ldpath": "^foaf:focus/
|
88
|
+
"ldpath": "^foaf:focus/skosxl:prefLabel/skosxl:literalForm :: xsd:string",
|
92
89
|
"selectable": true,
|
93
90
|
"drillable": false
|
94
91
|
},
|
95
92
|
{
|
96
93
|
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.variant_label",
|
97
94
|
"property_label_default": "Variant Label",
|
98
|
-
"ldpath": "^foaf:focus/
|
95
|
+
"ldpath": "^foaf:focus/skosxl:altLabel/skosxl:literalForm :: xsd:string",
|
96
|
+
"selectable": false,
|
97
|
+
"drillable": false
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.parent_body",
|
101
|
+
"property_label_default": "Parent body",
|
102
|
+
"ldpath": "^foaf:focus/getty:parentString :: xsd:string",
|
103
|
+
"selectable": false,
|
104
|
+
"drillable": false
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.parent_body_abbreviation",
|
108
|
+
"property_label_default": "Parent body (abbreviation)",
|
109
|
+
"ldpath": "^foaf:focus/getty:parentStringAbbrev :: xsd:string",
|
99
110
|
"selectable": false,
|
100
111
|
"drillable": false
|
101
112
|
},
|
102
113
|
{
|
103
114
|
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.place_type",
|
104
115
|
"property_label_default": "Place type",
|
105
|
-
"ldpath": "^foaf:focus/
|
116
|
+
"ldpath": "^foaf:focus/getty:placeTypePreferred :: xsd:string",
|
106
117
|
"selectable": false,
|
107
118
|
"drillable": false
|
108
119
|
},
|
109
120
|
{
|
110
121
|
"property_label_i18n": "qa.linked_data.authority.getty_aat_ld4l_cache.broader",
|
111
122
|
"property_label_default": "Broader",
|
112
|
-
"ldpath": "^foaf:focus/
|
123
|
+
"ldpath": "^foaf:focus/getty:broaderPreferred :: xsd:string",
|
113
124
|
"selectable": false,
|
114
125
|
"drillable": true,
|
115
126
|
"expansion_label_ldpath": "skos:prefLabel ::xsd:string",
|
@@ -119,4 +130,3 @@
|
|
119
130
|
}
|
120
131
|
}
|
121
132
|
}
|
122
|
-
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
"QA_CONFIG_VERSION": "2.2",
|
3
3
|
"service_uri": "http://ld4l.org/ld4l_services/cache",
|
4
4
|
"prefixes": {
|
5
|
+
"getty": "http://vocab.getty.edu/ontology#",
|
6
|
+
"schema": "https://schema.org/",
|
7
|
+
"skosxl": "http://www.w3.org/2008/05/skos-xl#",
|
5
8
|
"vivo": "http://vivoweb.org/ontology/core#"
|
6
9
|
},
|
7
10
|
"term": {
|
@@ -26,11 +29,9 @@
|
|
26
29
|
"term_id": "URI",
|
27
30
|
"results": {
|
28
31
|
"id_ldpath": "dc:identifier ::xsd:string",
|
29
|
-
"label_ldpath": "
|
30
|
-
"altlabel_ldpath": "
|
31
|
-
"broader_ldpath": "
|
32
|
-
"narrower_ldpath": "skos:narrower ::xsd:anyURI",
|
33
|
-
"sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
|
32
|
+
"label_ldpath": "^foaf:focus / skosxl:prefLabel / skosxl:literalForm ::xsd:string",
|
33
|
+
"altlabel_ldpath": "^foaf:focus/skosxl:altLabel/skosxl:literalForm :: xsd:string",
|
34
|
+
"broader_ldpath": "^foaf:focus/getty:broaderPreferred/skosxl:altLabel/skosxl:literalForm ::xsd:anyURI"
|
34
35
|
}
|
35
36
|
},
|
36
37
|
"search": {
|
@@ -85,14 +86,109 @@
|
|
85
86
|
},
|
86
87
|
"total_count_ldpath": "vivo:count",
|
87
88
|
"results": {
|
88
|
-
"
|
89
|
-
"label_ldpath": "skos:prefLabel ::xsd:string",
|
89
|
+
"label_ldpath": "^foaf:focus / skosxl:prefLabel / skosxl:literalForm ::xsd:string",
|
90
90
|
"sort_ldpath": "vivo:rank ::xsd:string"
|
91
91
|
},
|
92
|
+
"context": {
|
93
|
+
"properties": [
|
94
|
+
{
|
95
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.preferred_label",
|
96
|
+
"property_label_default": "Preferred label",
|
97
|
+
"ldpath": "^foaf:focus/skosxl:prefLabel/skosxl:literalForm :: xsd:string",
|
98
|
+
"selectable": true,
|
99
|
+
"drillable": false
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.variant_label",
|
103
|
+
"property_label_default": "Variant label",
|
104
|
+
"ldpath": "^foaf:focus/skosxl:altLabel/skosxl:literalForm :: xsd:string",
|
105
|
+
"selectable": false,
|
106
|
+
"drillable": false
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.description",
|
110
|
+
"property_label_default": "Description",
|
111
|
+
"ldpath": "getty:biographyPreferred / schema:description :: xsd:string",
|
112
|
+
"selectable": false,
|
113
|
+
"drillable": false
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.start_date",
|
117
|
+
"property_label_default": "Start date",
|
118
|
+
"ldpath": "getty:biographyPreferred / getty:estStart",
|
119
|
+
"selectable": false,
|
120
|
+
"drillable": false
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.end_date",
|
124
|
+
"property_label_default": "End date",
|
125
|
+
"ldpath": "getty:biographyPreferred / getty:estEnd",
|
126
|
+
"selectable": false,
|
127
|
+
"drillable": false
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.foundation_location",
|
131
|
+
"property_label_default": "Foundation location",
|
132
|
+
"ldpath": "getty:biographyPreferred/schema:foundationLocation / ^foaf:focus / getty:parentString :: xsd:string",
|
133
|
+
"selectable": false,
|
134
|
+
"drillable": false
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.nationality",
|
138
|
+
"property_label_default": "Nationality",
|
139
|
+
"ldpath": "schema:nationality / skosxl:prefLabel / skosxl:literalForm :: xsd:string",
|
140
|
+
"selectable": false,
|
141
|
+
"drillable": false
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.birth_place",
|
145
|
+
"property_label_default": "Birth place",
|
146
|
+
"ldpath": "getty:biographyPreferred / schema:birthPlace / ^foaf:focus / skosxl:prefLabel / skosxl:literalForm :: xsd:string",
|
147
|
+
"selectable": false,
|
148
|
+
"drillable": false
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.death_place",
|
152
|
+
"property_label_default": "Death place",
|
153
|
+
"ldpath": "getty:biographyPreferred / schema:deathPlace / ^foaf:focus / skosxl:prefLabel / skosxl:literalForm :: xsd:string",
|
154
|
+
"selectable": false,
|
155
|
+
"drillable": false
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.agent_type",
|
159
|
+
"property_label_default": "Agent type",
|
160
|
+
"ldpath": "^foaf:focus / getty:agentType / skosxl:altLabel / skosxl:literalForm :: xsd:string",
|
161
|
+
"selectable": false,
|
162
|
+
"drillable": false
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"property_label_i18n": "qa.linked_data.authority.getty_tgn_ld4l_cache.gender",
|
166
|
+
"property_label_default": "Gender",
|
167
|
+
"ldpath": "getty:biographyPreferred/schema:gender / skosxl:prefLabel / skosxl:literalForm :: xsd:string",
|
168
|
+
"selectable": false,
|
169
|
+
"drillable": false
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"property_label_i18n": "qa.linked_data.authority.getty_aat_ld4l_cache.broader",
|
173
|
+
"property_label_default": "Broader",
|
174
|
+
"ldpath": "^foaf:focus/getty:broaderPreferred :: xsd:string",
|
175
|
+
"selectable": false,
|
176
|
+
"drillable": true,
|
177
|
+
"expansion_label_ldpath": "skos:prefLabel ::xsd:string",
|
178
|
+
"expansion_id_ldpath": "dc:identifier ::xsd:string"
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"property_label_i18n": "qa.linked_data.authority.getty_aat_ld4l_cache.scope_note",
|
182
|
+
"property_label_default": "Scope note",
|
183
|
+
"ldpath": "^foaf:focus/skos:scopeNote :: xsd:string",
|
184
|
+
"selectable": false,
|
185
|
+
"drillable": false
|
186
|
+
}
|
187
|
+
]
|
188
|
+
},
|
92
189
|
"subauthorities": {
|
93
190
|
"person": "Person",
|
94
191
|
"organization": "Organization"
|
95
192
|
}
|
96
193
|
}
|
97
194
|
}
|
98
|
-
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
"total_count_ldpath": "vivo:count",
|
87
87
|
"results": {
|
88
88
|
"id_ldpath": "^madsrdf:identifiesRWO/loc:lccn ::xsd:string",
|
89
|
-
"label_ldpath": "
|
89
|
+
"label_ldpath": "^madsrdf:identifiesRWO/madsrdf:authoritativeLabel ::xsd:string",
|
90
90
|
"sort_ldpath": "vivo:rank ::xsd:string"
|
91
91
|
},
|
92
92
|
"context": {
|
@@ -103,8 +103,8 @@
|
|
103
103
|
"properties": [
|
104
104
|
{
|
105
105
|
"property_label_default": "Preferred label",
|
106
|
-
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.
|
107
|
-
"ldpath": "
|
106
|
+
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.preferred_label",
|
107
|
+
"ldpath": "^madsrdf:identifiesRWO / madsrdf:authoritativeLabel :: xsd:string",
|
108
108
|
"selectable": true,
|
109
109
|
"drillable": false
|
110
110
|
},
|
@@ -117,7 +117,7 @@
|
|
117
117
|
},
|
118
118
|
{
|
119
119
|
"property_label_default": "Descriptor",
|
120
|
-
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.
|
120
|
+
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.descriptor",
|
121
121
|
"ldpath": "(madsrdf:entityDescriptor/madsrdf:authoritativeLabel) | (madsrdf:entityDescriptor/skos:prefLabel) | (madsrdf:entityDescriptor/rdfs:label) :: xsd:string",
|
122
122
|
"selectable": false,
|
123
123
|
"drillable": false,
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
"total_count_ldpath": "vivo:count",
|
87
87
|
"results": {
|
88
88
|
"id_ldpath": "^madsrdf:identifiesRWO/loc:lccn ::xsd:string",
|
89
|
-
"label_ldpath": "
|
89
|
+
"label_ldpath": "^madsrdf:identifiesRWO/madsrdf:authoritativeLabel ::xsd:string",
|
90
90
|
"sort_ldpath": "vivo:rank ::xsd:string"
|
91
91
|
},
|
92
92
|
"context": {
|
@@ -103,8 +103,8 @@
|
|
103
103
|
"properties": [
|
104
104
|
{
|
105
105
|
"property_label_default": "Preferred label",
|
106
|
-
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.
|
107
|
-
"ldpath": "
|
106
|
+
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.preferred_label",
|
107
|
+
"ldpath": "^madsrdf:identifiesRWO / madsrdf:authoritativeLabel :: xsd:string",
|
108
108
|
"selectable": true,
|
109
109
|
"drillable": false
|
110
110
|
},
|
@@ -117,7 +117,7 @@
|
|
117
117
|
},
|
118
118
|
{
|
119
119
|
"property_label_default": "Descriptor",
|
120
|
-
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.
|
120
|
+
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.descriptor",
|
121
121
|
"ldpath": "(madsrdf:entityDescriptor/madsrdf:authoritativeLabel) | (madsrdf:entityDescriptor/skos:prefLabel) | (madsrdf:entityDescriptor/rdfs:label) :: xsd:string",
|
122
122
|
"selectable": false,
|
123
123
|
"drillable": false,
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
"total_count_ldpath": "vivo:count",
|
87
87
|
"results": {
|
88
88
|
"id_ldpath": "^madsrdf:identifiesRWO/loc:lccn ::xsd:string",
|
89
|
-
"label_ldpath": "
|
89
|
+
"label_ldpath": "^madsrdf:identifiesRWO/madsrdf:authoritativeLabel ::xsd:string",
|
90
90
|
"sort_ldpath": "vivo:rank ::xsd:string"
|
91
91
|
},
|
92
92
|
"context": {
|
@@ -103,8 +103,8 @@
|
|
103
103
|
"properties": [
|
104
104
|
{
|
105
105
|
"property_label_default": "Preferred label",
|
106
|
-
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.
|
107
|
-
"ldpath": "
|
106
|
+
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.preferred_label",
|
107
|
+
"ldpath": "^madsrdf:identifiesRWO / madsrdf:authoritativeLabel :: xsd:string",
|
108
108
|
"selectable": true,
|
109
109
|
"drillable": false
|
110
110
|
},
|
@@ -117,7 +117,7 @@
|
|
117
117
|
},
|
118
118
|
{
|
119
119
|
"property_label_default": "Descriptor",
|
120
|
-
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.
|
120
|
+
"property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.descriptor",
|
121
121
|
"ldpath": "(madsrdf:entityDescriptor/madsrdf:authoritativeLabel) | (madsrdf:entityDescriptor/skos:prefLabel) | (madsrdf:entityDescriptor/rdfs:label) :: xsd:string",
|
122
122
|
"selectable": false,
|
123
123
|
"drillable": false,
|