diff --git a/src/sparqlunicorn_ontdoc/export/data/voidexporter.py b/src/sparqlunicorn_ontdoc/export/data/voidexporter.py index 5ea69d3b..398bc7bb 100644 --- a/src/sparqlunicorn_ontdoc/export/data/voidexporter.py +++ b/src/sparqlunicorn_ontdoc/export/data/voidexporter.py @@ -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")))