diff --git a/ckanext/odsh/profiles.py b/ckanext/odsh/profiles.py index f2bb70906c29f1a418fb2f5a7e042bed37ca6229..3dac09f2f97a65d8df762131534f42bab6dfb3ab 100644 --- a/ckanext/odsh/profiles.py +++ b/ckanext/odsh/profiles.py @@ -118,6 +118,10 @@ class ODSHDCATdeProfile(DCATdeProfile): for dist in self.g.objects(dataset_ref, DCAT.distribution): self.g.set( (dist, DCATDE.licenseAttributionByText, rdflib.Literal(attr))) + + dct_subject_url = self._get_dataset_value(dataset_dict, 'subject') + items = [('subject', DCT.subject, dct_subject_url, rdflib.Literal)] + self._add_triples_from_dict(dataset_dict, dataset_ref, items) _RESOURCE_FORMATS_IMPORT = None