european-commission-empl / European-Learning-Model

Data Model for the Europass Digital Credentials Infrastructure
European Union Public License 1.2
47 stars 22 forks source link

[EDC- MDR constraints SHACL] EscoOccupationRestriction not working as intended #85

Open Esayos opened 1 year ago

Esayos commented 1 year ago

EscoOccupationRestriction should either have the constraint applied to id, or changed the pattern to reflect actual items from Occupation controlled list.

https://github.com/european-commission-empl/European-Learning-Model/blob/3a3348b54ab6f553a7b2264348451b68d0d27399/rdf/ap/edc/EDC-constraints-mdr.ttl#L138

here you can see an example in JSON of an esco Occupation (http://data.europa.eu/esco/occupation/c94dc5b2-6b23-4915-8de5-a4e6ae86d802):

                        {
                  "type" : "Concept",
                  "id" : "http://data.europa.eu/esco/occupation/c94dc5b2-6b23-4915-8de5-a4e6ae86d802",
                  "inScheme" : {
                      "id" : "http://data.europa.eu/esco/model#Occupation",
                      "type": "ConceptScheme"
                  }
              }