Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 21, 2024
1 parent b8168f1 commit fb4c38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparqlunicorn_ontdoc/export/data/voidexporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def createVoidDataset(dsname,prefixnamespace,deploypath,outpath,licenseuri,modti
g.add((URIRef(cururi),URIRef("http://rdfs.org/ns/void#property"),URIRef(pred)))
g.add((URIRef(cururi),URIRef("http://rdfs.org/ns/void#triples"),Literal(str(propstats[pred]["triples"]),datatype="http://www.w3.org/2001/XMLSchema#integer")))
for item in classtree["core"]["data"]:
cururi = voidds +"_"+ DocUtils.shortenURI(item)
cururi = voidds +"_"+ DocUtils.shortenURI(item["id"])
g.add((URIRef(voidds), URIRef("http://rdfs.org/ns/void#classPartition"), URIRef(cururi)))
g.add((URIRef(cururi), URIRef("http://rdfs.org/ns/void#class"), URIRef(item["type"])))
g.add((URIRef(cururi), URIRef("http://rdfs.org/ns/void#entities"),Literal(str(stats["numentities"]), datatype="http://www.w3.org/2001/XMLSchema#integer")))
Expand Down

0 comments on commit fb4c38a

Please sign in to comment.