-
Notifications
You must be signed in to change notification settings - Fork 34
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
sh:description should be used in place of rdfs:comment on property shapes #357
Milestone
Comments
ajnelson-nist
added a commit
that referenced
this issue
Mar 18, 2022
References: * #357 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
7 tasks
7 tasks
ajnelson-nist
added a commit
to casework/CASE-Examples
that referenced
this issue
May 10, 2022
A follow-on commit will regenerate Make-managed files. References: * ucoProject/UCO#357 * ucoProject/UCO#363 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/casework.github.io
that referenced
this issue
May 10, 2022
A follow-on patch will regenerate Make-managed files. References: * ucoProject/UCO#357 * ucoProject/UCO#363 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/casework.github.io
that referenced
this issue
Jun 7, 2022
A follow-on patch will regenerate Make-managed files. References: * [UCO OC-127] (CP-81) CASE has always used Attachment_Of relationship in examples, but UCO does not have it * ucoProject/UCO#351 * ucoProject/UCO#357 * ucoProject/UCO#383 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/casework.github.io
that referenced
this issue
Jun 7, 2022
References: * [UCO OC-127] (CP-81) CASE has always used Attachment_Of relationship in examples, but UCO does not have it * ucoProject/UCO#351 * ucoProject/UCO#357 * ucoProject/UCO#383 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/CASE-Examples
that referenced
this issue
Jun 7, 2022
A follow-on patch will regenerate Make-managed files. References: * [UCO OC-127] (CP-81) CASE has always used Attachment_Of relationship in examples, but UCO does not have it * ucoProject/UCO#351 * ucoProject/UCO#357 * ucoProject/UCO#383 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/CASE-Examples
that referenced
this issue
Jun 7, 2022
References: * [UCO OC-127] (CP-81) CASE has always used Attachment_Of relationship in examples, but UCO does not have it * ucoProject/UCO#351 * ucoProject/UCO#357 * ucoProject/UCO#383 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Classes and properties in UCO currently use
rdfs:comment
to provide their definitions.At the time of the conversion to SHACL, some
sh:PropertyShape
s also provided descriptions of property-class associations. Those were also encoded withrdfs:comment
s.SHACL provides a property,
sh:description
, that would cover UCO's latter usage ofrdfs:comment
strings, with this prescription:UCO and its related ontologies should adopt the practice of using these specific strings.
Requirements
Requirement 1: For any
rdfs:comment
currently in ash:PropertyShape
used in UCO, it should be converted to ash:description
. Only one is known now.Requirement 2: It must remain acceptable to store
rdfs:comment
s insh:PropertyShape
s.Further on requirement 2: Usage prescription of
rdfs:comment
should reduce to matters outside of user-level prescriptions, e.g. recording maintenance reminders.Benefits
rdfs:comment
.sh:description
is intended for only use onsh:PropertyShape
s, so a general query for natural-language descriptions of property-class associations can comfortably use onlysh:description
.Risks
rdfs:comment
s would need to be stored in onesh:description
string, per prescription ("should"-strength, not "must"-strength) that ash:description
"may have multiple values, but should only have one value per language tag." This is believed to be low risk, due to the prescription not being a firm "must"-level requirement.rdfs:comment
andsh:description
. This is believed to be low risk, as current UCO practice of using blank nodes forsh:PropertyShape
s somewhat necessitates independent logic for reviewing documentation ofsh:PropertyShape
s instead ofsh:NodeShape
s.sh:PropertyShape
inlined documentation. In-property-shape documentation is currently not incorporated, though this would be a good feature to request.Competencies demonstrated
Competency 1
Class-property associations can be reviewed.
The following query shows all of the class-property associations that are described with natural-language documentation in UCO:
Run against UCO 0.7.0, this is the result of that query:
The
rdfs:comment
used in that query can be replaced withsh:description
after adoption of this proposal.Solution summary
Requirement 1 also fully describes the solution, implemented in PR 358.
Coordination
develop
The text was updated successfully, but these errors were encountered: