-
Notifications
You must be signed in to change notification settings - Fork 47
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
Profiles may be written in or may link to a document or schema in a validation language (ShEx, SHACL, XMLschema). [ID41] (5.41) #279
Comments
What does it mean to "link to" something in this context? In general, the web allows one to link anything on the web to anything else on the web. |
I think the idea was that the validation rules, in a validation language like shacl or shex or xsd, could be a separate file, but that the profile would provide a URL or (if in RDF) a property with the identifier of the validation file as its value. If the profile is itself expressed as some form of code (k/v pairs, xml, rdf, etc.) then my preference would be that there be an explicit metadata element for the validation document, not just something like "dct:related". You'd want to be able to know precisely if the profile has an actionable validation file somewhere. Where I see a hitch is that there are validation descriptions, like xsd, shacl, and shex, which are files that define validation but need software to run them, and then there are actual validation programs that someone may provide. In my community there are a lot of home-grown validation programs for metadata. I don't know if people are sharing those, but they are of a different nature from the validation files that are input to to a program like schematron or topbraid. |
Yep. not a hitch however in profileDesc which models these similar to Distributions for Datasets - without constraing the nature of the distribution - hence we can have custom programs, web pages, instructions, guidance etc. The link is via another object, and can thus be qualified with a any metadata we need about form, role, audience etc. We have work to do to optimise the model (standardise this metadata) I suspect, but the basic separation and mechanism is there. We dont have an alternative (pre-existing) canonical option for a qualified link or specialised links for all possible types of implementation resources for profile definition or validation. |
I do not understand why we can't just use the existing DCAT model of Dataset (for the profile) and Distribution (for the machine-readable file that expresses the profile). Also in the case of a Distribution of a Dataset, you need software to do something with a file -- all we do is provice the format or media type, and let the client figure out what to do with it. What's the difference with the handling of a SHACL file? |
Makx, I'm not sure that you know that a shacl document is a shacl document based on the media type - it would have a media type of .ttl or .rdfxml. (This is from memory of discussions of a few years ago, but that is what I recall.) Does that matter? It seems that you would have to read the distribution to determine what type of distribution it is, and if it can be used to validate the data. My impression is that there was a desire to favor validation as a function, making it explicit. |
@kcoyle Thanks, I do now see that there is a difference between the media type and the 'meaning' of the file. This is actually why in ADMS there are two properties, one for the media type of the file and one for the 'representation technique' https://www.w3.org/TR/vocab-adms/#adms-representationtechnique. Maybe such an approach could be adopted for profiles too. In a way, ADMS might be a pretty good starting point for profile descriptions. After all, it was specifically designed to describe these kinds of things and it's based on DCAT. |
Thanks, @makxdekkers for the reminder about ADMS. If I recall correctly, Andrea was suggesting ADMS for profile description some months ago. I'll try to find a place to add it into that discussion. That would fit with treating profiles as datasets, I believe. |
An
|
(I also recall @makxdekkers and @philarcher warning us against making strong dependencies on ADMS - we should certainly learn from it, but maybe not build it into a potentially brittle dependency chain? - also see #111 ) |
@dr-shorthair why "...hunch is that |
Apologies - the hunch was more about the second part of the sentence, but the hedge was superfluous given the rest of the sentence. I've edited the comment above to match. |
@rob-metalinkage responded by email (but it didn't make it through to here) - There are two reasons we dont just reuse dcat:Dataset
Thus the alignment between Profiles and dcat:Resources is what we are concerned about here and perhaps more explicitly whether subclasses of Resource are disjoint. I'm agnostic whether in the alignment Profile is a subclass of Resource or Dataset... but for backwards compatability could we add a note and example stating that a Profile MAY be considered as a dataset of constraint objects? |
I believe that OWL semantics would say that sub-classes are not disjoint unless it is specifically axiomatized. Here's the kind of thing I have in mind though -
Depending on how one feels about 'hijacking' you may be more or less unhappy about the sub-class relationship between |
First, thanks for the diagrams! I always find pictures helpful. I don't think you need the sub-classing of dct:standard to dcat:Resource. The profile can be a sub-class of both. So the arrow from dct:Standard could instead be moved to Profile, and it then is a subclass of both dct:Standard and dcat:Resource, and no statements need to be made to subclass dct:Standard to any DCAT classes. This makes it, semantically, a "standard resource", which I think is a great way to define it. |
Back to Makx's question "I do not understand why we can't just use the existing DCAT model of Dataset (for the profile) and Distribution": I've just set up a profileDesc description of a dummy DC Application Profile for testing: CSIRO ePublish Dublin Core Application Profile. I've modelled the thing overall as a I can see how there may be upper, abstract mappings possible but so what? Do we really need profiling artifacts to be slaved to even abstract versions of DCAT? Sure, one can abstract right up to Can we perhaps concentrate on representing existing practice of profiling, with a nod to future practice, as profiling, not cataloguing, before we really pound the profiling/cataloguing crosswalks further? Else we might be hampering profile representation due to DCAT's embedded ways of operating. |
Also see my answer #317 (comment) for things that ADMS can't do for profiling. |
This requirement is clearly met by the 2PWD of PROF |
@nicholascar do you remember why you've removed the profile-guidance label from this issue? I think it may be worth keeping the attachment... And for the record I think it would be good to point to the places of 2PWD that meet the requirement. |
@nicholascar thanks I think the reference you give should be enough, but that for the sake of precision if you mention 2PWD you can use the real link, which in that case should be (I believe) https://www.w3.org/TR/2019/WD-dx-prof-20190402/#example-3-property-isinheritedfrom-in-use . Who knows, later on maybe the general URI in dx-prof will contain a document with different HTML anchors! And ok if you don't remember why you've removed the Guidance label and agree with keeping it, we're good on that front! I am however just removing the 'due-for-closing' label as I'm not certain it should have this status wrt Guidance. |
OK, thanks @aisaac for the reminder to use the more persistent link! Closing after listing in plenary 2019-09-03 + 3-day wait period. |
@aisaac are you ok with closing this? You removed the label earlier. Also, there is quite a bit of discussion above - has it been captured in the document? @nicholascar remember to give the resolution of the issue, not just that it was listed in the plenary. That isn't the key bit of info; we need to know what happened with the ideas that came up here. |
@kcoyle indeed I'm not ok closing this, well spotted. As said earlier I don't know if it has been handled for the Profile Guidance document, therefore we need to keep it open from the perspective of this deliverable. @nicholascar it should have disappeared from your list of issues to close, as it's not labeled for PROF anymore! |
Entered from Google Doc
The text was updated successfully, but these errors were encountered: