Skip to content

Commit 8856041

Browse files
authored
Update the examples and docs to reflect new spec (#205)
1 parent fce4399 commit 8856041

File tree

6 files changed

+2993
-2993
lines changed

6 files changed

+2993
-2993
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ SSSOM is a Simple Standard for Sharing Ontological Mappings, providing
1313

1414
The SSSOM TSV format in particular is geared towards the needs of the wider bioinformatics community as a way to safely exchange mappings in an easily readable yet semantically well-specified manner. Consider this example of a simple mapping file:
1515

16-
| subject_id | predicate_id | object_id | match_type | subject_label | object_label |
16+
| subject_id | predicate_id | object_id | mapping_justification | subject_label | object_label |
1717
| --- | --- | --- | --- | --- | --- |
18-
| HP:0009124 | skos:exactMatch | MP:0000003 | Lexical | Abnormal adipose tissue morphology | abnormal adipose tissue morphology |
19-
| HP:0008551 | skos:exactMatch | MP:0000018 | Lexical | Microtia | small ears |
20-
| HP:0000411 | skos:exactMatch | MP:0000021 | Lexical | Protruding ear | prominent ears |
18+
| HP:0009124 | skos:exactMatch | MP:0000003 | semapv:LexicalMatching | Abnormal adipose tissue morphology | abnormal adipose tissue morphology |
19+
| HP:0008551 | skos:exactMatch | MP:0000018 | semapv:LexicalMatching | Microtia | small ears |
20+
| HP:0000411 | skos:exactMatch | MP:0000021 | semapv:LexicalMatching | Protruding ear | prominent ears |
2121

2222
SSSOM specifies all its metadata elements:
2323

2424
- subject_id
2525
- predicate_id
2626
- object_id
27-
- match_type (*NOTE June 2022*: `match_type` is being replaced by `mapping_justification` see [here](https://github.com/mapping-commons/sssom/issues/150))
27+
- mapping_justification (*NOTE: Since June 2022* `match_type` is being replaced by `mapping_justification` see [here](https://github.com/mapping-commons/sssom/issues/150))
2828
- subject_label
2929
- object_label
3030

examples/embedded/foodie-inc-2022-05-01.sssom.tsv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
# KF_FOOD: https://kewl-foodie.inc/food/
1616
# skos: http://www.w3.org/2004/02/skos/core#
1717
# sssom: https://w3id.org/sssom/
18-
subject_id subject_label predicate_id object_id object_label match_type author_id object_source_version mapping_date confidence comment
19-
KF_FOOD:F001 apple skos:exactMatch FOODON:00002473 apple (whole) HumanCurated orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 0.95 "We could map to FOODON:03310788 instead to cover sliced apples, but only ""whole"" apple types exist."
20-
KF_FOOD:F002 gala skos:exactMatch FOODON:00003348 Gala apple (whole) HumanCurated orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 1.0
21-
KF_FOOD:F003 pink skos:exactMatch FOODON:00004187 Pink apple (whole, raw) HumanCurated orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 0.9 "We could map to FOODON:00004187 instead which more specifically refers to ""raw"" Pink apples. Decided against to be consistent with other mapping choices."
22-
KF_FOOD:F004 braeburn skos:exactMatch sssom:NoMapping HumanCurated orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 1.0
23-
KF_FOOD:F004 braeburn skos:broadMatch FOODON:00002473 apple (whole) HumanCurated orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 1.0
18+
subject_id subject_label predicate_id object_id object_label mapping_justification author_id object_source_version mapping_date confidence comment
19+
KF_FOOD:F001 apple skos:exactMatch FOODON:00002473 apple (whole) semapv:ManualMappingCuration orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 0.95 "We could map to FOODON:03310788 instead to cover sliced apples, but only ""whole"" apple types exist."
20+
KF_FOOD:F002 gala skos:exactMatch FOODON:00003348 Gala apple (whole) semapv:ManualMappingCuration orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 1.0
21+
KF_FOOD:F003 pink skos:exactMatch FOODON:00004187 Pink apple (whole, raw) semapv:ManualMappingCuration orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 0.9 "We could map to FOODON:00004187 instead which more specifically refers to ""raw"" Pink apples. Decided against to be consistent with other mapping choices."
22+
KF_FOOD:F004 braeburn skos:exactMatch sssom:NoMapping semapv:ManualMappingCuration orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 1.0
23+
KF_FOOD:F004 braeburn skos:broadMatch FOODON:00002473 apple (whole) semapv:ManualMappingCuration orcid:0000-0002-7356-1779 http://purl.obolibrary.org/obo/foodon/releases/2022-02-01/foodon.owl 2022-05-02 1.0
2424

0 commit comments

Comments
 (0)