plazi / gg2rdf

A tool to transform golden gate XML to RDF turtle
MIT License
2 stars 1 forks source link

Include Vernacular Names #20

Closed nleanba closed 3 months ago

nleanba commented 3 months ago

Some xml actually contain vernacular names, e.g. https://github.com/plazi/treatments-xml/blob/05bf3f9973e1b0a77b6baaf72ebf437c76b8ae74/data/01/6D/45/016D45ADB7129CFC586AD2CC57B36840.xml#L163 .

We should output these in the rdf, with the same structure as in https://github.com/plazi/treatments-rdf/blob/main/vernacular/bats.ttl .

Note: These names are only associated with the treatment, not with a specific name. I'm assuming it is safe to assign them to whichever name is the treatment-taxon (i.e. the name which is defined or augmented).

See also https://github.com/factsmission/synospecies/issues/89