Skip to content

Commit

Permalink
Add issue tracker item to SSSOM datamodel (#259)
Browse files Browse the repository at this point in the history
Fixes #78 

- [x] `docs/` have been added/updated if necessary
- [x] `make test` has been run locally
- [x] tests have been added/updated (if applicable)
- [x]
[CHANGELOG.md](https://github.com/mapping-commons/sssom/blob/0.9.0/CHANGELOG.md)
has been updated.
  • Loading branch information
matentzn authored Jul 31, 2023
1 parent f6025c3 commit 7ed78a0
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for SSSOM

## Next

- Add issue_tracker_item and issue_tracker [model elements](https://github.com/mapping-commons/sssom/pull/259).

## SSSOM version 0.13.0

- The necessity of the "canonical column ordering" was downgraded from MUST to SHOULD (https://github.com/mapping-commons/sssom/pull/285)
Expand Down
15 changes: 15 additions & 0 deletions examples/schema/issue_tracker.sssom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#curie_map:
# HP: http://purl.obolibrary.org/obo/HP_
# MP: http://purl.obolibrary.org/obo/MP_
# orcid: https://orcid.org/
# MH_MAPPINGS_GITHUB_ISSUES: https://github.com/mapping-commons/mh_mapping_initiative/issues/
#mapping_set_id: https://w3id.org/sssom/commons/examples/issue_tracker.sssom.tsv
#license: "https://creativecommons.org/publicdomain/zero/1.0/"
#creator_id: orcid:0000-0002-7356-1779
#mapping_provider: "https://w3id.org/sssom/core_team"
#issue_tracker: "https://github.com/mapping-commons/mh_mapping_initiative/issues"
#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 issue_tracker_item
HP:0009124 skos:exactMatch MP:0000003 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9123
HP:0008551 skos:exactMatch MP:0000018 semapv:ManualMappingCuration
HP:0000411 skos:exactMatch MP:0000021 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9125
14 changes: 14 additions & 0 deletions examples/schema/issue_tracker_item.sssom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#curie_map:
# HP: http://purl.obolibrary.org/obo/HP_
# MP: http://purl.obolibrary.org/obo/MP_
# orcid: https://orcid.org/
# MH_MAPPINGS_GITHUB_ISSUES: https://github.com/mapping-commons/mh_mapping_initiative/issues/
#mapping_set_id: https://w3id.org/sssom/commons/examples/issue_tracker_item.sssom.tsv
#license: "https://creativecommons.org/publicdomain/zero/1.0/"
#creator_id: orcid:0000-0002-7356-1779
#mapping_provider: "https://w3id.org/sssom/core_team"
#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 issue_tracker_item
HP:0009124 skos:exactMatch MP:0000003 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9123
HP:0008551 skos:exactMatch MP:0000018 semapv:ManualMappingCuration
HP:0000411 skos:exactMatch MP:0000021 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9125
23 changes: 23 additions & 0 deletions src/sssom_schema/schema/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,26 @@ slots:
examples:
- value: https://www.wikidata.org/wiki/Q865360
description: (the Wikidata identifier for the Jaccard index measure).
issue_tracker_item:
description: The issue tracker item discussing this mapping.
range: EntityReference
examples:
- value: SSSOM_GITHUB_ISSUE:166
description: (A URL resolving to an issue discussing a new SSSOM element request)
see_also:
- https://github.com/mapping-commons/sssom/issues/78
- https://github.com/mapping-commons/sssom/pull/259
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/issue_tracker_item.sssom.tsv
issue_tracker:
description: A URL location of the issue tracker for this entity.
range: uri
examples:
- value: https://github.com/mapping-commons/mh_mapping_initiative/issues
description: (A URL resolving to the issue tracker of the Mouse-Human mapping initiative)
see_also:
- https://github.com/mapping-commons/sssom/issues/78
- https://github.com/mapping-commons/sssom/pull/259
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/issue_tracker.sssom.tsv
see_also:
description: A URL specific for the mapping instance. E.g. for kboom we have a
per-mapping image that shows surrounding axioms that drive probability. Could
Expand Down Expand Up @@ -527,6 +547,7 @@ classes:
- subject_preprocessing
- object_preprocessing
- see_also
- issue_tracker
- other
- comment
mapping:
Expand Down Expand Up @@ -573,6 +594,7 @@ classes:
- semantic_similarity_score
- semantic_similarity_measure
- see_also
- issue_tracker_item
- other
- comment
class_uri: owl:Axiom
Expand All @@ -587,6 +609,7 @@ classes:
- mapping_set_references
- documentation
- homepage
- issue_tracker
mapping set reference:
description: A reference to a mapping set. It allows to augment mapping
set metadata from the perspective of the registry, for example, providing
Expand Down

0 comments on commit 7ed78a0

Please sign in to comment.