Closed ronaldtse closed 5 years ago
@opoudjis should keywords
exist here?
@ronaldtse Authors and Editors are contributors, right? They can be a person or an organization. Are Authors always organizations and Editors always persons?
“Author” and “editor” are roles that apply to a contributor. A contributor can be an individual or an organization.
Let me find more examples for you.
@ronaldtse I understand that contributor can be an individuals or an organization. My question is how to distinguish is the contributor individuals or organization? For example, we have the author "Interagency International Cybersecurity Standardization Working Group (IICS WG)". As a human, I understand it is an organization. But how to make a scrapper distinguish it?
@andrew2net excellent question.
The ones with persons read like this:
Ron Ross (NIST), Kelley Dempsey (NIST), Victoria Pillitteri (NIST)
=> {firstname} {middle-name?} {lastname} ({organization})
The ones that are non-persons are like this:
I think we can assume (for now) that:
(...)
to indicate affiliation. If no affiliation, it would be an organization.@ronaldtse
Published date: should be "November 2018"
the gem scrapes date with month but BibliographicItem#to_xml
formats published date as a year. Should we change this behavior in `iso_bib_item' gem?
Yes, I think this behavior should be change to accept any kind of date. For example, DIN and NIST use "month+year" for edition. ISO uses "year".
The "BibliographicItem" class should be flexible to accept this, but "IsoBibliographicItem" should accept what ISO accepts.
suggest change it when we will extract BibliographicItem
from iso-bib-item
Series: should be "NISTIR" (ping @opoudjis what is the correct way to represent this series?)
Series in the bibliographic record must be spelled out with full titles, and the abbreviation should also be provided. The mapping is given in https://github.com/metanorma/metanorma-nist/blob/master/lib/asciidoctor/nist/front.rb. Note that the tables map the user-entered abbreviation from asciidoctor to the Full Title, and to the Series Abbreviation. The former goes into <series><title>
, the latter into <series><abbreviation>
SERIES = {
"nist-ams": "NIST Advanced Manufacturing Series",
"building-science": "NIST Building Science Series",
"nist-fips": "NIST Federal Information Processing Standards",
"nist-gcr": "NIST Grant/Contract Reports",
"nist-hb": "NIST Handbook",
"itl-bulletin": "ITL Bulletin",
"jpcrd": "Journal of Physical and Chemical Reference Data",
"nist-jres": "NIST Journal of Research",
"letter-circular": "NIST Letter Circular",
"nist-monograph": "NIST Monograph",
"nist-ncstar": "NIST National Construction Safety Team Act Reports",
"nist-nsrds": "NIST National Standard Reference Data Series",
"nistir": "NIST Interagency/Internal Report",
"product-standards": "NIST Product Standards",
"nist-sp": "NIST Special Publication",
"nist-tn": "NIST Technical Note",
"other": "NIST Other",
"csrc-white-paper": "CSRC White Paper",
"csrc-book": "CSRC Book",
"csrc-use-case": "CSRC Use Case",
"csrc-building-block": "CSRC Building Block",
}.freeze
SERIES_ABBR = {
"nist-ams": "NIST AMS",
"building-science": "NIST Building Science Series",
"nist-fips": "NIST FIPS",
"nist-gcr": "NISTGCR",
"nist-hb": "NIST HB",
"itl-bulletin": "ITL Bulletin",
"jpcrd": "JPCRD",
"nist-jres": "NIST JRES",
"letter-circular": "NIST Letter Circular",
"nist-monograph": "NIST MN",
"nist-ncstar": "NIST NCSTAR",
"nist-nsrds": "NIST NSRDS",
"nistir": "NISTIR",
"product-standards": "NIST Product Standards",
"nist-sp": "NIST SP",
"nist-tn": "NIST TN",
"other": "NIST Other",
"csrc-white-paper": "CSRC White Paper",
"csrc-book": "CSRC Book",
"csrc-use-case": "CSRC Use Case",
"csrc-building-block": "CSRC Building Block",
}.freeze
@opoudjis should keywords exist here?
Yes. If they are available to populate, you might as well populate them, though I don't foresee them being used.
Yes, I think this behavior should be change to accept any kind of date. For example, DIN and NIST use "month+year" for edition. ISO uses "year".
There's a wrinkle here: year-month dates are legal under ISO, but not under xs:date. Nonetheless, year-month is the correct way to represent such dates, e.g. 2019-04. There is a ticket https://github.com/metanorma/isodoc/issues/90 for me to confirm that such dates do not blow up anything in Metanorma; and if NIST STOPPED DELUGING ME WITH TICKETS, I could actually investigate it.
Use them anyway. If it blows Metanorma up, all the better. :-/
@ronaldtse could you tell me where to find series on https://csrc.nist.gov/publications/detail/nistir/8200/final
@andrew2net "NISTIR" is the name of the series.
In the "NISTIR 8200" publication, there were two documents:
@andrew2net In general, the series abbreviation (in the list I pasted above) is the prefix of the document identifier.
@ronaldtse could you tell me what are security
, keyword
, and commentperiod
? Where can we scrape it?
commentperiod is the period during which public comment can be received on a current draft. It is relevant to bibdata (the details of the current document); it is irrelevant to bibitem (the document being cited), so you can ignore it.
keywords are not going to be included in any citation. There is a bit more of an argument for including them in retrieved bibliographies as databases, so people can search on them; but if you can't find it easily, ignore it.
security is a holdover from another spec (rsd?), and shouldn't be there at all.
@andrew2net I've labeled this screenshot for your reference (https://csrc.nist.gov/publications/detail/sp/800-162/final)
P.S. Not sure where security
is from. Where did you see it?
NistBib is not only for Metanorma, but it should retrieve all information related to this bibliographic item. Hence it is supposed to return bibdata (with as much information as possible), not just enough information for rendering citations.
Hence it is supposed to return bibdata (with as much information as possible), not just enough information for rendering citations.
This is scope creep (YET AGAIN), and it means that the schemas that relaton uses are going to have to be flavour-specific after all.
This is not scope creep — nistbib was always supposed to return NIST bibliographic data.
PS its not technically part of metanorma...
For example, NISTIR 8200 (the example in the README) is located here:
https://csrc.nist.gov/publications/detail/nistir/8200/final
However, the fetched version doesn't contain authors or editors:
( Author(s) Interagency International Cybersecurity Standardization Working Group (IICS WG)
Editor(s) Michael Hogan (NIST), Ben Piccarreta (NIST) )
Published date: should be "November 2018" URI (DOI): should be https://doi.org/10.6028/NIST.IR.8200 URI (PDF): should be https://nvlpubs.nist.gov/nistpubs/ir/2018/NIST.IR.8200.pdf (There is no URI (OBP).)
Series: should be "NISTIR" (ping @opoudjis what is the correct way to represent this series?)