gbif / rs.gbif.org

GBIF machine-readable resources
https://rs.gbif.org
12 stars 12 forks source link

Why is scientificName part of the resourceRelationship extension? #12

Closed peterdesmet closed 6 years ago

peterdesmet commented 6 years ago

I noticed scientificName is part of http://rs.gbif.org/extension/dwc/resource_relation.xml (last term):

https://github.com/gbif/rs.gbif.org/blob/4cabf67cd87748572d5cf8689d65636444a5ad94/extension/dwc/resource_relation.xml#L20

Why has this been added? Is it to more easily define relationships with species (cf. associatedTaxa), like pollinators? Is it in use? It is not part of the official Darwin Core resourceRelationShip extension.

mdoering commented 6 years ago

That originates from the old google code site and I cannot say why that is there: https://github.com/gbif/rs.gbif.org/blame/master/extension/dwc/resource_relation.xml

It seems wrong to me and I would argue to remove it

peterdesmet commented 6 years ago

I agree. Can you check if it is in use for any of the GBIF-registered datasets?

peterdesmet commented 6 years ago

Note, for the use case where someone wants to add a relationship between a core Taxon record with a scientificName, without listing that name anywhere, you can use:

resourceRelationshipID = "relationship1"
resourceID = "taxon1"^^dwc:Taxon
relatedResourceID = "scientific name of my pollinator species" # Alternative for scientificName
relationshipOfResource = "is pollinator of"

And does not have to rely on scientificName.