From 596a0cc90709074795a5031ae23f2228aa644b48 Mon Sep 17 00:00:00 2001 From: Francesco Piero Paolicelli Date: Thu, 7 Apr 2022 14:35:47 +0200 Subject: [PATCH] Update profiles.py --- ckanext/dcatapit/dcat/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/dcatapit/dcat/profiles.py b/ckanext/dcatapit/dcat/profiles.py index 44c0b76..72d55c4 100644 --- a/ckanext/dcatapit/dcat/profiles.py +++ b/ckanext/dcatapit/dcat/profiles.py @@ -798,7 +798,7 @@ def graph_from_dataset(self, dataset_dict, dataset_ref): if 'telephone' in org_dict.keys(): g.add((poc, VCARD.hasTelephone, Literal(org_dict.get('telephone')))) if 'site' in org_dict.keys(): - g.add((poc, VCARD.hasURL, Literal(org_dict.get('site')))) + g.add((poc, VCARD.hasURL, URIRef(org_dict.get('site')))) # Rights holder : Agent, # holder_ref keeps graph reference to holder subject