Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict justifications to specific set #164

Merged
merged 4 commits into from
Jun 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sssom_schema/src/linkml/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ prefixes:
pav: http://purl.org/pav/
prov: http://www.w3.org/ns/prov#
skos: http://www.w3.org/2004/02/skos/core#
semapv: http://w3id.org/semapv/
see_also:
- https://github.com/OBOFoundry/SSSOM
default_curi_maps:
Expand Down Expand Up @@ -180,7 +181,18 @@ 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)$"
required: true
any_of:
- equals_string: semapv:LexicalMatching
- equals_string: semapv:LogicalReasoning
- equals_string: semapv:CompositeMatching
- equals_string: semapv:UnspecifiedMatching
- equals_string: semapv:SemanticSimilarityThresholdMatching
- equals_string: semapv:LexicalSimilarityThresholdMatching
- equals_string: semapv:MappingChaining
- equals_string: semapv:MappingReview
- equals_string: semapv:ManualMappingCuration
examples:
- value: semapv:LexicalMatching
- value: semapv:ManualMappingCuration
Expand Down