DataONEorg / sem-prov-ontologies

Ontologies focused on scientific observations and scientific workflow provenance.
https://ontologies.dataone.org
17 stars 7 forks source link

Set up workflow to alert when the MOSAiC ontology is out of date with PANGAEA #105

Closed amoeba closed 3 years ago

amoeba commented 3 years ago

Piling on to https://github.com/DataONEorg/sem-prov-ontologies/issues/102, PANGAEA's information on MOSAiC is very machine-readable so we can pretty easily (1) generate an ontology from their data but also (2) check our ontology against their information.

For example, we could pretty easily check if PANGAEA adds a new campaign. NB: This happened and we didn't know for quite a while. Keeping in sync with PANGAEA is probably pretty easy and very useful.

amoeba commented 3 years ago

This was pretty straightforward to set up. In https://github.com/DataONEorg/sem-prov-ontologies/tree/feature-105-mosaic-check, I added a GHA that currently returns:

Exception: Campaign with label 'KD-MOSAiC-1' not found in the expected set ['PS122/5', 'PS122/4', 'P5_223_MOSAiC_ACA_2020', 'PS122/1', 'PS122/2', 'PS122/3', 'AF-MOSAiC-1', 'P6_222_IceBird_MOSAiC_2020', 'AT-MOSAiC-1']

amoeba commented 3 years ago

A basic skeleton for this is merged onto develop.