qa_server 7.2.1 → 7.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop_fixme.yml +3 -0
- data/.travis.yml +4 -5
- data/CHANGELOG.md +41 -0
- data/Rakefile +1 -1
- data/app/assets/stylesheets/qa_server/_check-status.scss +36 -0
- data/app/cache_processors/concerns/qa_server/cache_keys.rb +0 -5
- data/app/cache_processors/qa_server/cache_expiry_service.rb +13 -8
- data/app/cache_processors/qa_server/job_id_cache.rb +29 -0
- data/app/cache_processors/qa_server/performance_cache.rb +34 -34
- data/app/cache_processors/qa_server/performance_day_graph_cache.rb +27 -0
- data/app/cache_processors/qa_server/performance_month_graph_cache.rb +27 -0
- data/app/cache_processors/qa_server/performance_year_graph_cache.rb +27 -0
- data/app/cache_processors/qa_server/scenario_history_cache.rb +7 -7
- data/app/cache_processors/qa_server/scenario_history_graph_cache.rb +12 -17
- data/app/cache_processors/qa_server/scenario_run_cache.rb +8 -8
- data/app/cache_processors/qa_server/scenario_run_failures_cache.rb +7 -7
- data/app/cache_processors/qa_server/scenario_run_summary_cache.rb +7 -7
- data/app/controllers/concerns/qa_server/authority_validation_behavior.rb +49 -44
- data/app/controllers/qa_server/check_status_controller.rb +92 -22
- data/app/controllers/qa_server/fetch_controller.rb +36 -36
- data/app/controllers/qa_server/monitor_status_controller.rb +108 -108
- data/app/jobs/qa_server/history_graph_job.rb +28 -0
- data/app/jobs/qa_server/monitor_tests_job.rb +19 -39
- data/app/jobs/qa_server/performance_day_graph_job.rb +45 -0
- data/app/jobs/qa_server/performance_month_graph_job.rb +45 -0
- data/app/jobs/qa_server/performance_per_byte_job.rb +85 -0
- data/app/jobs/qa_server/performance_year_graph_job.rb +45 -0
- data/app/loggers/qa_server/scenario_logger.rb +74 -4
- data/app/models/concerns/qa_server/performance_history_data_keys.rb +8 -0
- data/app/models/qa_server/authority_scenario.rb +4 -4
- data/app/models/qa_server/authority_status.rb +2 -2
- data/app/models/qa_server/authority_status_failure.rb +1 -1
- data/app/models/qa_server/performance_history.rb +2 -2
- data/app/models/qa_server/scenario_run_history.rb +52 -52
- data/app/models/qa_server/scenario_run_registry.rb +2 -2
- data/app/models/qa_server/scenarios.rb +26 -26
- data/app/models/qa_server/search_scenario.rb +24 -13
- data/app/models/qa_server/term_scenario.rb +29 -29
- data/app/prepends/prepended_linked_data/find_term.rb +40 -40
- data/app/prepends/prepended_linked_data/search_query.rb +36 -36
- data/app/prepends/prepended_rdf/rdf_graph.rb +7 -7
- data/app/presenters/concerns/qa_server/monitor_status/performance_datatable_behavior.rb +32 -32
- data/app/presenters/concerns/qa_server/monitor_status/performance_graph_behavior.rb +64 -64
- data/app/presenters/qa_server/check_status_presenter.rb +63 -7
- data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
- data/app/services/concerns/qa_server/gruff_graph.rb +16 -16
- data/app/services/qa_server/authority_loader_service.rb +14 -14
- data/app/services/qa_server/authority_validator_service.rb +1 -0
- data/app/services/qa_server/database_migrator.rb +14 -14
- data/app/services/qa_server/history_graphing_service.rb +30 -30
- data/app/services/qa_server/performance_calculator_service.rb +80 -80
- data/app/services/qa_server/performance_datatable_service.rb +35 -35
- data/app/services/qa_server/performance_graph_data_service.rb +28 -28
- data/app/services/qa_server/performance_graphing_service.rb +58 -58
- data/app/services/qa_server/performance_per_byte_calculator_service.rb +88 -0
- data/app/services/qa_server/performance_per_byte_data_service.rb +41 -0
- data/app/services/qa_server/scenarios_loader_service.rb +1 -1
- data/app/services/qa_server/time_period_service.rb +21 -21
- data/app/validators/qa_server/scenario_validator.rb +99 -87
- data/app/validators/qa_server/search_scenario_validator.rb +67 -61
- data/app/validators/qa_server/term_scenario_validator.rb +20 -15
- data/app/views/qa_server/check_status/index.html.erb +120 -24
- data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
- data/config/i18n-tasks.yml +133 -0
- data/config/locales/qa_server.en.yml +16 -0
- data/lib/generators/qa_server/assets_generator.rb +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/cerl_ld4l_cache.json +2 -2
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +62 -1
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +45 -11
- 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/isni_ld4l_cache.json +90 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/ligatus_ld4l_cache.json +133 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +248 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +248 -0
- 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/locvocabs_ld4l_cache.json +117 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +135 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +5 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +2 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_direct_validation.yml +31 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_ld4l_cache_validation.yml +31 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +26 -14
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/dbpedia_ld4l_cache_validation.yml +33 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_direct_validation.yml +35 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +55 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +253 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +31 -1
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +38 -1
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/isni_ld4l_cache_validation.yml +10 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/ligatus_ld4l_cache_validation.yml +36 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +69 -44
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +22 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +65 -0
- 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 +71 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml +6 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +30 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +430 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +54 -1
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_ld4l_cache_validation.yml +37 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclc_fast_validation.yml +71 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +73 -2
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +73 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +307 -0
- data/lib/qa_server/configuration.rb +28 -24
- data/lib/qa_server/version.rb +1 -1
- data/qa_server.gemspec +6 -5
- data/spec/feature/accuracy_spec.rb +32 -0
- data/spec/i18n_spec.rb +36 -0
- data/spec/spec_helper.rb +4 -0
- metadata +74 -20
- data/app/cache_processors/qa_server/performance_daily_graph_cache.rb +0 -60
- data/app/cache_processors/qa_server/performance_hourly_graph_cache.rb +0 -65
- data/app/cache_processors/qa_server/performance_monthly_graph_cache.rb +0 -60
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,
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
{
|
2
|
+
"QA_CONFIG_VERSION": "2.2",
|
3
|
+
"service_uri": "http://ld4l.org/ld4l_services/cache",
|
4
|
+
"prefixes": {
|
5
|
+
"loc": "http://id.loc.gov/vocabulary/identifiers/",
|
6
|
+
"madsrdf": "http://www.loc.gov/mads/rdf/v1#",
|
7
|
+
"vivo": "http://vivoweb.org/ontology/core#"
|
8
|
+
},
|
9
|
+
"term": {
|
10
|
+
},
|
11
|
+
"search": {
|
12
|
+
"url": {
|
13
|
+
"@context": "http://www.w3.org/ns/hydra/context.jsonld",
|
14
|
+
"@type": "IriTemplate",
|
15
|
+
"template": "http://wintermute.info-science.uiowa.edu:8081/ld4l_services/loc_vocab_batch.jsp?{?query}&{?entity}&{?maxRecords}&{?startRecord}&{?lang}",
|
16
|
+
"variableRepresentation": "BasicRepresentation",
|
17
|
+
"mapping": [
|
18
|
+
{
|
19
|
+
"@type": "IriTemplateMapping",
|
20
|
+
"variable": "query",
|
21
|
+
"property": "hydra:freetextQuery",
|
22
|
+
"required": true,
|
23
|
+
"encode": true
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"@type": "IriTemplateMapping",
|
27
|
+
"variable": "entity",
|
28
|
+
"property": "hydra:freetextQuery",
|
29
|
+
"required": false,
|
30
|
+
"default": ""
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"@type": "IriTemplateMapping",
|
34
|
+
"variable": "maxRecords",
|
35
|
+
"property": "hydra:freetextQuery",
|
36
|
+
"required": false,
|
37
|
+
"default": "20"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"@type": "IriTemplateMapping",
|
41
|
+
"variable": "startRecord",
|
42
|
+
"property": "hydra:freetextQuery",
|
43
|
+
"required": false,
|
44
|
+
"default": "1"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"@type": "IriTemplateMapping",
|
48
|
+
"variable": "lang",
|
49
|
+
"property": "hydra:freetextQuery",
|
50
|
+
"required": false,
|
51
|
+
"default": "en"
|
52
|
+
}
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"qa_replacement_patterns": {
|
56
|
+
"query": "query",
|
57
|
+
"subauth": "entity",
|
58
|
+
"start_record": "startRecord",
|
59
|
+
"requested_records": "maxRecords"
|
60
|
+
},
|
61
|
+
"total_count_ldpath": "vivo:count",
|
62
|
+
"results": {
|
63
|
+
"label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
|
64
|
+
"sort_ldpath": "vivo:rank ::xsd:string"
|
65
|
+
},
|
66
|
+
"subauthorities": {
|
67
|
+
"carriers": "carriers",
|
68
|
+
"content_types": "contentTypes",
|
69
|
+
"description_conventions": "descriptionConventions",
|
70
|
+
"frequencies": "frequencies",
|
71
|
+
"issuance": "issuance",
|
72
|
+
"marcauthen": "marcauthen",
|
73
|
+
"maspect": "maspect",
|
74
|
+
"maudience": "maudience",
|
75
|
+
"mbroadstd": "mbroadstd",
|
76
|
+
"mcapturestorage": "mcapturestorage",
|
77
|
+
"mcolor": "mcolor",
|
78
|
+
"media_types": "mediaTypes",
|
79
|
+
"mencformat": "mencformat",
|
80
|
+
"menclvl": "menclvl",
|
81
|
+
"mfiletype": "mfiletype",
|
82
|
+
"mfont": "mfont",
|
83
|
+
"mgeneration": "mgeneration",
|
84
|
+
"mgovtpubtype": "mgovtpubtype",
|
85
|
+
"mgroove": "mgroove",
|
86
|
+
"millus": "millus",
|
87
|
+
"mlayout": "mlayout",
|
88
|
+
"mmaterial": "mmaterial",
|
89
|
+
"mmusicformat": "mmusicformat",
|
90
|
+
"mmusnotation": "mmusnotation",
|
91
|
+
"mplayback": "mplayback",
|
92
|
+
"mplayspeed": "mplayspeed",
|
93
|
+
"mpolarity": "mpolarity",
|
94
|
+
"mpresformat": "mpresformat",
|
95
|
+
"mproduction": "mproduction",
|
96
|
+
"mprojection": "mprojection",
|
97
|
+
"mpunctuation_conventions": "mpunctuationConventions",
|
98
|
+
"mrecmedium": "mrecmedium",
|
99
|
+
"mrectype": "mrectype",
|
100
|
+
"mreductionratio": "mreductionratio",
|
101
|
+
"mregencoding": "mregencoding",
|
102
|
+
"mrelief": "mrelief",
|
103
|
+
"mscale": "mscale",
|
104
|
+
"mscript": "mscript",
|
105
|
+
"msoundcontent": "msoundcontent",
|
106
|
+
"mspecplayback": "mspecplayback",
|
107
|
+
"mstatus": "mstatus",
|
108
|
+
"msupplcont": "msupplcont",
|
109
|
+
"mtactile": "mtactile",
|
110
|
+
"mtapeconfig": "mtapeconfig",
|
111
|
+
"mtechnique": "mtechnique",
|
112
|
+
"mvidformat": "mvidformat",
|
113
|
+
"relators": "relators",
|
114
|
+
"resource_components": "resourceComponents"
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"service_uri": "http://ld4l.org/ld4l_services/cache",
|
4
4
|
"prefixes": {
|
5
5
|
"nlmmesh": "http://id.nlm.nih.gov/mesh/vocab#",
|
6
|
-
"vivo":
|
6
|
+
"vivo": "http://vivoweb.org/ontology/core#"
|
7
7
|
},
|
8
8
|
"term": {
|
9
9
|
"url": {
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"url": {
|
34
34
|
"@context": "http://www.w3.org/ns/hydra/context.jsonld",
|
35
35
|
"@type": "IriTemplate",
|
36
|
-
"template": "http://services.ld4l.org/ld4l_services/mesh_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?lang}",
|
36
|
+
"template": "http://services.ld4l.org/ld4l_services/mesh_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?entity}&{?lang}",
|
37
37
|
"variableRepresentation": "BasicRepresentation",
|
38
38
|
"mapping": [
|
39
39
|
{
|
@@ -43,6 +43,13 @@
|
|
43
43
|
"required": true,
|
44
44
|
"encode": true
|
45
45
|
},
|
46
|
+
{
|
47
|
+
"@type": "IriTemplateMapping",
|
48
|
+
"variable": "entity",
|
49
|
+
"property": "hydra:freetextQuery",
|
50
|
+
"required": false,
|
51
|
+
"default": ""
|
52
|
+
},
|
46
53
|
{
|
47
54
|
"@type": "IriTemplateMapping",
|
48
55
|
"variable": "maxRecords",
|
@@ -68,14 +75,139 @@
|
|
68
75
|
},
|
69
76
|
"qa_replacement_patterns": {
|
70
77
|
"query": "query",
|
78
|
+
"subauth": "entity",
|
71
79
|
"start_record": "startRecord",
|
72
80
|
"requested_records": "maxRecords"
|
73
81
|
},
|
74
82
|
"total_count_ldpath": "vivo:count",
|
75
83
|
"results": {
|
76
84
|
"id_ldpath": "nlmmesh:identifier ::xsd:string",
|
77
|
-
"label_ldpath": "
|
85
|
+
"label_ldpath": "rdfs:label ::xsd:string",
|
78
86
|
"sort_ldpath": "vivo:rank ::xsd:string"
|
87
|
+
},
|
88
|
+
"context": {
|
89
|
+
"groups": {
|
90
|
+
"hierarchy": {
|
91
|
+
"group_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.hierarchy",
|
92
|
+
"group_label_default": "Hierarchy"
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"properties": [
|
96
|
+
{
|
97
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.preferred_label",
|
98
|
+
"property_label_default": "Preferred Label",
|
99
|
+
"ldpath": "rdfs:label :: xsd:string",
|
100
|
+
"selectable": true,
|
101
|
+
"drillable": false
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.variant_label",
|
105
|
+
"property_label_default": "Variant label",
|
106
|
+
"ldpath": "nlmmesh:concept/rdfs:label :: xsd:string",
|
107
|
+
"selectable": false,
|
108
|
+
"drillable": false
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.type",
|
112
|
+
"property_label_default": "Type",
|
113
|
+
"ldpath": "rdf:type :: xsd:string",
|
114
|
+
"selectable": false,
|
115
|
+
"drillable": false
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.annotation",
|
119
|
+
"property_label_default": "Annotation",
|
120
|
+
"ldpath": "nlmmesh:annotation :: xsd:string",
|
121
|
+
"selectable": false,
|
122
|
+
"drillable": false
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"group_id": "hierarchy",
|
126
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.broader",
|
127
|
+
"property_label_default": "Broader",
|
128
|
+
"ldpath": "nlmmesh:broaderDescriptor :: xsd:string",
|
129
|
+
"selectable": true,
|
130
|
+
"drillable": true,
|
131
|
+
"expansion_label_ldpath": "rdfs:label ::xsd:string"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"group_id": "hierarchy",
|
135
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.narrower",
|
136
|
+
"property_label_default": "Narrower",
|
137
|
+
"ldpath": "^nlmmesh:broaderDescriptor :: xsd:string",
|
138
|
+
"selectable": true,
|
139
|
+
"drillable": true,
|
140
|
+
"expansion_label_ldpath": "rdfs:label ::xsd:string"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.consider_also",
|
144
|
+
"property_label_default": "Consider also",
|
145
|
+
"ldpath": "nlmmesh:considerAlso :: xsd:string",
|
146
|
+
"selectable": true,
|
147
|
+
"drillable": true,
|
148
|
+
"expansion_label_ldpath": "rdfs:label ::xsd:string"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.pharmacological_action",
|
152
|
+
"property_label_default": "Pharmacological action",
|
153
|
+
"ldpath": "nlmmesh:pharmacologicalAction/rdfs:label :: xsd:string",
|
154
|
+
"selectable": false,
|
155
|
+
"drillable": false
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.see_also",
|
159
|
+
"property_label_default": "See also",
|
160
|
+
"ldpath": "nlmmesh:seeAlso/rdfs:label :: xsd:string",
|
161
|
+
"selectable": false,
|
162
|
+
"drillable": false
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.entry_terms",
|
166
|
+
"property_label_default": "Entry terms",
|
167
|
+
"ldpath": "(^nlmmesh:concept/nlmmesh:broaderConcept/rdfs:label) | (^nlmmesh:preferredConcept/nlmmesh:broaderConcept/rdfs:label) | (^nlmmesh:concept/nlmmesh:narrowerConcept/rdfs:label) | (^nlmmesh:preferredConcept/nlmmesh:narrowerConcept/rdfs:label) :: xsd:string",
|
168
|
+
"selectable": false,
|
169
|
+
"drillable": false
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.related_concept",
|
173
|
+
"property_label_default": "Related concept",
|
174
|
+
"ldpath": "(^nlmmesh:concept/nlmmesh:relatedConcept/rdfs:label) | (^nlmmesh:preferredConcept/nlmmesh:relatedConcept/rdfs:label) :: xsd:string",
|
175
|
+
"selectable": false,
|
176
|
+
"drillable": false
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.scope_note",
|
180
|
+
"property_label_default": "Scope note",
|
181
|
+
"ldpath": "(^nlmmesh:concept/nlmmesh:scopeNote) | (^nlmmesh:preferredConcept/nlmmesh:scopeNote) :: xsd:string",
|
182
|
+
"selectable": false,
|
183
|
+
"drillable": false
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.related_qualified_pair",
|
187
|
+
"property_label_default": "Related qualified pair",
|
188
|
+
"ldpath": "^nlmmesh:hasDescriptor/rdfs:label :: xsd:string",
|
189
|
+
"selectable": false,
|
190
|
+
"drillable": false
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.descriptor",
|
194
|
+
"property_label_default": "Descriptor",
|
195
|
+
"ldpath": "nlmmesh:hasDescriptor/rdfs:label :: xsd:string",
|
196
|
+
"selectable": false,
|
197
|
+
"drillable": false
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"property_label_i18n": "qa.linked_data.authority.mesh_nlm_ld4l_cache.use_instead",
|
201
|
+
"property_label_default": "Use instead",
|
202
|
+
"ldpath": "(^nlmmesh:useInstead/rdfs:label) | (^nlmmesh:mappedTo/rdfs:label) :: xsd:string",
|
203
|
+
"selectable": true,
|
204
|
+
"drillable": false
|
205
|
+
}
|
206
|
+
]
|
207
|
+
},
|
208
|
+
"subauthorities": {
|
209
|
+
"subject": "Subject",
|
210
|
+
"publication_type": "FormOfWork"
|
79
211
|
}
|
80
212
|
}
|
81
213
|
}
|
@@ -70,14 +70,19 @@
|
|
70
70
|
},
|
71
71
|
"subauthorities": {
|
72
72
|
"topic": "oclc.topic",
|
73
|
+
"concept": "oclc.topic",
|
73
74
|
"geocoordinates": "oclc.geographic",
|
74
75
|
"geographic": "oclc.geographic",
|
76
|
+
"place": "oclc.geographic",
|
77
|
+
"event": "oclc.eventName",
|
75
78
|
"event_name": "oclc.eventName",
|
79
|
+
"meeting": "oclc.meeting",
|
76
80
|
"person": "oclc.personalName",
|
77
81
|
"personal_name": "oclc.personalName",
|
78
82
|
"organization": "oclc.corporateName",
|
79
83
|
"corporate_name": "oclc.corporateName",
|
80
84
|
"uniform_title": "oclc.uniformTitle",
|
85
|
+
"work": "oclc.uniformTitle",
|
81
86
|
"period": "oclc.period",
|
82
87
|
"form": "oclc.form",
|
83
88
|
"alt_lc": "oclc.altlc"
|
data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json
CHANGED
@@ -91,14 +91,12 @@
|
|
91
91
|
"subauthorities": {
|
92
92
|
"concept": "Concept",
|
93
93
|
"event": "Event",
|
94
|
+
"meeting": "Meeting",
|
94
95
|
"person": "Person",
|
95
|
-
"personal_name": "Person",
|
96
96
|
"organization": "Organization",
|
97
|
-
"corporate_name": "Organization",
|
98
97
|
"place": "Place",
|
99
98
|
"intangible": "Intangible",
|
100
|
-
"work": "Work"
|
101
|
-
"creative_work": "Work"
|
99
|
+
"work": "Work"
|
102
100
|
}
|
103
101
|
}
|
104
102
|
}
|
@@ -2,8 +2,39 @@
|
|
2
2
|
authority:
|
3
3
|
service: direct
|
4
4
|
search:
|
5
|
+
#------------------
|
6
|
+
# Connection tests
|
7
|
+
#------------------
|
5
8
|
-
|
6
9
|
query: milk
|
10
|
+
#------------------
|
11
|
+
# Accuracy tests
|
12
|
+
#------------------
|
13
|
+
-
|
14
|
+
pending: true
|
15
|
+
query: extrakce rozpouštědlem
|
16
|
+
position: 5
|
17
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_28368"
|
18
|
+
replacements:
|
19
|
+
maxRecords: '20'
|
20
|
+
-
|
21
|
+
query: vodka
|
22
|
+
position: 1
|
23
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_23837"
|
24
|
+
replacements:
|
25
|
+
maxRecords: '1'
|
26
|
+
-
|
27
|
+
query: Mud Sunfish
|
28
|
+
position: 5
|
29
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_42559"
|
30
|
+
replacements:
|
31
|
+
maxRecords: '10'
|
32
|
+
-
|
33
|
+
query: Acantharchus pomotis
|
34
|
+
position: 1
|
35
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_42559"
|
36
|
+
replacements:
|
37
|
+
maxRecords: '10'
|
7
38
|
term:
|
8
39
|
-
|
9
40
|
identifier: "http://aims.fao.org/aos/agrovoc/c_9513"
|
@@ -1,10 +1,41 @@
|
|
1
|
+
# Supported subauthorities: none
|
1
2
|
---
|
2
3
|
authority:
|
3
4
|
service: ld4l_cache
|
4
5
|
context: true
|
5
6
|
search:
|
7
|
+
#------------------
|
8
|
+
# Connection tests
|
9
|
+
#------------------
|
6
10
|
-
|
7
11
|
query: milk
|
12
|
+
#------------------
|
13
|
+
# Accuracy tests
|
14
|
+
#------------------
|
15
|
+
-
|
16
|
+
query: extrakce rozpouštědlem
|
17
|
+
position: 5
|
18
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_28368"
|
19
|
+
replacements:
|
20
|
+
maxRecords: '20'
|
21
|
+
-
|
22
|
+
query: vodka
|
23
|
+
position: 1
|
24
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_23837"
|
25
|
+
replacements:
|
26
|
+
maxRecords: '1'
|
27
|
+
-
|
28
|
+
query: Mud Sunfish
|
29
|
+
position: 5
|
30
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_42559"
|
31
|
+
replacements:
|
32
|
+
maxRecords: '10'
|
33
|
+
-
|
34
|
+
query: Acantharchus pomotis
|
35
|
+
position: 1
|
36
|
+
subject_uri: "http://aims.fao.org/aos/agrovoc/c_42559"
|
37
|
+
replacements:
|
38
|
+
maxRecords: '10'
|
8
39
|
term:
|
9
40
|
-
|
10
41
|
identifier: 'http://aims.fao.org/aos/agrovoc/c_9513'
|
@@ -1,8 +1,15 @@
|
|
1
|
+
# Supported subauthorities:
|
2
|
+
# person
|
3
|
+
# corporate
|
4
|
+
# imprint
|
1
5
|
---
|
2
6
|
authority:
|
3
7
|
service: ld4l_cache
|
4
8
|
context: true
|
5
9
|
search:
|
10
|
+
#------------------
|
11
|
+
# Connection tests
|
12
|
+
#------------------
|
6
13
|
-
|
7
14
|
query: John Winters
|
8
15
|
-
|
@@ -14,27 +21,39 @@ search:
|
|
14
21
|
-
|
15
22
|
query: Typographia Plantiniana
|
16
23
|
subauth: corporate
|
24
|
+
#------------------
|
25
|
+
# Accuracy tests
|
26
|
+
#------------------
|
17
27
|
-
|
18
|
-
|
28
|
+
pending: true
|
29
|
+
query: Johannes Philippus de Lignamine
|
19
30
|
subauth: person
|
20
|
-
position:
|
31
|
+
position: 4
|
21
32
|
subject_uri: "http://thesaurus.cerl.org/record/cnp00372755"
|
22
33
|
replacements:
|
23
34
|
maxRecords: '8'
|
24
35
|
-
|
25
|
-
|
36
|
+
pending: true
|
37
|
+
query: Johannes Philippus de Lignamine
|
26
38
|
subauth: person
|
27
|
-
position:
|
39
|
+
position: 4
|
28
40
|
subject_uri: "http://thesaurus.cerl.org/record/cnp00895966"
|
29
41
|
replacements:
|
30
42
|
maxRecords: '8'
|
31
43
|
-
|
32
44
|
query: Jacob Winter
|
33
45
|
subauth: person
|
34
|
-
position:
|
46
|
+
position: 3
|
35
47
|
subject_uri: "http://thesaurus.cerl.org/record/cnp02081773"
|
36
48
|
replacements:
|
37
49
|
maxRecords: '8'
|
50
|
+
-
|
51
|
+
query: Typographia Plantiniana
|
52
|
+
subauth: corporate
|
53
|
+
position: 1
|
54
|
+
subject_uri: "http://thesaurus.cerl.org/record/cnc00011608"
|
55
|
+
replacements:
|
56
|
+
maxRecords: '8'
|
38
57
|
-
|
39
58
|
query: Jacob Winter
|
40
59
|
subauth: imprint
|
@@ -45,17 +64,10 @@ search:
|
|
45
64
|
-
|
46
65
|
query: Plantin
|
47
66
|
subauth: imprint
|
48
|
-
position:
|
67
|
+
position: 18
|
49
68
|
subject_uri: "http://thesaurus.cerl.org/record/cni00007649"
|
50
69
|
replacements:
|
51
|
-
maxRecords: '
|
52
|
-
-
|
53
|
-
query: Typographia Plantiniana
|
54
|
-
subauth: corporate
|
55
|
-
position: 1
|
56
|
-
subject_uri: "http://thesaurus.cerl.org/record/cnc00011608"
|
57
|
-
replacements:
|
58
|
-
maxRecords: '8'
|
70
|
+
maxRecords: '30'
|
59
71
|
term:
|
60
72
|
-
|
61
73
|
identifier: "http://thesaurus.cerl.org/record/cnp00895966"
|