From 8505a846956cbfae1f57aef78312c7fad6df737d Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 6 Sep 2024 15:24:31 +0200 Subject: [PATCH] Update vocabs URLs for move to new lbz-vocabs repo (RPB-189) --- conf/nwbib.conf | 4 ++-- conf/rpb-titel-to-lobid.fix | 4 ++-- conf/rppd-to-lobid.fix | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/nwbib.conf b/conf/nwbib.conf index f3a5334e..114cd0c4 100644 --- a/conf/nwbib.conf +++ b/conf/nwbib.conf @@ -9,9 +9,9 @@ nwbib.filter="inCollection.id:\"http://lobid.org/resources/HT013494180#!\"" index { es.port.http=8010 es.port.tcp=8110 - data.rpbsubject="https://raw.githubusercontent.com/hbz/lobid-vocabs/master/rpb/rpb.ttl" + data.rpbsubject="https://raw.githubusercontent.com/hbz/lbz-vocabs/main/rpb.ttl" # Setup for production, use static file: - data.rpbspatial="https://raw.githubusercontent.com/hbz/lobid-vocabs/master/rpb/rpb-spatial.ttl" + data.rpbspatial="https://raw.githubusercontent.com/hbz/lbz-vocabs/main/rpb-spatial.ttl" rpbspatial.enrich=false # Setup for tests and to regenerate full SKOS file from base SKOS file and Wikidata: # (rm -rf ./data/ ; rm conf/wikidata.json ; sbt "runMain SpatialToSkos" ; cp conf/nwbib-spatial.ttl ../lobid-vocabs/nwbib/) diff --git a/conf/rpb-titel-to-lobid.fix b/conf/rpb-titel-to-lobid.fix index 6c475b29..95816543 100644 --- a/conf/rpb-titel-to-lobid.fix +++ b/conf/rpb-titel-to-lobid.fix @@ -4,8 +4,8 @@ vacuum() #-------- maps -------- do once("map") - put_rdfmap("https://raw.githubusercontent.com/hbz/lobid-vocabs/master/rpb/rpb-spatial.ttl", "spatial_map", target:"skos:prefLabel", select_language:"de") - put_rdfmap("https://raw.githubusercontent.com/hbz/lobid-vocabs/master/rpb/rpb.ttl", "subject_map", target:"skos:prefLabel", select_language:"de") + put_rdfmap("https://raw.githubusercontent.com/hbz/lbz-vocabs/main/rpb-spatial.ttl", "spatial_map", target:"skos:prefLabel", select_language:"de") + put_rdfmap("https://raw.githubusercontent.com/hbz/lbz-vocabs/main/rpb.ttl", "subject_map", target:"skos:prefLabel", select_language:"de") end do put_macro("move_here") diff --git a/conf/rppd-to-lobid.fix b/conf/rppd-to-lobid.fix index 78af4b3c..ab1d0185 100644 --- a/conf/rppd-to-lobid.fix +++ b/conf/rppd-to-lobid.fix @@ -23,7 +23,7 @@ end do once("map") put_filemap("conf/RPB-Export_HBZ_SW.tsv", "SW_map", sep_char: "\t") put_filemap("conf/RPB-Export_HBZ_SWN.tsv", "SWN_map", sep_char: "\t") - put_rdfmap("https://raw.githubusercontent.com/hbz/lobid-vocabs/master/rpb/rpb-spatial.ttl", "spatial_map", target:"skos:prefLabel", select_language:"de") + put_rdfmap("https://raw.githubusercontent.com/hbz/lbz-vocabs/main/rpb-spatial.ttl", "spatial_map", target:"skos:prefLabel", select_language:"de") put_filemap("conf/maps/gndGeographicName.tsv", "gnd_spatial_map", key_column:"0", value_column:"1", sep_char: "\t", expected_columns:"2") # maps für lookup relatedPerson