Skip to content

Commit

Permalink
namespace to topic
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 20, 2024
1 parent 9c042b5 commit 3c1674c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparqlunicorn_ontdoc/docgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def createVoidDataset(self,dsname,numtriples,numclasses,numinds,numpredicates,nu
if str(namespace) in DocConfig.namespaceToTopic:
for entry in DocConfig.namespaceToTopic[str(namespace)]:
g.add((URIRef(voidds), URIRef("http://purl.org/dc/terms/subject"),
URIRef(DocConfig.namespaceToTopic[str(namespace)][entry])))
URIRef(entry)))
g.serialize(self.outpath+"/void.ttl", encoding="utf-8")
return g

Expand Down

0 comments on commit 3c1674c

Please sign in to comment.