@@ -19,36 +19,36 @@ namespace :gem do
1919end
2020
2121CONTEXTS = {
22- activitystreams : [ "http://www.w3.org/ns/activitystreams" , "https://www.w3.org/ns/activitystreams" ] ,
23- csvw : [ "http://www.w3.org/ns/csvw" , "https://www.w3.org/ns/csvw" ] ,
24- datacube : [ "http://pebbie.org/context/qb" , "https://pebbie.org/context/qb" ] ,
22+ activitystreams : [ "http://www.w3.org/ns/activitystreams" , "https://www.w3.org/ns/activitystreams" ] . freeze ,
23+ csvw : [ "http://www.w3.org/ns/csvw" , "https://www.w3.org/ns/csvw" ] . freeze ,
24+ datacube : [ "http://pebbie.org/context/qb" , "https://pebbie.org/context/qb" ] . freeze ,
2525 entityfacts : [
2626 "http://hub.culturegraph.org/entityfacts/context/v1/entityfacts.jsonld" ,
2727 "https://hub.culturegraph.org/entityfacts/context/v1/entityfacts.jsonld"
28- ] ,
29- foaf : [ "http://xmlns.com/foaf/context" , "https://xmlns.com/foaf/context" ] ,
28+ ] . freeze ,
29+ foaf : [ "http://xmlns.com/foaf/context" , "https://xmlns.com/foaf/context" ] . freeze ,
3030 geojson : [
3131 "http://geojson.org/geojson-ld/geojson-context.jsonld" ,
3232 "https://geojson.org/geojson-ld/geojson-context.jsonld"
33- ] ,
34- hydra : [ "http://www.w3.org/ns/hydra/core" , "https://www.w3.org/ns/hydra/core" ] ,
35- identity : "https://w3id.org/identity/v1" ,
36- iiif : [ "http://iiif.io/api/image/2/context.json" , "https://iiif.io/api/image/2/context.json" ] ,
37- linkedart : " https://linked.art/ns/v1/linked-art.json",
38- lov : [ "http://lov.okfn.org/dataset/lov/context" , "https://lov.okfn.org/dataset/lov/context" ] ,
39- oa : [ "http://www.w3.org/ns/oa" , "https://www.w3.org/ns/oa" ] ,
40- prefix : [ "http://prefix.cc/context" , "https://prefix.cc/context" ] ,
41- presentation : [ "http://iiif.io/api/presentation/2/context.json" , "https://iiif.io/api/presentation/2/context.json" ] ,
42- rdfa : [ "http://www.w3.org/2013/json-ld-context/rdfa11" , "https://www.w3.org/2013/json-ld-context/rdfa11" ] ,
43- research : [ "https://w3id.org/bundle/context" , "https://w3id.org/bundle/context" ] ,
33+ ] . freeze ,
34+ hydra : [ "http://www.w3.org/ns/hydra/core" , "https://www.w3.org/ns/hydra/core" ] . freeze ,
35+ identity : [ "https://w3id.org/identity/v1" , "http://w3id.org/identity/v1" ] . freeze ,
36+ iiif : [ "http://iiif.io/api/image/2/context.json" , "https://iiif.io/api/image/2/context.json" ] . freeze ,
37+ linkedart : [ "http://linked.art/ns/v1/linked-art.json" , " https://linked.art/ns/v1/linked-art.json"] . freeze ,
38+ lov : [ "http://lov.okfn.org/dataset/lov/context" , "https://lov.okfn.org/dataset/lov/context" ] . freeze ,
39+ oa : [ "http://www.w3.org/ns/oa" , "https://www.w3.org/ns/oa" ] . freeze ,
40+ prefix : [ "http://prefix.cc/context" , "https://prefix.cc/context" ] . freeze ,
41+ presentation : [ "http://iiif.io/api/presentation/2/context.json" , "https://iiif.io/api/presentation/2/context.json" ] . freeze ,
42+ rdfa : [ "http://www.w3.org/2013/json-ld-context/rdfa11" , "https://www.w3.org/2013/json-ld-context/rdfa11" ] . freeze ,
43+ research : [ "https://w3id.org/bundle/context" , "https://w3id.org/bundle/context" ] . freeze ,
4444 schema : [
4545 "http://schema.org/" ,
4646 "https://schema.org/" ,
4747 "http://schema.org" ,
4848 "https://schema.org"
49- ] ,
50- vc : [ "https://www.w3.org/2018/credentials/v1" ] ,
51- vcard : [ "http://www.w3.org/2006/vcard/ns" , "https://www.w3.org/2006/vcard/ns" ] ,
49+ ] . freeze ,
50+ vc : [ "http://www.w3.org/2018/credentials/v1" , " https://www.w3.org/2018/credentials/v1"] . freeze ,
51+ vcard : [ "http://www.w3.org/2006/vcard/ns" , "https://www.w3.org/2006/vcard/ns" ] . freeze ,
5252}
5353desc "Generate Contexts"
5454task :gen_contexts => CONTEXTS . keys . map { |v | "lib/json/ld/preloaded/#{ v } .rb" } do
0 commit comments