Closed andrew2net closed 10 months ago
We should also contain "URI" in Relaton bibliographic items because they are unique identifiers of the source item (read: not accessible URL links, they are just identifiers).
@ronaldtse it seems the the URI links redirected to URL links. They open same page as URL links do. Do we really need to save them in our dataset?
@andrew2net yes, because URIs are meant as identifiers, they do not need to be resolvable.
Fixed in v1.17.1
$ relaton fetch 'OGC 18-088'
[relaton-ogc] (OGC 18-088) Fetching from Relaton repository ...
[relaton-ogc] (OGC 18-088) Found: `18-088`
<bibdata type="standard" schema-version="v1.2.7">
<fetched>2023-12-07</fetched>
<title type="title-main" format="text/plain" language="en" script="Latn">OGC SensorThings API Part 1: Sensing Version 1.1</title>
<title type="main" format="text/plain" language="en" script="Latn">OGC SensorThings API Part 1: Sensing Version 1.1</title>
<uri type="src">http://www.opengis.net/doc/is/sensorthings/1.1</uri>
<uri type="obp">https://docs.ogc.org/is/18-088/18-088.html</uri>
...
$ relaton fetch 'OGC 18-005r8'
[relaton-ogc] (OGC 18-005r8) Fetching from Relaton repository ...
[relaton-ogc] (OGC 18-005r8) Found: `18-005r8`
<bibdata type="standard" schema-version="v1.2.7">
<fetched>2023-12-07</fetched>
<title type="title-main" format="text/plain" language="en" script="Latn">OGC Abstract Specification Topic 2: Referencing by coordinates (Including corrigendum 1 and corrigendum 2)</title>
<title type="main" format="text/plain" language="en" script="Latn">OGC Abstract Specification Topic 2: Referencing by coordinates (Including corrigendum 1 and corrigendum 2)</title>
<uri type="src">http://www.opengis.net/doc/AS/topic-2/6.0</uri>
<uri type="pdf">https://docs.ogc.org/as/18-005r8/18-005r8.pdf</uri>
...
OGC doesn't handle multiple formats. I just found out that the earlier version OGC source dataset has only
URL
's butURI
's werenull
for all the documents. No PDF links were provided:However, in the latest version of the dataset, all the documents have both
URI
andURL
links. Some of the documents have a PDF link:It seems we need to update the RelatonOgc::DataFetcher.
Originally posted by @andrew2net in https://github.com/relaton/relaton-ccsds/issues/4#issuecomment-1714704789