Skip to content
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

Proposed vocab metadata #325

Closed
wants to merge 13 commits into from
Closed

Proposed vocab metadata #325

wants to merge 13 commits into from

Conversation

berezovskyi
Copy link
Member

No description provided.

Jim Amsden and others added 12 commits March 24, 2020 17:26
And cleaned up the specs to get ready to publish.
resolves #200, #159, #303

Added the meta descriptions, copying the abstract into the content.

Simplified Core Paging section by combining some sections for clarity.
Moved the <h3> elements in section 5 inside their div elements so ReSpec doesn't see them as headers in the section and draw the extra lines.
Mssing isDefinedBy property.
Clarifies that the client may include multiple MIME types in the accept header.
Also added check-am.sh. check-qm.sh should also be added.
@berezovskyi berezovskyi changed the base branch from master to jra-am-v3.0-psd01 June 4, 2020 16:35
Base automatically changed from jra-am-v3.0-psd01 to master June 4, 2020 19:22
Copy link
Member

@ndjc ndjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue currently tries to describe the proposed set of metadata by referencing a delta between two versions of the Core vocab, or if you like, by reference to the entirety of the newer version. But even with the comments, that doesn't really tell me what each term is used for and why it is present - and it certainly wont tell future OSLC spec developers that.

What I think we should do here is write a resource shape for our vocabularies - that is, for our use of the class owl:Ontology. In this resource shape, we can use the description field to indicate our use of each property of the ontology, when it should be set, and what reviewers should verify.

This would also help me update ShapeChecker to look for the right properties on vocabularies.

I'm OK with volunteering to start doing that, but not this week - I could probably have a draft shape to review before next week's meeting.

Copy link
Member

@jamsden jamsden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a lot of stuff to maintain manually. I foresee the potential for errors. Is all this needed? Can we minimize? I still thing dcterms:source with the URL to the actual repo release version is all that's needed. Following that link will provide all the rest of the information.

@jamsden
Copy link
Member

jamsden commented Jun 4, 2020

Do we need to hold up release of Core PS01 or COS01 for that matter, for this feature? I hope not.

It feels like we might be over-engineering the process at the expense of getting the specs to OASIS Standard. All that good work goes to waste if we don't get the specs published.

Let's do the right thing of course, but understand the tradeoffs.

@berezovskyi
Copy link
Member Author

berezovskyi commented Jun 4, 2020 via email

@jamsden
Copy link
Member

jamsden commented Jun 12, 2020

@berezovskyi
Copy link
Member Author

Thanks for taking a look, Jim.

The license property is nice to have but not necessary. The advantage over the header is that it’s machine readable ofc.

The dcterms:source will point to the exact source location as we agreed.

The purpose of the dcterms:relation property is to exactly point to the HEAD version at all times. Theoretically, relation can be removed. I wanted to have it in case we point to the file in the oasis archive via the dc:source.

I will remove tag and version in favor of dc:subject.

I can remove the ‘issued’ property, though I don’t consider it to be redundant that much.

In general, I dislike how we label properties to be redundant. We need to remember that the whole purpose of reasoning is to produce redundant data (ie reasoners merely produce redundant inferences). Also, we make all of the properties in RDF readable for machines, not for humans. A machine cannot easily deduce that the vocab has Apache license or is part of the Core 3.0 PS spec. So, I think we shall apply this line of thinking to keep ‘license’ and ‘isPartOf’ properties intact.

@berezovskyi
Copy link
Member Author

@jamsden @ndjc I want to add similar metadata to the shapes. I think it will be best to define a class like oslc:DomainSpecification so that we can say in the shapes file:

. a oslc:DomainSpecification ; all the necessary metadata

Other possible class names:

  • Shapes
  • ShapesSpecification

I have seen declarations like : dcterms:modified “2020-06-12”^^xsd:date but that will look a bit strange and will only be readable by dynamic means and will not allow a ShapeChecker shape to be defined.

Also, any properties you wish to add?

@ndjc
Copy link
Member

ndjc commented Jun 23, 2020

dcterms:license is in fact a requirement for our internal IBM vocabularies, and I see no problem in requiring it for OSLC ones.
There does seem to be some overlap between dcterms:relation, dcterms:source, and dcterms:isPartOf; can we define some use cases that call out the need for these?

@berezovskyi
Copy link
Member Author

We might want to define multiple sets of shapes per domain, a less prescriptive name may be better, e.g. ShapeCollection or Shapes.

@berezovskyi
Copy link
Member Author

berezovskyi commented Jun 26, 2020

The vocab metadata was pushed in #329 and shape metadata was extracted into #354

This was referenced Jul 9, 2020
@berezovskyi berezovskyi deleted the b-vocab-metadata branch July 17, 2020 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants