italia / daf-ontologie-vocabolari-controllati

Elenco di ontologie e vocabolari controllati. Per maggiori informazioni, si veda il readme principale e quello di singoli vocabolari/ontologie, ove presente, e la seguente documentazione
https://github.com/italia/daf-ontologie-vocabolari-controllati/wiki
Creative Commons Attribution 4.0 International
80 stars 52 forks source link

https://w3id.org/italia/onto/CLV misses dct:identifier #153

Closed ioggstream closed 2 years ago

ioggstream commented 2 years ago

Question

Do we expect dct:identifier in CLV?

Constraint Violation in MinCountConstraintComponent (http://www.w3.org/ns/shacl#MinCountConstraintComponent): Severity: sh:Violation Source Shape: [ sh:minCount Literal("1", datatype=xsd:integer) ; sh:path dct:identifier ] Focus Node: https://w3id.org/italia/onto/CLV Result Path: dct:identifier Message: Less than 1 values on https://w3id.org/italia/onto/CLV->dct:identifier

giorgialodi commented 2 years ago

unfortunately dct:identifier is mandatory in DCAT-AP_IT (it should be something to remove from my perspective or at least relax in the specification, but at the time being is indeed mandatory). I noticed that actually there is no identifier of CLV. It can be added in this way dct:identifier "https://w3id.org/italia/onto/CLV" ; If you want I can proceed and do it.

ioggstream commented 2 years ago

@giorgialodi shouldn't identifier match the latest part of the path? eg.

Ontologie/TI/latest/TI-AP_IT.ttl:  dct:identifier "agid" ;
Ontologie/TI/latest/TI-AP_IT.ttl:   dct:identifier "TD" ;
Ontologie/TI/latest/TI-AP_IT.ttl:    dct:identifier "cnr - Z6HZEH - STLab" ;
giorgialodi commented 2 years ago

For the Agent the identifier is the IPA code. in the case of AGID is ok, in the other cases, since they are not in IPA there is the acronym.

For the identifier of the dataset, it is a generic string. It can be the URI of the voc. or any other number