Open ronaldtse opened 2 years ago
@andrew2net #607 has been completed. What needs to be done here? Thanks.
@ronaldtse it seems dated and undated references could be derived from a primary ID, couldn't it? Machine-readable reference provided by ISO
<docidentifier type="ISO" primary="true">ISO 19115-2:2019</docidentifier>
<docidentifier type="URN">urn:iso:std:iso:19115:-2:stage-60.60:ed-2:en,fr</docidentifier>
it seems dated and undated references could be derived from a primary ID, couldn't it?
docidentifier
should provide all three:
ISO "Reference number" (reference PubID): ISO 10303-52:2011(E)
ISO dated reference (dated PubID): ISO 10303-52:2011
ISO undated reference (undated PubID): ISO 10303
You can separate by type, e.g. type="ISO" scheme="undated"
type="ISO" scheme="refnum"
type="ISO" scheme="dated"
.
You can separate by type, e.g.
type="ISO" scheme="undated"
type="ISO" scheme="refnum"
type="ISO" scheme="dated"
.
@ronaldtse ok but we don't have a scheme
attribute in the RelatonBib model. We have scope
.
@ronaldtse what's the difference between "reference PubID" and "dated PubID"?
It seems in many cases they are identical. Do we need to have both refnum
and dated
PubIDs if they are identical?
what's the difference between "reference PubID" and "dated PubID"?
ISO "Reference number" (reference PubID): ISO 10303-52:2011(E) ISO dated reference (dated PubID): ISO 10303-52:2011
The "Reference number" includes the language code.
There isn't a language in the references on the ISO search page. Moreover, in the RelatonBib model, we have translated metadata inside documents. We don't have separate document for each translation, so we don't use references with language.
@andrew2net there are actually two needs here.
Metanorma needs to encode the "Reference number" in Relaton.
Some documents are available in multiple languages
If you click on "Preview", you will be sent to the ISO OBP.
Standards only in one language does not have language buttons.
https://www.iso.org/obp/ui/#iso:std:iso:8601:-1:ed-1:v1:en
ISO 6709 is in multiple languages, and you can see the URL change with the URN:
https://www.iso.org/obp/ui/#iso:std:iso:6709:ed-2:v1:en
https://www.iso.org/obp/ui/#iso:std:iso:6709:ed-2:v1:fr
https://www.iso.org/obp/ui/#iso:std:iso:6709:ed-2:v1:ru
I think we should allow people to put in the ISO URN to cite the correct reference (by language), in addition to the language-less resource.
@ronaldtse I've inspected the OPB preview page. It uses JavaScrip heavily. We can try to reverse engineer it and fetch metadata using the Web app API. But there is an easier, simpler, and faster way: ISO API Portal. The problem is that they allow only staff employed by the ISO member. Is it possible for Ribose to get access to the API?
The proposal here is to provide 3 types of
docid
s for a document.ISO 10303-52:2011(E)
ISO 10303-52:2011
ISO 10303
urn...
This will solve issues such as #607 and also consolidate all identifiers under the
docid
attribute in a Bibitem.Originally posted by @ronaldtse in https://github.com/metanorma/metanorma-iso/issues/607#issuecomment-1088238682 Posted to: https://github.com/metanorma/metanorma-iso/issues/608