Issue: This issue on resource locator was raised during the 2nd WG meeting of 15 April 2015: the resource locator is encoded in RDF using foaf:homepage (consistent considering services to be of type dcat:Catalog). However, during the 2nd GeoDCAT-AP WG call of 15 April 2014, it was discussed that this could also be a dcat:landingPage, dcat:accessURL, or dcat:DownloadURL, depending on the type of resource locator (in IS019139 this is indicated by the gmd:CI_OnLineFunctionCode, which can be of values 'download', 'search', 'order', 'offlineAccess', and 'information').
(related issue: 142437 - GeoDCAT-AP - how to encode services in GeoDCAT-AP Core)
(related issue: 138935 - IM2 - How to describe datasets available via services with specific access methods)
Proposed resolution by Andrea Perego:
ISO 19115 offers however the ability to specify the “type” of resource locator by using a specific code list (CI_OnlineFunctionCode), described in the following table:
Description |
|
---|---|
download |
online instructions for transferring data from one storage device or system to another |
information |
online information about the resource |
offlineAccess |
online instructions for requesting the resource from the provider |
order |
online order process for obtaining the resource |
search |
online search interface for seeking out information about the resource |
Based on this, the proposed mappings of element “resource locator” are the following:
- foaf:homepage for services;
- for data sets and data set series, the mapping will vary depending on the function code (when available), based on the following table.
Property |
Domain |
Range |
|
---|---|---|---|
download |
dcat:accessURL |
dcat:Distribution |
rdfs:Resource |
information |
foaf:page |
dcat:Dataset |
foaf:Document |
offlineAccess |
dcat:accessURL |
dcat:Distribution |
rdfs:Resource |
order |
dcat:accessURL |
dcat:Distribution |
rdfs:Resource |
search |
foaf:page |
dcat:Dataset |
foaf:Document |
- |
dcat:landingPage |
dcat:Dataset |
foaf:Document |
The final decision needs however to be aligned with DCAT-AP 2.0, where similar issues are under discussion.
Example |
---|
|
<!— Resource metadata in ISO19139 -->
|
Comments
During the 3rd WG meeting of 29 April 2015, it was decided by vote that the proposal to differentiate the type of Resource Locator based on the gmd:OnLineFunctionCode is accepted:
ISO 19115 – CI_OnlineFunctionCode
Property
Domain
Range
download
dcat:accessURL
dcat:Distribution
rdfs:Resource
information
foaf:page
dcat:Dataset
foaf:Document
offlineAccess
dcat:landingPage
dcat:Dataset
rdfs:Resource
order
dcat:accessURL
dcat:Distribution
rdfs:Resource
search
foaf:page
dcat:Dataset
foaf:Document
-
dcat:landingPage
dcat:Dataset
foaf:Document
hi, i noticed this thread is closed, but I's still want to comment...
For me, when looking at the dcat specification, a dcat:downloadurl should be used to describe a link to a dataset file. If that is the case, no dcat:accesUrl would need to be provided.
My main question would be, why did you decide to make accesUrl mandatory?
In my opinion 5 cases can exist:
- a landingpage link (duplicated in accessURL, as suggested here http://www.w3.org/ns/dcat#accessURL)
- a landingpage link + a service (api) link (service link in accessURL)
- a landingpage link + a download link (landingpage duplicated in accesURL and download link in downloadUrl)
- only a service link (in accessURL)
- only a download link (in downloadUrl, no acessurl)
Hi, Paul.
Before replying to your specific questions, I would like to clarify one point.
In its current version, GeoDCAT-AP mainly focusses on defining harmonised alignments thanks to which you can transform IINSPIRE / ISO 19115 metadata records into a DCAT-AP compliant format. Which means that the result of the mapping must be based on information that is available in the source records.
On the other hand, GeoDCAT-AP does not currently include best practices on how you should "write" metadata records, although this is something that might be included in future versions, is the WG decides to do so.
Coming now to your questions:
For me, when looking at the dcat specification, a dcat:downloadurl should be used to describe a link to a dataset file. If that is the case, no dcat:accesUrl would need to be provided.
My main question would be, why did you decide to make accesUrl mandatory?
Well, the DCAT Rec says that dcat:downloadURL "is a specific form" dcat:accessURL, so there's nothing that prevents you from using it.
The reason of recommending the use of dcat:accessURL is that in INSPIRE / ISO metadata there's nothing that you can use to know whether it's a URL to a download page or to the actual file of the distribution.
In my opinion 5 cases can exist:
- a landingpage link (duplicated in accessURL, as suggested here http://www.w3.org/ns/dcat#accessURL)
- a landingpage link + a service (api) link (service link in accessURL)
- a landingpage link + a download link (landingpage duplicated in accesURL and download link in downloadUrl)
- only a service link (in accessURL)
- only a download link (in downloadUrl, no acessurl)
Again, as said above, there's nothing in the source metadata denoting whether a resource locator is a service, remote file, etc.
Andrea
Hi Andrea, related to your statement:
The reason of recommending the use of dcat:accessURL is that in INSPIRE / ISO metadata there's nothing that you can use to know whether it's a URL to a download page or to the actual file of the distribution.
Quite some organisations have always considered this a limitation of iso19139 and have added additional rules to their profiles that require the use of gmd:protocol in gmd:CI_OnlineResource, which value should be one of a codelist. The value can then be used to either map the online resource as access/download and/or landingpage. The Dutch and Swedish national profiles for example have such a codelist in place. It might be a recommendation to miwp-8 to consider such a protocol requirement. A cluster of catalogues started the following codelist to improve this facet of interoperability: https://github.com/OSGeo/Cat-Interop/blob/master/LinkPropertyLookupTabl…