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

Add 'composed entity' value to the EntityType enum. #403

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next

- Add `composed entity expression` as a new value in the `EntityType` enumeration ([issue](https://github.com/mapping-commons/sssom/issues/402)).
- TBD

## SSSOM version 1.0.0
Expand Down
12 changes: 12 additions & 0 deletions examples/schema/composite-entities.sssom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#curie_map:
# HP: http://purl.obolibrary.org/obo/HP_
# MONDO: http://purl.obolibrary.org/obo/MONDO_
# MP: http://purl.obolibrary.org/obo/MP_
# SCHEMA: http://example.org/schema
#mapping_set_id: https://w3id.org/sssom/commons/examples/composite-entities.sssom.tsv
#license: https://creativecommons.org/publicdomain/zero/1.0/
#comment: This is an example file for the SSSOM for illustration only. Its contents are entirely fabricated.
subject_id predicate_id object_id mapping_justification subject_type
SCHEMA:0001/(disease:'MONDO:0005148',phenotype:'HP:0009124') skos:exactMatch MP:0000003 semapv:ManualMappingCuration composed entity expression
SCHEMA:0001/(disease:'MONDO:0005149',phenotype:'HP:0008551') skos:exactMatch MP:0000018 semapv:ManualMappingCuration composed entity expression
SCHEMA:0001/(disease:'MONDO:0005150',phenotype:'HP:0000411') skos:exactMatch MP:0000018 semapv:ManualMappingCuration composed entity expression
7 changes: 6 additions & 1 deletion src/sssom_schema/schema/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ enums:
meaning: rdfs:Class
rdfs literal:
meaning: rdfs:Literal
description: This value indicate that the entity being mapped is not a semantic entity with a distinct identifier, but is instead represented entirely by its literal label. This value MUST NOT be used in the predicate_type slot.
description: This value indicates that the entity being mapped is not a semantic entity with a distinct identifier, but is instead represented entirely by its literal label. This value MUST NOT be used in the predicate_type slot.
see_also:
- https://mapping-commons.github.io/sssom/spec-model/#literal-mappings
- https://github.com/mapping-commons/sssom/issues/234
Expand All @@ -54,6 +54,11 @@ enums:
meaning: rdfs:Datatype
rdf property:
meaning: rdf:Property
composed entity expression:
description: This value indicates that the entity ID does not represent a single entity, but a composite involving several individual entities. This value MUST NOT be used in the predicate_type slot. This specifications does not prescribe how an ID representing a composite entity should be interpreted; this is left at the discretion of applications.
matentzn marked this conversation as resolved.
Show resolved Hide resolved
see_also:
- https://github.com/mapping-commons/sssom/issues/402
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/composite-entities.sssom.tsv

predicate_modifier_enum:
permissible_values:
Expand Down
Loading