Currently the dataset descriptions created by dipper only have the class IRI for dcat:Distribution and not the property IRI of dcat:distribution.
This PR updates the GLOBAL_TERMS.yaml to include the property as part of the map and updates the code to use the property correctly.
Fun fact, I detected this using the kgx package while validating the results after running dipper-etl.py for ensembl. Here is an example of the error and dataset descriptor that isn't valid.
[ERROR][INVALID_EDGE_LABEL] https://archive.monarchinitiative.org/20200908/#ensembl-https://archive.monarchinitiative.org/20200908/rdf/ensembl.ttl - Edge label 'DistributionLevel' is not in snake_case form
Currently the dataset descriptions created by
dipper
only have the class IRI fordcat:Distribution
and not the property IRI ofdcat:distribution
.This PR updates the
GLOBAL_TERMS.yaml
to include the property as part of the map and updates the code to use the property correctly.Fun fact, I detected this using the
kgx
package while validating the results after running dipper-etl.py for ensembl. Here is an example of the error and dataset descriptor that isn't valid.