Open
Description
Property shapes with the same shacl:path
and different generated IRIs repeats twice or sometimes even 3-4 times in the Turtle spec. JSON-LD affected also.
For example, several property shapes repeats just for the CatalogShape
class shape;
- dcat:dataset -- 2 times
- dcat:record -- 2 times
- dc:issued -- 2 times
- dcat:keyword -- OK
- dc:publisher -- 4 times!!!
- dc:modified -- 2 times
- dc:description -- 2 times
- dc:creator -- 3 times
- foaf:homepage -- 3 times
- dc:license -- 3 times
- dc:identifier -- 2 times
- dcat:service -- 2 times
- dc:title -- 2 times
Just one concrete example for the foaf:homepage
property shape (lang tag stripped):
<#CatalogShape/8d36a62f83db7f94097e27edb51306e17e0d40f3> rdfs:seeAlso "https://semiceu.github.io/MLDCAT-AP/releases/2.0.0#Catalogue.homepage";
shacl:description "A web page that acts as the main page for the Catalogue.";
shacl:name "homepage";
shacl:nodeKind shacl:BlankNodeOrIRI;
shacl:path foaf:homepage .
<#CatalogShape/da28472666d298998330cb159b2c1e90b4446250> rdfs:seeAlso "https://semiceu.github.io/MLDCAT-AP/releases/2.0.0#Catalogue.homepage";
shacl:description "A web page that acts as the main page for the Catalogue.";
shacl:maxCount 1;
shacl:name "homepage";
shacl:path foaf:homepage .
<#CatalogShape/fb8568b313de736f9184db23272b6317700e9e7e> rdfs:seeAlso "https://semiceu.github.io/MLDCAT-AP/releases/2.0.0#Catalogue.homepage";
shacl:class foaf:Document;
shacl:description "A web page that acts as the main page for the Catalogue.";
shacl:name "homepage";
shacl:path foaf:homepage .
Some times property some shape variants misses cardinality restriction. Some times it differs with shacl:nodeKind shacl:BlankNodeOrIRI
or shacl:class
.
If it needs a variability in value restrictions (BlankNodeOrIRI or concrete class), the correct way is to use sh:or
, I think.
If property shape's IRIs weren't random, this would be a minor problem 😊 But as it is, it seems it's an error. And an "adoption blocker" one.
Metadata
Metadata
Assignees
Labels
No labels