From e96010ec42a1e86c230ca468a6bb60a9045d1f7f Mon Sep 17 00:00:00 2001 From: "kari.glover" Date: Wed, 13 Dec 2023 08:44:15 -0800 Subject: [PATCH] Re-expand some ceterms on import of concept scheme. --- src/org/cass/importer/CTDLASNCSVConceptImport.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/cass/importer/CTDLASNCSVConceptImport.js b/src/org/cass/importer/CTDLASNCSVConceptImport.js index 334feabe..ba304114 100644 --- a/src/org/cass/importer/CTDLASNCSVConceptImport.js +++ b/src/org/cass/importer/CTDLASNCSVConceptImport.js @@ -113,6 +113,10 @@ module.exports = class CTDLASNCSVConceptImport { "https://schema.cassproject.org/0.4/jsonld1.1/ceasn2cassConcepts.json", "https://schema.cassproject.org/0.4/skos" ); + if (e["ceterms:AgentSector"] != null) { + e["https://purl.org/ctdl/terms/AgentSector"] = e["ceterms:AgentSector"]; + delete e["ceterms:AgentSector"]; + } e.type = "ConceptScheme"; let f = new EcConceptScheme(); f.copyFrom(e);