zazuko / cube-link

Cube Schema
https://zazuko.github.io/cube-link/
Other
12 stars 8 forks source link

set `sh:maxCount` 1 for `sh:datatype` and `sh:nodeKind` #105

Closed Rdataflow closed 6 months ago

Rdataflow commented 1 year ago

... as multiple instances (parallel fullfillment of both conditions) are contradicting each other.

given an unconditional sh:datatype , thus all values within that cube need to be of that very datatype. for values there is no way to have two distinct datatypes at once. (in such cases multiple conditional datatypes are to be placed within sh:or as proposed recently)

same goes for

Rdataflow commented 12 months ago

might also be addressed by adding shsh to the list of validations to check our cube:Constraints right in here https://cube.link/#the-integrity-of-the-constraints ... if this really contains the relevant parts

Rdataflow commented 6 months ago

FTR: closed by https://github.com/zazuko/cube-link/blob/a9cb254ef6ddaebfdb41aa4261b020cc40e97c67/validation/profile-visualize.ttl#L164-L169 and https://github.com/zazuko/cube-link/blob/a9cb254ef6ddaebfdb41aa4261b020cc40e97c67/validation/profile-visualize.ttl#L145-L150