-
Notifications
You must be signed in to change notification settings - Fork 6
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
misalignment between GeoDCAT-AP dct:Standard properties and XSLT transformation rules #141
Comments
Related to #111 |
@NielsHoffmann, in addition to the issue to which @jakubklimek is referring, this is in general a hard to resolve issue. It is actually related with what the expectations are from a real data exchange. It finds its origin in the fact that we do not define in our data specifications the syntax of data exchange between two systems, but leave that open for interpretation.
seems very well defined. The URI However the data specification leaves this knowledge of 'trust' open. Why is it wrong that the following is shared?
Sharing the last triple is actually superfluous. It does not add anything. It only enlarges the payload. It is unclear where to draw the line of adding information that can be retrieved by reference. Shall we add the label? In all EU languages? With the reference to the conceptscheme it belongs? The full definitions, or mappings to other codelists? The boundaries are very difficult to draw in a generic way from a data specification perspective. In a concrete data exchange, the data exchange context may stipulate that all context information about the codes used must be shared. Because the recieving system does not make any assumption on prior knowledge. But at the same time, the agreement might be that just sharing the code ID (here the URI) is more as sufficient. Because the recieving system has uploaded in its background knowlegde the full codelist. Note that in dataspecification there is also often a case where codes are being used with a lot of agreement as shown above together with code where the agreement is very low. For instance considering a case where the value is not a proper dereferenceable URI, the following is then intended according to the data specification.
I intentionally also changed in the example the property, because such variations in data quality expectactions may change from property to property, while semantically (structurally) the same range information is expected. Making different choices in generic data specifications per property goes to far. That is left for implementations. I agree this feels uncomfortable that we cannot settle ourselves to one data exchange expectation. But it also has benefits. If the validation shows the error for the first example, then one has to question ourselves if information is missing. In this case, it is not, because the dereferencing will resolve it. With that information one can decide how to adapt the data exchange validation process: either by augmenting the validator with the background knowlegde of the codelist, either by removing the test and trusting that the supplied values are skos:Concept. Either approach is fine. In this way the validation process will be molded to the expectations of the actual data exchange. |
@bertvannuffelen Thank you for your elaborate response. One forward would possibly be to split the shacl file into multiple files, like already has been done for DCAT-AP 3.0 (and DCAT-AP-NL30). |
I'm looking into the xslt -> GeoDCAT-AP transformation and validation for the 3.0.0 pilot, participating from Geonovum (NL).
I'm testing with metadata records from the dutch national georegister that are inspire/HVD items.
Properties like referenceSystem and serviceProtocol (and probably some more) are either double typed as BlankNodeOrIRI and skos:Concept or only as skos:Concept in the shacl profile, but the xslt is not always typing those resources as skos:Concept.
This results in shacl validation errors.
Happy to elaborate further or provide pull requests if needed.
Kind regards,
Niels Hoffmann (Geonovum)
The text was updated successfully, but these errors were encountered: