qa_server 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/new_dataset_request.md +7 -6
  3. data/CHANGELOG.md +14 -0
  4. data/README.md +10 -5
  5. data/app/models/qa_server/authority_scenario.rb +5 -0
  6. data/app/models/qa_server/search_scenario.rb +2 -1
  7. data/lib/generators/qa_server/install_generator.rb +0 -9
  8. data/lib/generators/qa_server/templates/config/authorities/linked_data/DISABLED/mesh_bioportal_ld4l_cache.json +84 -0
  9. data/lib/generators/qa_server/templates/config/authorities/linked_data/{scenarios/mesh_ld4l_cache_validation.yml → DISABLED/scenarios/mesh_bioportal_ld4l_cache_validation.yml} +0 -0
  10. data/lib/generators/qa_server/templates/config/authorities/linked_data/{DISABLED/agrovoc_direct.json → agrovoc_direct.json} +14 -11
  11. data/lib/generators/qa_server/templates/config/authorities/linked_data/agrovoc_ld4l_cache.json +13 -14
  12. data/lib/generators/qa_server/templates/config/authorities/linked_data/dbpedia_direct.json +6 -3
  13. data/lib/generators/qa_server/templates/config/authorities/linked_data/dbpedia_ld4l_cache.json +12 -7
  14. data/lib/generators/qa_server/templates/config/authorities/linked_data/geonames_direct.json +13 -9
  15. data/lib/generators/qa_server/templates/config/authorities/linked_data/geonames_ld4l_cache.json +12 -11
  16. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +15 -10
  17. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +27 -13
  18. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +15 -10
  19. data/lib/generators/qa_server/templates/config/authorities/linked_data/loc_direct.json +21 -15
  20. data/lib/generators/qa_server/templates/config/authorities/linked_data/locdemographics_ld4l_cache.json +13 -8
  21. data/lib/generators/qa_server/templates/config/authorities/linked_data/locgenres_ld4l_cache.json +14 -14
  22. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_ld4l_cache.json +19 -18
  23. data/lib/generators/qa_server/templates/config/authorities/linked_data/locperformance_ld4l_cache.json +14 -8
  24. data/lib/generators/qa_server/templates/config/authorities/linked_data/locsubjects_ld4l_cache.json +14 -8
  25. data/lib/generators/qa_server/templates/config/authorities/linked_data/{mesh_ld4l_cache.json → mesh_nlm_ld4l_cache.json} +12 -13
  26. data/lib/generators/qa_server/templates/config/authorities/linked_data/nalt_direct.json +8 -6
  27. data/lib/generators/qa_server/templates/config/authorities/linked_data/nalt_ld4l_cache.json +11 -10
  28. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +14 -10
  29. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +20 -14
  30. data/lib/generators/qa_server/templates/config/authorities/linked_data/{DISABLED/scenarios → scenarios}/agrovoc_direct_validation.yml +0 -0
  31. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_ld4l_cache_validation.yml +2 -1
  32. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +1 -0
  33. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +1 -0
  34. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +1 -0
  35. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +4 -0
  36. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml +78 -0
  37. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +10 -0
  38. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_ld4l_cache_validation.yml +1 -0
  39. data/lib/qa_server/version.rb +1 -1
  40. data/qa_server.gemspec +1 -1
  41. metadata +10 -8
@@ -1,5 +1,8 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ "vivo": "http://vivoweb.org/ontology/core#"
5
+ },
3
6
  "term": {
4
7
  "url": {
5
8
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
@@ -21,11 +24,12 @@
21
24
  },
22
25
  "term_id": "URI",
23
26
  "results": {
24
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
25
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
26
- "broader_predicate": "http://www.w3.org/2004/02/skos/core#broader",
27
- "narrower_predicate": "http://www.w3.org/2004/02/skos/core#narrower",
28
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
27
+ "id_ldpath": "dc:identifier ::xsd:string",
28
+ "label_ldpath": "skos:prefLabel ::xsd:string",
29
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
30
+ "broader_ldpath": "skos:broader ::xsd:anyURI",
31
+ "narrower_ldpath": "skos:narrower ::xsd:anyURI",
32
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
29
33
  }
30
34
  },
31
35
  "search": {
@@ -39,7 +43,8 @@
39
43
  "@type": "IriTemplateMapping",
40
44
  "variable": "query",
41
45
  "property": "hydra:freetextQuery",
42
- "required": true
46
+ "required": true,
47
+ "encode": true
43
48
  },
44
49
  {
45
50
  "@type": "IriTemplateMapping",
@@ -69,9 +74,9 @@
69
74
  "subauth": "entity"
70
75
  },
71
76
  "results": {
72
- "id_predicate": "http://purl.org/dc/terms/identifier",
73
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
74
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
77
+ "id_ldpath": "dc:identifier ::xsd:string",
78
+ "label_ldpath": "skos:prefLabel ::xsd:string",
79
+ "sort_ldpath": "vivo:rank ::xsd:string"
75
80
  },
76
81
  "subauthorities": {
77
82
  "person": "Person",
@@ -1,24 +1,28 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
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
+ },
3
7
  "term": {
4
8
  "url": {
5
9
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
6
- "@type": "IriTemplate",
10
+ "@type": "IriTemplate",
7
11
  "template": "http://id.loc.gov/authorities/{subauth}/{term_id}",
8
12
  "variableRepresentation": "BasicRepresentation",
9
13
  "mapping": [
10
14
  {
11
- "@type": "IriTemplateMapping",
15
+ "@type": "IriTemplateMapping",
12
16
  "variable": "term_id",
13
17
  "property": "hydra:freetextQuery",
14
18
  "required": true
15
19
  },
16
20
  {
17
- "@type": "IriTemplateMapping",
21
+ "@type": "IriTemplateMapping",
18
22
  "variable": "subauth",
19
23
  "property": "hydra:freetextQuery",
20
24
  "required": false,
21
- "default": "names"
25
+ "default": "names"
22
26
  }
23
27
  ]
24
28
  },
@@ -29,18 +33,20 @@
29
33
  "term_id": "ID",
30
34
  "language": ["en"],
31
35
  "results": {
32
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
33
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
34
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
35
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
36
+ "id_ldpath": "loc:lccn | madsrdf:code",
37
+ "label_ldpath": "skos:prefLabel :: xsd:string",
38
+ "altlabel_ldpath": "skos:altLabel :: xsd:string",
39
+ "sameas_ldpath": "skos:exactMatch | owl:sameAs :: xsd:anyURI",
40
+ "narrower_ldpath": "madsrdf:hasNarrowerAuthority :: xsd:anyURI",
41
+ "broader_ldpath": "madsrdf:hasBroaderAuthority :: xsd:anyURI"
36
42
  },
37
43
  "subauthorities": {
38
- "subjects": "subjects",
39
- "names": "names",
40
- "classification": "classification",
41
- "child_subject": "childrensSubjects",
42
- "genre": "genreForms",
43
- "demographic": "demographicTerms",
44
+ "subjects": "subjects",
45
+ "names": "names",
46
+ "classification": "classification",
47
+ "child_subject": "childrensSubjects",
48
+ "genre": "genreForms",
49
+ "demographic": "demographicTerms",
44
50
  "music_performance": "performanceMediums"
45
51
  }
46
52
  },
@@ -1,5 +1,9 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ "madsrdf": "http://www.loc.gov/mads/rdf/v1#",
5
+ "vivo": "http://vivoweb.org/ontology/core#"
6
+ },
3
7
  "term": {
4
8
  "url": {
5
9
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
@@ -21,10 +25,10 @@
21
25
  },
22
26
  "term_id": "URI",
23
27
  "results": {
24
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
25
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
26
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
27
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
28
+ "id_ldpath": "loc:lccn ::xsd:string",
29
+ "label_ldpath": "skos:prefLabel ::xsd:string",
30
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
31
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
28
32
  }
29
33
  },
30
34
  "search": {
@@ -38,7 +42,8 @@
38
42
  "@type": "IriTemplateMapping",
39
43
  "variable": "query",
40
44
  "property": "hydra:freetextQuery",
41
- "required": true
45
+ "required": true,
46
+ "encode": true
42
47
  },
43
48
  {
44
49
  "@type": "IriTemplateMapping",
@@ -60,8 +65,8 @@
60
65
  "query": "query"
61
66
  },
62
67
  "results": {
63
- "label_predicate": "http://www.loc.gov/mads/rdf/v1#authoritativeLabel",
64
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
68
+ "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
69
+ "sort_ldpath": "vivo:rank ::xsd:string"
65
70
  }
66
71
  }
67
72
  }
@@ -1,10 +1,9 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
3
  "prefixes": {
4
+ "loc": "http://id.loc.gov/vocabulary/identifiers/",
4
5
  "madsrdf": "http://www.loc.gov/mads/rdf/v1#",
5
- "schema": "http://www.w3.org/2000/01/rdf-schema#",
6
- "skos": "http://www.w3.org/2004/02/skos/core#",
7
- "loc": "http://id.loc.gov/vocabulary/identifiers/"
6
+ "vivo": "http://vivoweb.org/ontology/core#"
8
7
  },
9
8
  "term": {
10
9
  "url": {
@@ -27,12 +26,12 @@
27
26
  },
28
27
  "term_id": "URI",
29
28
  "results": {
30
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
31
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
32
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
33
- "broader_predicate": "http://www.w3.org/2004/02/skos/core#broader",
34
- "narrower_predicate": "http://www.w3.org/2004/02/skos/core#narrower",
35
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
29
+ "id_ldpath": "loc:lccn ::xsd:string",
30
+ "label_ldpath": "skos:prefLabel ::xsd:string",
31
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
32
+ "broader_ldpath": "skos:broader ::xsd:anyURI",
33
+ "narrower_ldpath": "skos:narrower ::xsd:anyURI",
34
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
36
35
  }
37
36
  },
38
37
  "search": {
@@ -46,7 +45,8 @@
46
45
  "@type": "IriTemplateMapping",
47
46
  "variable": "query",
48
47
  "property": "hydra:freetextQuery",
49
- "required": true
48
+ "required": true,
49
+ "encode": true
50
50
  },
51
51
  {
52
52
  "@type": "IriTemplateMapping",
@@ -83,9 +83,9 @@
83
83
  "subauth": "entity"
84
84
  },
85
85
  "results": {
86
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
87
- "label_predicate": "http://www.loc.gov/mads/rdf/v1#authoritativeLabel",
88
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
86
+ "id_ldpath": "loc:lccn ::xsd:string",
87
+ "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
88
+ "sort_ldpath": "vivo:rank ::xsd:string"
89
89
  },
90
90
  "context": {
91
91
  "groups": {
@@ -1,9 +1,9 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
3
  "prefixes": {
4
+ "loc": "http://id.loc.gov/vocabulary/identifiers/",
4
5
  "madsrdf": "http://www.loc.gov/mads/rdf/v1#",
5
- "schema": "http://www.w3.org/2000/01/rdf-schema#",
6
- "skos": "http://www.w3.org/2004/02/skos/core#"
6
+ "vivo": "http://vivoweb.org/ontology/core#"
7
7
  },
8
8
  "term": {
9
9
  "url": {
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "term_id": "URI",
28
28
  "results": {
29
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
30
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
31
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
32
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
29
+ "id_ldpath": "loc:lccn | madsrdf:code ::xsd:string",
30
+ "label_ldpath": "skos:prefLabel ::xsd:string",
31
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
32
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
33
33
  }
34
34
  },
35
35
  "search": {
@@ -43,7 +43,8 @@
43
43
  "@type": "IriTemplateMapping",
44
44
  "variable": "query",
45
45
  "property": "hydra:freetextQuery",
46
- "required": true
46
+ "required": true,
47
+ "encode": true
47
48
  },
48
49
  {
49
50
  "@type": "IriTemplateMapping",
@@ -73,11 +74,11 @@
73
74
  "subauth": "entity"
74
75
  },
75
76
  "results": {
76
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
77
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
78
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
77
+ "id_ldpath": "loc:lccn | madsrdf:code ::xsd:string",
78
+ "label_ldpath": "skos:prefLabel ::xsd:string",
79
+ "sort_ldpath": "vivo:rank ::xsd:string"
79
80
  },
80
- "context": {
81
+ "context": {
81
82
  "groups": {
82
83
  "dates": {
83
84
  "group_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.dates",
@@ -102,14 +103,14 @@
102
103
  {
103
104
  "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.field_of_activity",
104
105
  "property_label_default": "Field of Activity",
105
- "ldpath": "madsrdf:fieldOfActivity/schema:label | madsrdf:fieldOfActivity/madsrdf:authoritativeLabel :: xsd:string",
106
+ "ldpath": "(madsrdf:identifiesRWO/madsrdf:fieldOfActivity/rdfs:label) | (madsrdf:identifiesRWO/madsrdf:fieldOfActivity/madsrdf:authoritativeLabel) :: xsd:string",
106
107
  "selectable": false,
107
108
  "drillable": false
108
109
  },
109
110
  {
110
111
  "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.occupation",
111
112
  "property_label_default": "Occupation",
112
- "ldpath": "madsrdf:occupation/madsrdf:authoritativeLabel :: xsd:string",
113
+ "ldpath": "madsrdf:identifiesRWO/madsrdf:occupation/madsrdf:authoritativeLabel :: xsd:string",
113
114
  "selectable": false,
114
115
  "drillable": false
115
116
  },
@@ -117,7 +118,7 @@
117
118
  "group_id": "dates",
118
119
  "property_label_default": "Birth: ",
119
120
  "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.birth_date",
120
- "ldpath": "madsrdf:identifiesRWO/madsrdf:birthDate/schema:label :: xsd:string",
121
+ "ldpath": "madsrdf:identifiesRWO/madsrdf:birthDate/rdfs:label :: xsd:string",
121
122
  "selectable": false,
122
123
  "drillable": false
123
124
  },
@@ -125,7 +126,7 @@
125
126
  "group_id": "dates",
126
127
  "property_label_default": "Death: ",
127
128
  "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.death_date",
128
- "ldpath": "madsrdf:identifiesRWO/madsrdf:deathDate/schema:label :: xsd:string",
129
+ "ldpath": "madsrdf:identifiesRWO/madsrdf:deathDate/rdfs:label :: xsd:string",
129
130
  "selectable": false,
130
131
  "drillable": false
131
132
  },
@@ -133,7 +134,7 @@
133
134
  "group_id": "dates",
134
135
  "property_label_default": "Start: ",
135
136
  "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.activity_state_date",
136
- "ldpath": "madsrdf:identifiesRWO/madsrdf:activityStartDate/schema:label :: xsd:string",
137
+ "ldpath": "madsrdf:identifiesRWO/madsrdf:activityStartDate/rdfs:label :: xsd:string",
137
138
  "selectable": false,
138
139
  "drillable": false
139
140
  },
@@ -141,7 +142,7 @@
141
142
  "group_id": "dates",
142
143
  "property_label_default": "End: ",
143
144
  "property_label_i18n": "qa.linked_data.authority.locnames_ld4l_cache.activity_end_date",
144
- "ldpath": "madsrdf:identifiesRWO/madsrdf:activityEndDate/schema:label :: xsd:string",
145
+ "ldpath": "madsrdf:identifiesRWO/madsrdf:activityEndDate/rdfs:label :: xsd:string",
145
146
  "selectable": false,
146
147
  "drillable": false
147
148
  }
@@ -1,5 +1,10 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
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
+ },
3
8
  "term": {
4
9
  "url": {
5
10
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
@@ -21,10 +26,10 @@
21
26
  },
22
27
  "term_id": "URI",
23
28
  "results": {
24
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
25
- "label_predicate": "http://www.loc.gov/mads/rdf/v1#authoritativeLabel",
26
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
27
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
29
+ "id_ldpath": "loc:lccn ::xsd:string",
30
+ "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
31
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
32
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
28
33
  }
29
34
  },
30
35
  "search": {
@@ -38,7 +43,8 @@
38
43
  "@type": "IriTemplateMapping",
39
44
  "variable": "query",
40
45
  "property": "hydra:freetextQuery",
41
- "required": true
46
+ "required": true,
47
+ "encode": true
42
48
  },
43
49
  {
44
50
  "@type": "IriTemplateMapping",
@@ -60,8 +66,8 @@
60
66
  "query": "query"
61
67
  },
62
68
  "results": {
63
- "label_predicate": "http://www.loc.gov/mads/rdf/v1#authoritativeLabel",
64
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
69
+ "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
70
+ "sort_ldpath": "vivo:rank ::xsd:string"
65
71
  }
66
72
  }
67
73
  }
@@ -1,5 +1,10 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
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
+ },
3
8
  "term": {
4
9
  "url": {
5
10
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
@@ -21,10 +26,10 @@
21
26
  },
22
27
  "term_id": "URI",
23
28
  "results": {
24
- "id_predicate": "http://id.loc.gov/vocabulary/identifiers/lccn",
25
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
26
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
27
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
29
+ "id_ldpath": "loc:lccn ::xsd:string",
30
+ "label_ldpath": "skos:prefLabel ::xsd:string",
31
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
32
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
28
33
  }
29
34
  },
30
35
  "search": {
@@ -38,7 +43,8 @@
38
43
  "@type": "IriTemplateMapping",
39
44
  "variable": "query",
40
45
  "property": "hydra:freetextQuery",
41
- "required": true
46
+ "required": true,
47
+ "encode": true
42
48
  },
43
49
  {
44
50
  "@type": "IriTemplateMapping",
@@ -68,8 +74,8 @@
68
74
  "subauth": "entity"
69
75
  },
70
76
  "results": {
71
- "label_predicate": "http://www.loc.gov/mads/rdf/v1#authoritativeLabel",
72
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
77
+ "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string",
78
+ "sort_ldpath": "vivo:rank ::xsd:string"
73
79
  },
74
80
  "subauthorities": {
75
81
  "person": "Person",
@@ -1,5 +1,9 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ "nlmmesh": "http://id.nlm.nih.gov/mesh/vocab#",
5
+ "vivo": "http://vivoweb.org/ontology/core#"
6
+ },
3
7
  "term": {
4
8
  "url": {
5
9
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
@@ -20,11 +24,8 @@
20
24
  },
21
25
  "term_id": "URI",
22
26
  "results": {
23
- "id_predicate": "http://www.w3.org/2004/02/skos/core#notation",
24
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
25
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
26
- "broader_predicate": "http://purl.bioontology.org/ontology/MESH/mapped_to",
27
- "narrower_predicate": "http://purl.bioontology.org/ontology/MESH/mapped_from"
27
+ "id_ldpath": "nlmmesh:identifier ::xsd:string",
28
+ "label_ldpath": "nlmmesh:prefLabel ::xsd:string"
28
29
  }
29
30
  },
30
31
  "search": {
@@ -38,7 +39,8 @@
38
39
  "@type": "IriTemplateMapping",
39
40
  "variable": "query",
40
41
  "property": "hydra:freetextQuery",
41
- "required": true
42
+ "required": true,
43
+ "encode": true
42
44
  },
43
45
  {
44
46
  "@type": "IriTemplateMapping",
@@ -60,12 +62,9 @@
60
62
  "query": "query"
61
63
  },
62
64
  "results": {
63
- "id_predicate": "http://www.w3.org/2004/02/skos/core#notation",
64
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
65
- "sort_predicate": "http://vivoweb.org/ontology/core#rank",
66
- "context": {
67
- "Definition": "http://www.w3.org/2004/02/skos/core#definition"
68
- }
65
+ "id_ldpath": "nlmmesh:identifier ::xsd:string",
66
+ "label_ldpath": "nlmmesh:prefLabel ::xsd:string",
67
+ "sort_ldpath": "vivo:rank ::xsd:string"
69
68
  }
70
69
  }
71
70
  }
@@ -1,5 +1,7 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ },
3
5
  "term": {
4
6
  "url": {
5
7
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
@@ -22,11 +24,11 @@
22
24
  "term_id": "URI",
23
25
  "language": ["en"],
24
26
  "results": {
25
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
26
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
27
- "broader_predicate": "http://www.w3.org/2004/02/skos/core#broader",
28
- "narrower_predicate": "http://www.w3.org/2004/02/skos/core#narrower",
29
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
27
+ "label_ldpath": "skos:prefLabel ::xsd:string",
28
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
29
+ "broader_ldpath": "skos:broader ::xsd:anyURI",
30
+ "narrower_ldpath": "skos:narrower ::xsd:anyURI",
31
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
30
32
  }
31
33
  },
32
34
  "search": {}
@@ -1,7 +1,7 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
3
  "prefixes": {
4
- "skos": "http://www.w3.org/2004/02/skos/core#"
4
+ "vivo": "http://vivoweb.org/ontology/core#"
5
5
  },
6
6
  "term": {
7
7
  "url": {
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "term_id": "URI",
26
26
  "results": {
27
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
28
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
29
- "broader_predicate": "http://www.w3.org/2004/02/skos/core#broader",
30
- "narrower_predicate": "http://www.w3.org/2004/02/skos/core#narrower",
31
- "sameas_predicate": "http://www.w3.org/2004/02/skos/core#exactMatch"
27
+ "label_ldpath": "skos:prefLabel ::xsd:string",
28
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
29
+ "broader_ldpath": "skos:broader ::xsd:anyURI",
30
+ "narrower_ldpath": "skos:narrower ::xsd:anyURI",
31
+ "sameas_ldpath": "skos:exactMatch ::xsd:anyURI"
32
32
  }
33
33
  },
34
34
  "search": {
@@ -42,7 +42,8 @@
42
42
  "@type": "IriTemplateMapping",
43
43
  "variable": "query",
44
44
  "property": "hydra:freetextQuery",
45
- "required": true
45
+ "required": true,
46
+ "encode": true
46
47
  },
47
48
  {
48
49
  "@type": "IriTemplateMapping",
@@ -72,8 +73,8 @@
72
73
  "subauth": "entity"
73
74
  },
74
75
  "results": {
75
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
76
- "sort_predicate": "http://vivoweb.org/ontology/core#rank"
76
+ "label_ldpath": "skos:prefLabel ::xsd:string",
77
+ "sort_ldpath": "vivo:rank ::xsd:string"
77
78
  },
78
79
  "context": {
79
80
  "groups": {
@@ -1,10 +1,13 @@
1
1
  {
2
- "QA_CONFIG_VERSION": "2.0",
2
+ "QA_CONFIG_VERSION": "2.1",
3
+ "prefixes": {
4
+ "dcterms": "http://purl.org/dc/terms/"
5
+ },
3
6
  "term": {
4
7
  "url": {
5
8
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
6
9
  "@type": "IriTemplate",
7
- "template": "http://id.worldcat.org/fast/{term_id}",
10
+ "template": "http://id.worldcat.org/fast/{term_id}.rdf.xml",
8
11
  "variableRepresentation": "BasicRepresentation",
9
12
  "mapping": [
10
13
  {
@@ -20,10 +23,10 @@
20
23
  },
21
24
  "term_id": "ID",
22
25
  "results": {
23
- "id_predicate": "http://purl.org/dc/terms/identifier",
24
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
25
- "altlabel_predicate": "http://www.w3.org/2004/02/skos/core#altLabel",
26
- "sameas_predicate": "http://schema.org/sameAs"
26
+ "id_ldpath": "dcterms:identifier ::xsd:string",
27
+ "label_ldpath": "skos:prefLabel ::xsd:string",
28
+ "altlabel_ldpath": "skos:altLabel ::xsd:string",
29
+ "sameas_ldpath": "rdfs:sameAs ::xsd:anyURI"
27
30
  }
28
31
  },
29
32
  "search": {
@@ -37,7 +40,8 @@
37
40
  "@type": "IriTemplateMapping",
38
41
  "variable": "query",
39
42
  "property": "hydra:freetextQuery",
40
- "required": true
43
+ "required": true,
44
+ "encode": true
41
45
  },
42
46
  {
43
47
  "@type": "IriTemplateMapping",
@@ -60,9 +64,9 @@
60
64
  "subauth": "subauth"
61
65
  },
62
66
  "results": {
63
- "id_predicate": "http://purl.org/dc/terms/identifier",
64
- "label_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel",
65
- "sort_predicate": "http://www.w3.org/2004/02/skos/core#prefLabel"
67
+ "id_ldpath": "dcterms:identifier ::xsd:string",
68
+ "label_ldpath": "skos:prefLabel ::xsd:string",
69
+ "sort_ldpath": "skos:prefLabel ::xsd:string"
66
70
  },
67
71
  "subauthorities": {
68
72
  "topic": "oclc.topic",