Closed xuemduan closed 5 months ago
XSD schema is legacy. SHACL shapes were written according to the reference RINF application guide https://www.era.europa.eu/system/files/2022-11/rinf_application_guide_for_register_en_0.pdf where the data presentation for this attribute is specified as [AAAA]. I believe that either the XSD schema was aligned with a previous version of the reference RINF guide or it has an error.
Hello @xuemduan, it rather difficult to have a IMCode with just 1 length string. Even ISO code has at least 2 or 3. So, it's preferrable to follow the SHACL rules as it is the way to go with the vocabulary and the assets in the KG at https://virtuoso.ecdp.tech.ec.europa.eu/describe/?url=http%3A%2F%2Fdata.europa.eu%2F949%2FimCode
Hi,
I found that some constraints which appear in the SHACL shapes are not aligned with the constraints in RINF XSD Schema V1.5 .
For instance, in this example, the xs:minLength in the XSD file is 1, but in the SHACL shape, it is 4. See the extracts here:
I was wondering what is the correct value for this case and in general?
Bests, Xuemin