diff --git a/src/sssom_schema/schema/sssom_schema.yaml b/src/sssom_schema/schema/sssom_schema.yaml index 877ae9e5..3633ca65 100644 --- a/src/sssom_schema/schema/sssom_schema.yaml +++ b/src/sssom_schema/schema/sssom_schema.yaml @@ -49,6 +49,7 @@ enums: meaning: rdfs:Datatype rdf property: meaning: rdf:Property + sssom literal: A special type of literal that is used in SSSOM files to express that the subject_id is not an entity reference. predicate_modifier_enum: permissible_values: Not: Negating the mapping predicate. The meaning of the triple becomes subject_id is not a predicate_id match to object_id. @@ -118,15 +119,17 @@ slots: subject_id: description: The ID of the subject of the mapping. range: EntityReference - required: true mappings: - owl:annotatedSource slot_uri: owl:annotatedSource examples: - value: HP:0009894 description: The CURIE denoting the Human Phenotype Ontology concept of 'Thickened ears' - literal: + subject_literal: description: The literal being mapped + see_also: + - https://mapping-commons.github.io/sssom/sssom-profiles/ + - https://github.com/mapping-commons/sssom/issues/234 range: string required: true mappings: @@ -135,7 +138,7 @@ slots: examples: - value: "Alzheimer" description: A string referring to some thing. - literal_datatype: + subject_literal_datatype: description: The datatype of the literal being mapped range: uri required: false @@ -386,20 +389,6 @@ slots: examples: - value: http://purl.obolibrary.org/obo/mondo/releases/2021-01-30/mondo.owl description: (A persistent Version IRI pointing to the Mondo version '2021-01-30') - literal_source: - description: URI of ontology source for the literal. - range: EntityReference - examples: - - value: obo:mondo.owl - description: A persistent OBO CURIE pointing to the latest version of the Mondo ontology. - - value: wikidata:Q7876491 - description: A Wikidata identifier for the Uberon ontology resource. - literal_source_version: - description: Version IRI or version string of the source of the literal. - range: string - examples: - - value: http://purl.obolibrary.org/obo/mondo/releases/2021-01-30/mondo.owl - description: (A persistent Version IRI pointing to the Mondo version '2021-01-30') object_source: description: URI of vocabulary or identifier source for the object. range: EntityReference @@ -526,13 +515,6 @@ slots: examples: - value: semapv:Stemming - value: semapv:StopWordRemoval - literal_preprocessing: - description: Method of preprocessing applied to the literal. - range: EntityReference - multivalued: true - examples: - - value: semapv:Stemming - - value: semapv:StopWordRemoval curation_rule: description: A curation rule is a (potentially) complex condition executed by an agent that led to the establishment of a mapping. Curation rules often involve complex domain-specific considerations, which are hard to capture in an automated fashion. The curation @@ -661,6 +643,8 @@ classes: - subject_id - subject_label - subject_category + - subject_literal + - subject_literal_datatype - predicate_id - predicate_label - predicate_modifier @@ -698,52 +682,10 @@ classes: - object_preprocessing - semantic_similarity_score - semantic_similarity_measure - - see_also - - issue_tracker_item - - other - - comment - class_uri: owl:Axiom - literal mapping: - description: Represents an individual mapping between a literal and an entity. - Note that this schema has been created on 01.08.2023 and is subject to change. - see_also: - - https://mapping-commons.github.io/sssom/sssom-profiles/ - slots: - - literal - - literal_datatype - - predicate_id - - predicate_label - - predicate_modifier - - object_id - - object_label - - object_category - - mapping_justification - - author_id - - author_label - - reviewer_id - - reviewer_label - - creator_id - - creator_label - - license - - literal_source - - literal_source_version - - object_type - - object_source - - object_source_version - - mapping_provider - - mapping_source - - mapping_cardinality - - mapping_tool - - mapping_tool_version - - mapping_date - - confidence - - object_match_field - - match_string - - literal_preprocessing - - object_preprocessing - similarity_score - similarity_measure - see_also + - issue_tracker_item - other - comment class_uri: owl:Axiom