-
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
expires rdfs:domain
intersection vs expires schema:domainIncludes
union
#188
Comments
Where have you seen this, @TallTed ? The intention of the tool is definitely to set the multiple domains to a union; see, for example:
in https://w3c.github.io/vc-data-model/vocab/credentials/v2/vocabulary.ttl. Multiple ranges in the yml file yield intersections, but that is a different matter. |
OK, the above does what you described (union) via the blank node object of the This end result is not obvious when looking at the YAML Elsewhere, you expressed some reluctance to "introduce OWL ontology statements on the vocabulary" ... but that's necessary for the above, as expressed. So are we, or are aren't we, relying on OWL ontology statements? |
True, and I should have probably documented it in the Readme of yml2vocab. It somehow made sense that several domain references mean a union, several range references mean an intersection... I have added a paragraph to the Readme.
Touché :-) There are cases, like this one, where we really need a way to express things and RDFS is simply too poor. Actually, if you look at the TTL file, for example, there is also use of owl's object and datatype properties, deprecated properties... things that are useful to document and RDFS is simply unable to do. I think my comment above refers to a complexity level. If an OWL statement can be 'handled' by some rule level reasoning (say, OWL-RL) then it can be expected that many triple stores, sparql engines, etc, can handle the statement if they do any kind of reasoning in the first place. If we get to statements that rely on more complex OWL-DL, let alone OWL-Full reasoning, then we should keep away from those. That being said: can we close this issue, @TallTed ? I do not think there is any real action to be taken here... |
Yes, I think my questions have been answered satisfactorily. Anything else I spot can be fresh issues/PRs. |
Originally posted by @TallTed in #184 (comment)
According to @iherman in w3c/vc-data-model#1262 (comment)
Note that
expires rdfs:domain Proof, VerificationMethod
does not setrdfs:domain
to the union ofProof
andVerificationMethod
, but rather to their intersection; that is, any entity with the propertyexpires
must be both aProof
and aVerificationMethod
.For the apparently intended union, where an entity with the property
expires
could be either aProof
or aVerificationMethod
,rdfs:domain
must be changed toschema:domainIncludes
.Suggested change
domain:
- sec:Proof
- sec:VerificationMethod
domainIncludes:
- sec:Proof
- sec:VerificationMethod
Comment by @msporny msporny 3 days ago
The text was updated successfully, but these errors were encountered: