-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add formal vocabulary definitions. #105
Conversation
@@ -529,7 +529,7 @@ <h3>BitstringStatusListCredential</h3> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>credentialSubject.ttl</td> | |||
<td id="ttl">credentialSubject.ttl</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I flagged this elsewhere -- but don't think ttl
works as specified and we don't need it here. I won't object to it being added here, but we'll then just need to remove it later unless it can be shown that it works properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please raise an issue if you haven't done so already noting why TTL doesn't work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, I found it: #73 (comment)
I will check the vocabulary generation file soonish (probably on the week-end), but one immediate remark that should be handled somehow.
All this means that the current setup will lead to a problem. I would suggest, to stay in line with the other vocabulary generation cases, to use |
@iherman wrote:
Yes, I've been meaning to chat with you about the defaults. One of the downsides to having all the files generated say "vocabulary.html" is that browsing to the directory doesn't load the vocabulary file. On Github, you're just given a 404 (without directory contents). I can change it back if it's a pain (simple rename), but I'm wondering if we should consider using whatever name the individual that wrote the file has chosen instead of forcing a naming convention on the people that use the |
I would propose to leave this as a |
@msporny while we are looking at those annoying minor issues... Is the namespace for this vocabulary (ie,
Three different vocabularies with three totally different namespace URL-s: that is a real reason for confusion. We had some discussions before regarding (1) and (2), and there is a general agreement that, well, this is what we inherited, and it would lead to more problems changing those that it would solve. Ie, we are stuck with (1) and (2). But if so, wouldn't it be less confusing to the community if the bitstring status namespece was Using CC @dlongley |
@iherman wrote:
Done in eb561c1.
No, it's just a proposal for now. :) It's based on our decision to do this in VCDM v2.0:
We didn't change the vocabulary URLs because we had deployed systems for VCDM v1.0 and v1.1 in production. The However, when the group decided to rename from
Maybe? I wouldn't be opposed to that base URL. The only argument against it is that the status list vocabulary didn't exist in 2018. :) So, if |
Thanks. Let us come back to these when the CR storm settles :-)
[…]
This would be o.k. only if we decided to use Actually, in #81, I considered these terms to be simply added to the VCDM credential vocabulary... Would that be out of the question? Does it have a real value of keeping these two apart? (Just asking, I do not have strong feelings on that aspect.) |
@iherman wrote:
I'd be fine w/ this path as well, though, we might not want to get into a situation where the VC vocabulary becomes a massive vocabulary for all extensions to VCs as well. That would be a path towards centralization -- not everything important in VCs needs to go through the VCWG (or the VC vocabulary). It would be good for us to provide an example of how to extend the core data model, which is what this PR does. But, as I said above, I don't have strong feelings about this. I prefer that we provide a good example of an extension that we can point to in the future when others want to extend VCs in some way. |
Just for the sake of argument: moving these vocabulary items into the VCDM vocabulary does not mean that this is for all extensions. It only means that we use it for extensions defined by this Working Group. We already do something like that elsewhere: the few extra terms needed for the VC JSON Schema spec have been added to the VCDM vocabulary, instead of defining a separate vocabulary for those. I acknowledge that the comparison is not entirely ok, because this proposed vocabulary is a factor larger than the Schema spec's. I would think this should be raised on the next WG call (I won't be there), and let the WG decide. I accept any decision done by the WG. |
vocab/template.html
Outdated
shortName: "ns/credentials/status-list", | ||
thisVersion: "https://www.w3.org/ns/credentials/status-list/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just flagging this, so that we should not forget: these entries may have to change if the decision is to choose a different namespace URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in aa07c21.
vocab/template.html
Outdated
the definition found in an external specification. For instance, this is so when | ||
the term is needed to provide a consistent structure to the RDFS vocabulary, | ||
such as when the term defines a common supertype for class instances that are | ||
used as objects of specific properties, or when | ||
<a href="https://www.w3.org/TR/rdf12-concepts/#section-rdf-graph">RDF Graphs</a> | ||
are involved. For such cases, the extra definition is included in the current | ||
document (and the `rdfs:comment` property is used to include them in the RDFS | ||
representations). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this relevant? I.e., will this vocabulary ever deal with RDF Graphs? If not (which is probably the case) the whole section may be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, this vocabulary will probably never deal w/ RDF Graphs. We can remove the statement about RDF Graphs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentions of RDF Graphs have been removed in the PR.
vocab/vocabulary.yml
Outdated
@@ -0,0 +1,91 @@ | |||
vocab: | |||
- id: sl | |||
value: https://www.w3.org/ns/credentials/status-list# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above: this may have to change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about https://www.w3.org/ns/credentials/status#
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my answer below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per WG meeting /ns/credentials/status#
should be o.k.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 636451d
vocab/vocabulary.yml
Outdated
@@ -0,0 +1,91 @@ | |||
vocab: | |||
- id: sl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be user friendly to chose a different prefix, say, slist
? The problem is that it is difficult to differentiate between s1
and sl
in many fonts, and this may be the source of stupid bugs...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I made the mistake reviewing this file in github: I was wondering why on earth do we use the prefix s1
, ie, "sh one"...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now for the important question... if not sl
, then what? :P
Would sv
be better? For "Status Vocabulary"? and then perhaps shorten the URL to: https://www.w3.org/ns/credentials/status#
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think sv
is really better.
As for the URL, for the reasons I started this discussions with, my personal preference is to put it into /2018/, alongside the VCDM vocabulary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(but shorten it to .../status
is indeed a good idea imho.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be precise, because I made a mistake in the original comment, what about https://www.w3.org/2018/credentials/status#
(Noting that we will have to update the .htaccess
file in /2018/credentials/
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per WG meeting this issue is getting closed. But I think using "sv" instead of "sl" would still be better, and that means that URL would be /ns/credentials/status#
.
Once this is merged, the .htaccess
in /ns/credentials
will need some magic...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 636451d
Just flagging this: before merging (if there is an approval to do so) some name changes that happened in other PR-s should be added here. See 35860ac (but there may be more). |
The issue was discussed in a meeting on 2024-01-10
View the transcript3.1. Rename "status" to "message" for
|
The issue was discussed in a meeting on 2024-01-10
View the transcript3.8. Add formal vocabulary definitions. (pr vc-bitstring-status-list#105)See github pull request vc-bitstring-status-list#105. Manu Sporny: what is the vocabulary URL for the status list?
Manu Sporny: we need to pick one and go with it.
Manu Sporny: but does not align with 2018 existing terms. Brent Zundel: do we want to have a poll on the name? POLL: What should the status list vocabulary URL be Choice A)
David Chadwick: The reason I wanted the date is if you want to change a definition, if you have date in there, change in definition could have a new date. I see how you can append/remove, but changing them is not possible.
Ivan Herman: There might be a version in the vocabulary, but URL does not change. |
Normative, multiple reviews, changes requested and made, no objections, merging. |
Co-authored-by: Ivan Herman <[email protected]>
aa07c21
to
b54d651
Compare
This PR is a first pass at attempting to address issue #17 by formally defining the vocabulary for BitstringStatusList.
Preview | Diff