-
Notifications
You must be signed in to change notification settings - Fork 11
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
Difference in prefLabel & definition of service type depending on the encoding/profile #208
Comments
This turns out to be due to other information clashing with the authoritative definitions - and the UI choosing arbitrary values for something that is expected to be single value. @avillar - we will need to add a validation step to catch this - this may need to be a post-deployment step that operates on the graph as a whole as it can be tested in the resource pipeline if the target deployment is known and accessible, which is not known at the validation phase. @ghobona - this was an issue caused by the standards baseline (standards.ttl) vocabulary - I have moved this to the incubation directory for remediation and removed from the servers. we will confirm the concept-level SKOS works as required. another issue is that the source material does not have a definition per se: just a comment hence the label is used as the best definition available for the preferred definition . We will need to pull the skos:definitions out of the standards collection view and add to the object definitions. |
@rob-metalinkage It is not only about the definitions but also about the preferred labels. For example, when I look at https://github.com/opengeospatial/NamingAuthority/blob/master/definitions/conceptschemes/servicetype.ttl and https://github.com/opengeospatial/NamingAuthority/blob/master/definitions/conceptschemes/entailed/serviceType.ttl (I don't know what is the difference between those two files), I can see that http://www.opengis.net/def/serviceType/ogc/wms has two preferred labels:
The same applies to some of the other service types. What the INSPIRE community needs to know, is the correct preferred labels for the service types, because these are duplicated in the INSPIRE registry at https://inspire.ec.europa.eu/metadata-codelist/ProtocolValue, and this is blocking INSPIRE-MIF/gp-data-service-linking-simplification#68. In INSPIRE-MIF/gp-data-service-linking-simplification#68, it was also suggested that the correct preferred label for e.g. http://www.opengis.net/def/serviceType/ogc/wms is “wms”, and not “OGC Web Map Service” (based on what is shown at http://defs.opengis.net/vocprez/object?uri=http://www.opengis.net/def/serviceType/ogc/wms), it would be good to have that clarified as well. |
@ heidivanparys, there is a subtle difference between the two resources above:
The |
The INSPIRE use case involves referencing the concept of a WMS in a code from the INSPIRE code lists. http://www.opengis.net/def/serviceType/ogc/wms/ is a collection of concepts representing the different versions of WMS. http://www.opengis.net/def/serviceType/ogc/wms is the concept of the WMS standard itself. Therefore, it would be advisable for the INSPIRE code list to reference http://www.opengis.net/def/serviceType/ogc/wms. |
@avillar Please look into implementing a validation mechanism for identifying any concepts that have multiple skos:definitions and skos:prefLabels. The mechanism should generate a report (triggered by a GitHub Action) and saved in the repo. It should read directly from the RDF4J Workbench and not Django CMS. |
I noticed that the preferred label and the definition of a service type are different depending on the encoding (or profile, see explanation below).
E.g. WMS:
http://www.opengis.net/def/serviceType/ogc/wms :
When looking at the different profiles and encodings via http://www.opengis.net/def/serviceType/ogc/wms?_profile=alt:
application/ld+json
http://www.opengis.net/def/serviceType/ogc/wms?_profile=concept&_mediatype=application/ld%2Bjson:
redirects to http://defs-dev.opengis.net/vocprez/object?uri=http://www.opengis.net/def/serviceType/ogc/wms&_profile=dd&_mediatype=application/ld+json:
application/rdf+xml
http://www.opengis.net/def/serviceType/ogc/wms?_profile=concept&_mediatype=application/rdf%2Bxml:
redirects to http://defs.opengis.net/vocprez/object?uri=http://www.opengis.net/def/serviceType/ogc/wms&_mediatype=application/rdf+xml:
The difference seems to be that for application/ld+json, parameter
_profile=dd
is added on the redirect.What are the correct values?
The background for this question is related to INSPIRE-MIF/gp-data-service-linking-simplification#68. Specifically, what preferred labels should be included on this page: https://inspire.ec.europa.eu/metadata-codelist/ProtocolValue, the short ones (e.g. wms) or the long one (e.g. OGC Web Map Service).
The text was updated successfully, but these errors were encountered: