Closed turbomam closed 4 months ago
Some of this could have gone in a separate PR, although it all makes the output from src/scripts/project_id_patterns.py
briefer
assets/yq-for-mixs_subset_modified.txt
: do customization of MIxS slots here, not in Biosample
slot_usage
(no now there's no difference between the global range and the Biosample
range)src/schema/annotation.yaml
type
has a non-monotonic slot_usage
in OntologyClass
. Remove the slot assignment.src/schema/core.yaml
: remove all false
assertionssrc/schema/external_identifiers.yaml
: seems like range
s isn't begin inherited. May need to do some more resrach for a global solution.src/schema/mixs.yaml
regenerated from new assets/yq-for-mixs_subset_modified.txt
: src/schema/nmdc.yaml
and src/schema/workflow_execution_activity.yaml
removal of reiterated slot_usage
range
sQuantityValue.has_numeric_value global_range = 'float' usage.range = 'double'
ChromatographicSeparationProcess.has_input global_range = 'NamedThing' any_of.range = 'Biosample' any_of.range = 'ProcessedSample' prioritized_range = {'range': 'Biosample', 'range_types': 'linkml:ClassDefinition'} prioritized_range = {'range': 'ProcessedSample', 'range_types': 'linkml:ClassDefinition'} DataObject.was_generated_by global_range = 'Activity' any_of.range = 'Activity' any_of.range = 'OmicsProcessing' prioritized_range = {'range': 'Activity', 'range_types': 'linkml:ClassDefinition'} prioritized_range = {'range': 'OmicsProcessing', 'range_types': 'linkml:ClassDefinition'} Extraction.has_input global_range = 'NamedThing' any_of.range = 'Biosample' any_of.range = 'ProcessedSample' prioritized_range = {'range': 'Biosample', 'range_types': 'linkml:ClassDefinition'} prioritized_range = {'range': 'ProcessedSample', 'range_types': 'linkml:ClassDefinition'} MixingProcess.has_input global_range = 'NamedThing' any_of.range = 'Biosample' any_of.range = 'ProcessedSample' prioritized_range = {'range': 'Biosample', 'range_types': 'linkml:ClassDefinition'} prioritized_range = {'range': 'ProcessedSample', 'range_types': 'linkml:ClassDefinition'} SubSamplingProcess.has_input global_range = 'NamedThing' any_of.range = 'Biosample' any_of.range = 'ProcessedSample' prioritized_range = {'range': 'Biosample', 'range_types': 'linkml:ClassDefinition'} prioritized_range = {'range': 'ProcessedSample', 'range_types': 'linkml:ClassDefinition'}
id
NamedThing
patternthen
merge patterns for consensus over typecodes and then assign the merged pattern as a constraint on the relevant class/slot pair.
Merging this. Will address projecting the asserted patterns onto mentioning slots separately.
see also