globalbioticinteractions / usnm

Configuration for GloBI to index collections of the National Museum of Natural History, Smithsonian Institution
1 stars 0 forks source link

your indexed records for http://n2t.net/ark:/65665/3f35310fb-9227-4f43-a1b3-4e55311d1c4e #3

Open birdje opened 2 years ago

birdje commented 2 years ago

Hi!

If the collection code is Entomology and the institution code is USNM, please format the citation as catalog number, ark

Eg: USNMENT01084266 http://n2t.net/ark:/65665/36a9950fd-6a31-49b3-96de-b3efd7750e7e instead of only the ark http://n2t.net/ark:/65665/36a9950fd-6a31-49b3-96de-b3efd7750e7e

thank you!

jhpoelen commented 2 years ago

@birdje I took a first pass at implementing your desired specimen citation format. Waiting for changes to propagate.

jhpoelen commented 2 years ago

Via https://www.globalbioticinteractions.org/?accordingTo=http%3A%2F%2Fn2t.net%2Fark%3A%2F65665%2F3025b3b04-93d7-480a-9056-fb8545d09c58&interactionType=ecologicallyRelatedTo I captured the attached screenshot to indicate that some USNMENT specimen records are cited like:

USNMENTUSNMENT1119065 http://n2t.net/ark:/65665/3025b3b04-93d7-480a-9056-fb8545d09c58  

instead of

http://n2t.net/ark:/65665/3025b3b04-93d7-480a-9056-fb8545d09c58 

Screenshot from 2022-01-26 10-06-13

jhpoelen commented 2 years ago

@birdje - I noticed some records like http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3 and http://n2t.net/ark:/65665/357edb711-5939-4f6d-86a3-5890acd2bd8f that have collectionCode == Entomology , unlike the (cryptic) collectionCode urn:uuid:18e3cd08-a962-4f0a-b72c-9a0b3600c5ad .

$ curl --silent https://depot.globalbioticinteractions.org/reviews/globalbioticinteractions/usnm/indexed-interactions.tsv.gz\
 | gunzip\
 | mlr --itsvlite --ojson filter '$sourceOccurrenceId=="http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3"'\
| jq .
...
"sourceOccurrenceId": "http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3",
  "sourceCatalogNumber": "AB9TE21",
  "sourceCollectionCode": "Entomology",
  "sourceCollectionId": "",
  "sourceInstitutionCode": "USNM",
  "sourceTaxonId": "",
  "sourceTaxonName": "Unidentified unidentified_sp1_ab9te59",

would you like to cite these records with format like:

USNMENTAB9TE21 http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3

also?