From 581be4a8f7565be4a39f49f2eb3aa24644971c75 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Mon, 11 Apr 2022 15:14:21 +0300 Subject: [PATCH 1/4] Replacing `match_type` with `mapping_justification` See also #150 --- model/schema/sssom.yaml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/model/schema/sssom.yaml b/model/schema/sssom.yaml index cb7653b4..1a3e2ac1 100644 --- a/model/schema/sssom.yaml +++ b/model/schema/sssom.yaml @@ -33,14 +33,6 @@ enums: "1:0": One-to-none mapping "0:1": None-to-one mapping "n:n": Many-to-many mapping - match_type_enum: - permissible_values: - Lexical: Lexical match - Logical: Logical match - HumanCurated: Match based on human expert opinion - Complex: Match based on a variety of different strategies - Unspecified: Unknown match type - SemanticSimilarity: Match based on close semantic similarity match_term_type_enum: permissible_values: TermMatch: A match between two terms @@ -162,15 +154,14 @@ slots: description: (The CURIE of the Uberon term for "anatomical entity".) - value: biolink:Gene description: (The CURIE of the biolink class for genes.) - match_type: - description: The kind of match that led to the mapping, e.g. Logical or Lexical. - range: match_type_enum + 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 required: true - multivalued: true examples: - - value: Lexical + - value: SSSOMV:Lexical description: (The type of match that led to the mapping is Lexical, i.e. based on comparing the string representation of an aspect of the subject with the string representation of an aspect of the subject.) - - value: HumanCurated + - value: SSSOMV:HumanCurated description: (The type of match that led to the mapping was by human expert judgement.) mapping_set_id: description: A globally unique identifier for the mapping set (not each individual @@ -432,7 +423,6 @@ classes: - object_id - object_label - object_category - - match_type - author_id - author_label - reviewer_id From ec8b26b4a23da45c6c6bb2215d0ca75b0b6d8a42 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Mon, 11 Apr 2022 15:16:33 +0300 Subject: [PATCH 2/4] Update sssom.yaml --- model/schema/sssom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/model/schema/sssom.yaml b/model/schema/sssom.yaml index 1a3e2ac1..f6278761 100644 --- a/model/schema/sssom.yaml +++ b/model/schema/sssom.yaml @@ -423,6 +423,7 @@ classes: - object_id - object_label - object_category + - mapping_justification - author_id - author_label - reviewer_id From 89b24aa503b775582c229eeff38df2f1a79d23ca Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Thu, 14 Apr 2022 12:16:42 +0300 Subject: [PATCH 3/4] Update sssom.yaml --- model/schema/sssom.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/model/schema/sssom.yaml b/model/schema/sssom.yaml index f6278761..d03a0ac6 100644 --- a/model/schema/sssom.yaml +++ b/model/schema/sssom.yaml @@ -159,10 +159,8 @@ slots: range: EntityReference required: true examples: - - value: SSSOMV:Lexical - description: (The type of match that led to the mapping is Lexical, i.e. based on comparing the string representation of an aspect of the subject with the string representation of an aspect of the subject.) - - value: SSSOMV:HumanCurated - description: (The type of match that led to the mapping was by human expert judgement.) + - value: OMAPV:Lexical + - value: OMAPV:HumanCurated mapping_set_id: description: A globally unique identifier for the mapping set (not each individual mapping). Should be IRI, ideally resolvable. From ff4e8b7cc342d3cb9c48fee595626d444e5bdb59 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Thu, 14 Apr 2022 21:41:00 +0300 Subject: [PATCH 4/4] Update sssom.yaml --- model/schema/sssom.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/model/schema/sssom.yaml b/model/schema/sssom.yaml index 117656ab..fd4f30fe 100644 --- a/model/schema/sssom.yaml +++ b/model/schema/sssom.yaml @@ -57,14 +57,6 @@ enums: "1:0": One-to-none mapping "0:1": None-to-one mapping "n:n": Many-to-many mapping - match_term_type_enum: - permissible_values: - TermMatch: A match between two terms - ConceptMatch: A match between two SKOS concepts - ClassMatch: A match between two OWL/RDFS classes - ObjectPropertyMatch: A match between two OWL object properties - IndividualMatch: A match between two OWL Individuals - DataPropertyMatch: A match between two OWL object properties preprocessing_method_enum: permissible_values: Stemming: @@ -196,6 +188,11 @@ slots: examples: - value: OMAPV:Lexical - value: OMAPV:HumanCurated + object_type: + description: The type of entity that is being mapped. + range: entity_type_enum + examples: + - value: owl:Class mapping_set_id: description: A globally unique identifier for the mapping set (not each individual mapping). Should be IRI, ideally resolvable.