-
Notifications
You must be signed in to change notification settings - Fork 10
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
Define oslc:ResourceShapeConstraints #354
Comments
Are you proposing that this has to be done before Core PS01 and QM PS01 are published? If so, why? #325 indicated the metadata on ontologies was nice to have but should not hold up publication. Wouldn't it be the same for shapes. This will required changes to ResourceShapes too. |
What will we not be able to do if this is deferred? Ensures the links for the vocab and shapes are properly aligned when published. See: https://github.com/oslc-op/oslc-specs/pull/325/files for proposed properties that would be the same on the ontology. Optionally ShapeChecker would be able to check it. We need to understand:
|
Attempting to make some progress on this in order to get Core and CM PS01 published, here's my proposed answers to the questions above:
Questions:
|
|
I specifically propose something like this would be added to every shape .ttl file
Similar metadata properties would also be added to the vocab files. |
Thanks @jamsden! Let's end here and adopt your proposal unless @jadelkhoury or @ndjc or @DavidJHoney have any objections. |
Just talked to Jim, his proposal did not imply removing any predicates already used in vocab metadata except for the modified date. Final set of properties: http://open-services.net/ns/core/shapes/3.0/
a oslc:ResourceShapeConstraints ; # or owl:Ontology
dcterms:title "OSLC Core Resource Shape Constraints" ; # or "OSLC Core Vocabulary"
rdfs:label "Core Resource Shape Constraints" ; # or "OSLC Core Vocabulary"
vann:preferredNamespacePrefix "oslc_shapes" ; # or "oslc"
dcterms:description "Resource Shape Constraints defined in the OSLC Core 3.0 specification."^^rdf:XMLLiteral ;
dcterms:publisher <https://open-services.net/about/> ;
dcterms:license <http://www.apache.org/licenses/LICENSE-2.0> ;
# TODO add dcterms:issued property when published, same as in ReSpec
# dcterms:issued "2020-XX-XX"^^<http://www.w3.org/2001/XMLSchema#date> ;
# TODO change to the file under https://docs.oasis-open-projects.org/oslc-op/
dcterms:source <https://github.com/oslc-op/oslc-specs/blob/master/specs/core/core-vocab.ttl> ;
# TODO change to the file under https://docs.oasis-open-projects.org/oslc-op/
dcterms:isPartOf <https://oslc-op.github.io/oslc-specs/specs/core/oslc-core.html> ;
# TODO change to the STAGE##
dcterms:hasVersion "WD" . |
Took a first stab at it in #367 |
In my recent PR, ShapeChecker has been updated to allow (but not require) these properties on the base resource in a shapes file. No rdf:type property on that subject is permitted. |
Following last week's meeting, I have changed ShapeChecker to use the oslc:ResourceShapeConstraints resource - my previous comment is no longer valid. This resource should be closed once at least one spec has been merged to master with this new resource, and the result passes ShapeChecker with its new -C flag. |
During the call last Thu we decided to create
oslc:ShapeCollection
resource to add metadata to the shape file. For the backstory see #325 (comment) and https://github.com/oslc-op/oslc-admin/blob/master/minutes/2020/2020-06-25.md#shapes-metadataShapeCollection
resource to the vocabShapeCollection
instance to the QM spec shapesrdfs:isDefinedBy
property on every QM shapeShapeCollection
checks to the ShapeCheckerThe text was updated successfully, but these errors were encountered: