You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because in the jsonld context in https://w3id.org/security/v1 specifies sec as https://w3id.org/security#, so sec:thing will be https://w3id.org/security#thing, whereas in the files above sec is set to https://w3id.org/security/v1, so sec:thing should end up as https://w3id.org/security/v1thing I think, which seams odd to me.
And while I'm at it, in vocabulary.ttl, there are some lines reading rdfs:range ;, they seam to trip up python rdflib when I try to parse them, so I think these empty ranges should be removed. (They don't add anything there anyway, in turtle, it's always a (subject, predicate, object) tripple, and there are no objects there, only subject & predicate, so there is no tripple)
The text was updated successfully, but these errors were encountered:
Yes, sec is defined incorrectly in the vocabulary.yml file. Thanks for spotting the issue, PR #109 has been raised to fix the issue.
And while I'm at it, in vocabulary.ttl, there are some lines reading rdfs:range;
I just re-ran the yml2vocab command and it looks like the latest build of that tool doesn't include empty rdfs:range declarations.
So, once PR #109 is merged, it looks like we can close this issue.
msporny
added
pr exists
A pull request exists to address this issue.
before CR
This issue needs to be resolved before the Candidate Recommendation phase.
labels
Jul 4, 2023
sec
is set tohttps://w3id.org/security/v1
here, but shouldn't it behttps://w3id.org/security#
?vc-data-integrity/vocab/security/vocabulary.jsonld
Line 3 in e40bcc8
vc-data-integrity/vocab/security/vocabulary.ttl
Line 1 in e40bcc8
Because in the jsonld context in https://w3id.org/security/v1 specifies sec as
https://w3id.org/security#
, sosec:thing
will behttps://w3id.org/security#thing
, whereas in the files abovesec
is set tohttps://w3id.org/security/v1
, sosec:thing
should end up ashttps://w3id.org/security/v1thing
I think, which seams odd to me.And while I'm at it, in vocabulary.ttl, there are some lines reading
rdfs:range ;
, they seam to trip up python rdflib when I try to parse them, so I think these empty ranges should be removed. (They don't add anything there anyway, in turtle, it's always a (subject, predicate, object) tripple, and there are no objects there, only subject & predicate, so there is no tripple)The text was updated successfully, but these errors were encountered: