Skip to content

Commit

Permalink
Re-expand some ceterms on import of concept scheme.
Browse files Browse the repository at this point in the history
  • Loading branch information
gloverkari committed Dec 13, 2023
1 parent 3a9a6ec commit e96010e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/cass/importer/CTDLASNCSVConceptImport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e96010e

Please sign in to comment.