Skip to content

Commit 7ed78a0

Browse files
authored
Add issue tracker item to SSSOM datamodel (#259)
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.
1 parent f6025c3 commit 7ed78a0

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for SSSOM
22

3+
## Next
4+
5+
- Add issue_tracker_item and issue_tracker [model elements](https://github.com/mapping-commons/sssom/pull/259).
6+
37
## SSSOM version 0.13.0
48

59
- The necessity of the "canonical column ordering" was downgraded from MUST to SHOULD (https://github.com/mapping-commons/sssom/pull/285)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#curie_map:
2+
# HP: http://purl.obolibrary.org/obo/HP_
3+
# MP: http://purl.obolibrary.org/obo/MP_
4+
# orcid: https://orcid.org/
5+
# MH_MAPPINGS_GITHUB_ISSUES: https://github.com/mapping-commons/mh_mapping_initiative/issues/
6+
#mapping_set_id: https://w3id.org/sssom/commons/examples/issue_tracker.sssom.tsv
7+
#license: "https://creativecommons.org/publicdomain/zero/1.0/"
8+
#creator_id: orcid:0000-0002-7356-1779
9+
#mapping_provider: "https://w3id.org/sssom/core_team"
10+
#issue_tracker: "https://github.com/mapping-commons/mh_mapping_initiative/issues"
11+
#comment: This is an example file for the SSSOM for illustration only. Its contents are entirely fabricated.
12+
subject_id predicate_id object_id mapping_justification issue_tracker_item
13+
HP:0009124 skos:exactMatch MP:0000003 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9123
14+
HP:0008551 skos:exactMatch MP:0000018 semapv:ManualMappingCuration
15+
HP:0000411 skos:exactMatch MP:0000021 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9125
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#curie_map:
2+
# HP: http://purl.obolibrary.org/obo/HP_
3+
# MP: http://purl.obolibrary.org/obo/MP_
4+
# orcid: https://orcid.org/
5+
# MH_MAPPINGS_GITHUB_ISSUES: https://github.com/mapping-commons/mh_mapping_initiative/issues/
6+
#mapping_set_id: https://w3id.org/sssom/commons/examples/issue_tracker_item.sssom.tsv
7+
#license: "https://creativecommons.org/publicdomain/zero/1.0/"
8+
#creator_id: orcid:0000-0002-7356-1779
9+
#mapping_provider: "https://w3id.org/sssom/core_team"
10+
#comment: This is an example file for the SSSOM for illustration only. Its contents are entirely fabricated.
11+
subject_id predicate_id object_id mapping_justification issue_tracker_item
12+
HP:0009124 skos:exactMatch MP:0000003 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9123
13+
HP:0008551 skos:exactMatch MP:0000018 semapv:ManualMappingCuration
14+
HP:0000411 skos:exactMatch MP:0000021 semapv:ManualMappingCuration MH_MAPPINGS_GITHUB_ISSUES:9125

src/sssom_schema/schema/sssom_schema.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,26 @@ slots:
479479
examples:
480480
- value: https://www.wikidata.org/wiki/Q865360
481481
description: (the Wikidata identifier for the Jaccard index measure).
482+
issue_tracker_item:
483+
description: The issue tracker item discussing this mapping.
484+
range: EntityReference
485+
examples:
486+
- value: SSSOM_GITHUB_ISSUE:166
487+
description: (A URL resolving to an issue discussing a new SSSOM element request)
488+
see_also:
489+
- https://github.com/mapping-commons/sssom/issues/78
490+
- https://github.com/mapping-commons/sssom/pull/259
491+
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/issue_tracker_item.sssom.tsv
492+
issue_tracker:
493+
description: A URL location of the issue tracker for this entity.
494+
range: uri
495+
examples:
496+
- value: https://github.com/mapping-commons/mh_mapping_initiative/issues
497+
description: (A URL resolving to the issue tracker of the Mouse-Human mapping initiative)
498+
see_also:
499+
- https://github.com/mapping-commons/sssom/issues/78
500+
- https://github.com/mapping-commons/sssom/pull/259
501+
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/issue_tracker.sssom.tsv
482502
see_also:
483503
description: A URL specific for the mapping instance. E.g. for kboom we have a
484504
per-mapping image that shows surrounding axioms that drive probability. Could
@@ -527,6 +547,7 @@ classes:
527547
- subject_preprocessing
528548
- object_preprocessing
529549
- see_also
550+
- issue_tracker
530551
- other
531552
- comment
532553
mapping:
@@ -573,6 +594,7 @@ classes:
573594
- semantic_similarity_score
574595
- semantic_similarity_measure
575596
- see_also
597+
- issue_tracker_item
576598
- other
577599
- comment
578600
class_uri: owl:Axiom
@@ -587,6 +609,7 @@ classes:
587609
- mapping_set_references
588610
- documentation
589611
- homepage
612+
- issue_tracker
590613
mapping set reference:
591614
description: A reference to a mapping set. It allows to augment mapping
592615
set metadata from the perspective of the registry, for example, providing

0 commit comments

Comments
 (0)