Skip to content

Commit

Permalink
Add some missing justifications
Browse files Browse the repository at this point in the history
There must be a better way to do this in LinkML by now!
  • Loading branch information
matentzn committed Dec 28, 2024
1 parent 551d641 commit 8558b98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sssom_schema/schema/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ slots:
mapping_justification:
description: A mapping justification is an action (or the written representation of that action) of showing a mapping to be right or reasonable.
range: EntityReference
pattern: "^semapv:(MappingReview|ManualMappingCuration|LogicalReasoning|LexicalMatching|CompositeMatching|UnspecifiedMatching|SemanticSimilarityThresholdMatching|LexicalSimilarityThresholdMatching|MappingChaining)$"
pattern: "^semapv:(MappingReview|ManualMappingCuration|LogicalReasoning|LexicalMatching|CompositeMatching|UnspecifiedMatching|SemanticSimilarityThresholdMatching|LexicalSimilarityThresholdMatching|MappingChaining|MappingInversion|StructuralMatching|InstanceBasedMatching|BackgroundKnowledgeBasedMatching)$"
required: true
any_of:
- equals_string: semapv:LexicalMatching
Expand All @@ -289,6 +289,10 @@ slots:
- equals_string: semapv:MappingChaining
- equals_string: semapv:MappingReview
- equals_string: semapv:ManualMappingCuration
- equals_string: semapv:MappingInversion
- equals_string: semapv:StructuralMatching
- equals_string: semapv:InstanceBasedMatching
- equals_string: semapv:BackgroundKnowledgeBasedMatching
examples:
- value: semapv:LexicalMatching
- value: semapv:ManualMappingCuration
Expand Down

0 comments on commit 8558b98

Please sign in to comment.