diff --git a/src/sparqlunicorn_ontdoc/export/api/solidexporter.py b/src/sparqlunicorn_ontdoc/export/api/solidexporter.py index b2af6422..f2b9efb1 100644 --- a/src/sparqlunicorn_ontdoc/export/api/solidexporter.py +++ b/src/sparqlunicorn_ontdoc/export/api/solidexporter.py @@ -17,7 +17,7 @@ def createSolidSettings(graph,outpath,deploypath,publisher,datasetname,classtree webidprofilegraph.add((URIRef(outpath+"/profile/card"), RDF.type, URIRef("http://xmlns.com/foaf/0.1/PersonalProfileDocument"))) preferencesgraph=Graph() preferencesgraph.serialize(destination=outpath+"/settings/prefs.ttl", format="ttl") - publisheruri=publisher + publisheruri=publisher.replace(" ","_") if not publisher.startswith("http"): publisheruri=deploypath+"/profile/card#"+str(publisher) webidprofilegraph.add((URIRef(outpath + "/profile/card"), URIRef("http://xmlns.com/foaf/0.1/primaryTopic"), URIRef(str(publisheruri))))