Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Sep 22, 2024
1 parent c2c151d commit bb5c170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparqlunicorn_ontdoc/export/api/solidexporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down

0 comments on commit bb5c170

Please sign in to comment.