Skip to content

Commit

Permalink
add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 23, 2024
1 parent ad8c35f commit c394654
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sparqlunicorn_ontdoc/docgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1078,9 +1078,10 @@ def createHTML(self,savepath, predobjs, subject, baseurl, subpreds, graph, searc
uritotreeitem[parentclass][-1]["data"]["to"][str(tup[0])][item]+=1
if baseurl not in str(tup[1]) and str(tup[0])!=self.typeproperty:
hasnonns.add(str(tup[1]))
if str(tup[1]) not in nonnsmap:
nonnsmap[str(tup[1])]=set()
nonnsmap[str(tup[1])].add(subject)
if nonnsmap!=None:
if str(tup[1]) not in nonnsmap:
nonnsmap[str(tup[1])]=set()
nonnsmap[str(tup[1])].add(subject)
for tup in sorted(predobjmap):
if self.metadatatable and tup not in DocConfig.labelproperties and DocUtils.shortenURI(str(tup),True) in DocConfig.metadatanamespaces:
thetable=metadatatablecontents
Expand Down

0 comments on commit c394654

Please sign in to comment.