Skip to content

Commit

Permalink
fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Mar 4, 2024
1 parent 419dc34 commit c11763f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gg2rdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function gg2rdf(inputPath: string, outputPath: string, log: (msg: string)
Deno.writeTextFileSync(outputPath!, ""); // clear prexisting file

output(`@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix cito: <http://purl.org/spar/cito/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
Expand Down Expand Up @@ -414,7 +415,7 @@ export function gg2rdf(inputPath: string, outputPath: string, log: (msg: string)
// see https://github.com/plazi/gg2rdf/issues/10
if (n === "ID-CoL") {
s.addProperty(
"rdf:seeAlso",
"rdfs:seeAlso",
`<https://www.catalogueoflife.org/data/taxon/${
normalizeSpace(taxon.getAttribute(n))
}>`,
Expand Down

0 comments on commit c11763f

Please sign in to comment.