Commit 1ac8e58e authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fixes of wrong DCAT schema names.

parent fa17c165
Pipeline #103915 passed with stages
in 28 minutes and 29 seconds
......@@ -92,7 +92,7 @@ class Mapping():
if slim:
return dataset
self.g.add((dataset, DCAT.landing_page, URIRef('%s/entry/id/%s/%s' % (
self.g.add((dataset, DCAT.landingPage, URIRef('%s/entry/id/%s/%s' % (
config.gui_url(), entry.upload_id, entry.calc_id))))
self.g.add((dataset, DCT.license, URIRef('')))
......@@ -138,7 +138,7 @@ class Mapping():
self.g.add((person, VCARD.familyName, Literal(user.last_name)))
self.g.add((person, VCARD.nickName, Literal(user.username)))
self.g.add((person, VCARD.hasEmail, Literal(
self.g.add((person, VCARD.organizationName, Literal('unavailable' if user.affiliation is None else user.affiliation)))
self.g.add((person, VCARD.organization, Literal('unavailable' if user.affiliation is None else user.affiliation)))
# address = BNode()
# self.g.add((address, RDF.type, VCARD.Address))
# self.g.add((address, VCARD.street_address, )) # affiliation_address?
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment