Skip to content

Commit 49f1dc6

Browse files
committed
Save the catalog under purl.humanatlas.io, but add redundantly to lod for compatibility.
1 parent 8044b65 commit 49f1dc6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/finalizing/build-blazegraph.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ export function buildBlazegraphJournal(context) {
3636
}
3737

3838
const catalog = resolve(context.deploymentHome, 'catalog.ttl');
39-
const catalogGraph = context.lodIri.replace(/\/$/, '');
39+
const catalogGraph = context.purlIri.replace(/\/$/, '');
4040
sparqlUpdate += `LOAD <file://${catalog}> INTO GRAPH <${catalogGraph}>;\n`;
4141

42+
// Deprecated: The catalog should now be referred to as https://purl.humanatlas.io ie purlIri
43+
const catalogGraph2 = 'https://lod.humanatlas.io';
44+
sparqlUpdate += `LOAD <file://${catalog}> INTO GRAPH <${catalogGraph2}>;\n`;
45+
4246
const loadScript = resolve(context.deploymentHome, 'blazegraph.load.rq');
4347
writeFileSync(loadScript, sparqlUpdate);
4448
update(loadScript, journal);

0 commit comments

Comments
 (0)