Should xmp-dwc be enhanced

Started by herb, June 30, 2022, 07:00:31 AM

Previous topic - Next topic

herb

Hello Phil,

After a long period of NOT working with DarwinCore tags I had to come back to it.
Looking at DarwinCore homepages  https://dwc.tdwg.org/list/ which contains all properties (deprecated included) and https://dwc.tdwg.org/terms/ which is a quick reference guide, I have seen that latest changes were made in 2021-7-15.
Each DarwinCore property of a class is a tag inside a structure on Exiftool side.

On quick reference side I compared the current properties (of type dwc:., dwciri:., dc:. and dcterms:.) with tags known by Exiftool.
To dwciri properties there should be an old post, but Exiftool does not support them.
dc: and dcterms: are out of scope here.
For dwc: I have seen that DarwinCore has introduced some new properties and also one new class.

I compared them with Exiftool tags and I think Exiftool should also support the following new tags inside structure:
- Occurrence
  dwc:degreeOfEstablishment
  dwc:georeferenceVerificationStatus
  dwc:pathway
  dwc:recordedByID
- Location
  dwc:verticalDatum
- Identification
  dwc:identifiedByID
  dwc:verbatimIdentification
- Resource Relationship
  dwc:RelationshipOfResourceID
- axon
  dwc:cultivarEpithet

The new class dwc:MaterialCitation - as far as I understood the text - should have the identical elements as Occurrence has.
This should be done in the same way as structure HumanObservation contains all tags of structure Event.

In order to be sure to have done all exercises properly I checked all DarwinCore properties on "list"-homepage.
Here I found above mentioned properties (tags) as valid tags, but also lots of properties - unknown by Exiftool - but marked as deprecated by DarwinCore.
I think Exiftool should NOT be enhanced will all these deprecated items.

Hoping that Exiftool will also support the above mentioned tags.
Thanks in advance and
Best regards
herb

StarGeek

Just an FYI, Phil is currently away until next week.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Hi Herb,

Thanks.  I'll add the new structure elements to version 12.43, but I read the documentation and I'm not as clear as you about the elements of the new MaterialCitation structure.  I'm trying to push out a release today so I'll have to take another look at that later.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hello Phil,

thanks for the new version 12.43 of ExifTool and thanks for the enhancement of xmp-dwc.

Sorry to annoy you again, but you did not add dwc:pathway of structure Occurrence.
Did you forget it or do you have arguments not to do it?

Thanks in advance and thanks for looking into the new MaterialCitation structure.

Best regards
herb

Phil Harvey

Hi Herb,

Sorry, I just missed pathway.

I'll get that in the next release.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

I've added dwc:pathway, but as far as I can tell dwc:materialCitation is a term, not a class, but the documentation is poor and I can't find any examples.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hello Phil,

thanks for your investigations.
Quote... but the documentation is poor and I can't find any examples.
I fully agree.

I think dwc:materialCitation is a class because
- on page https://dwc.tdwg.org/list/ it is listed in 3.1 as a class
- on page https://dwc.tdwg.org/terms/ it is listed (on the right side) together with LivingSpecimen, PreservedSpecimen, FossilSpecimen, HumanObservation and MachineObservation, which are structures in current xmp-dwc

So I think materialCitation should also be handled as a structure.
These 5 structures use tags of other classes:
e.g.:HumanObservation the tags of DarwinCore-Event or PreservedSpecimen the tags of DarwinCore-MaterialSample.

On page https://dwc.tdwg.org/terms/ under the explanation of materialCitation we find the following as examples:
QuoteA citation of a physical specimen from a scientific collection in a taxonomic treatment in a scientific publication.
A citation of a group of physical specimens, such as paratypes in a taxonomic treatment in a scientific publication.
An occurrence mentioned in a field note book.
This lead me to use the tags of Occurrence structure as tags of materialCitation

I hope I have done well my exercises
Best regards
herb

Phil Harvey

Quote from: herb on July 13, 2022, 04:12:25 AM
On page https://dwc.tdwg.org/terms/ under the explanation of materialCitation we find the following as examples:
QuoteA citation of a physical specimen from a scientific collection in a taxonomic treatment in a scientific publication.
A citation of a group of physical specimens, such as paratypes in a taxonomic treatment in a scientific publication.
An occurrence mentioned in a field note book.
This lead me to use the tags of Occurrence structure as tags of materialCitation

But specimens use the MaterialSample structure.   ???

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hello Phil,

thanks for your helpful comment. Of course you are right.

Sorry for my late reply; but again I tried to find some examples - (and of course without success).
I can only argue, that the word "occurrence" mislead me. Sorry for that confusion.

Best regards
herb

Phil Harvey

If I had time I would persue this by posting in the DarwinCore github issue where this term was added.  *hint?*

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).