Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 13, 2025
1 parent 06f7ed0 commit c86e115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparqlunicorn_ontdoc/doc/graphutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from doc.docconfig import DocConfig
import json
from collections import defaultdict
from export.data.vowlexporter import OWL2VOWL
from export.data.vowlexporter import VOWLExporter

class GraphUtils:

Expand Down Expand Up @@ -139,7 +139,7 @@ def getPropertyRelations(graph, outpath,typeproperty,createVOWL):
predicates[pred]["to"] = list(predicates[pred]["to"])
predicatecounter += 1
predicatelength += len(str(pred))
OWL2VOWL.convertOWL2MiniVOWL(graph, outpath, "minivowl_result.js", predicates)
VOWLExporter.convertOWL2MiniVOWL(graph, outpath, "minivowl_result.js", predicates)
with open(outpath + "proprelations.js", 'w', encoding='utf-8') as f:
f.write("var proprelations=" + json.dumps(predicates))
f.close()
Expand Down

0 comments on commit c86e115

Please sign in to comment.