diff --git a/CHANGELOG.md b/CHANGELOG.md index 6518f8b8..13c6ac4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,9 @@ - Add `similarity_measure` slot to the `MappingSet` class ([issue](https://github.com/mapping-commons/sssom/issues/411)). - Add `sssom_version` slot to the `MappingSet` class ([issue](https://github.com/mapping-commons/sssom/issues/439)). - Change the type of the `see_also` slot to `xsd:anyURI` ([issue](https://github.com/mapping-commons/sssom/issues/422)). -- Add `mappings_set_confidence` slot to the `MappingSet` class ([issue](https://github.com/mapping-commons/sssom/issues/438)). +- Add `mapping_set_confidence` slot to the `MappingSet` class ([issue](https://github.com/mapping-commons/sssom/issues/438)). - Updated the RDF binding of sssom:publication_date from dcterms:created to dcterms:issued, which is the more appropriate property to use in this case. +- Add `mapping_tool_id` slot to the `Mapping` and `MappingSet` classes ([issue](https://github.com/mapping-commons/sssom/issues/449)). ## SSSOM version 1.0.0 diff --git a/examples/schema/mapping_tool_id.sssom.tsv b/examples/schema/mapping_tool_id.sssom.tsv new file mode 100644 index 00000000..d14adc1c --- /dev/null +++ b/examples/schema/mapping_tool_id.sssom.tsv @@ -0,0 +1,15 @@ +#curie_map: +# HP: http://purl.obolibrary.org/obo/HP_ +# MP: http://purl.obolibrary.org/obo/MP_ +# orcid: https://orcid.org/ +# wikidata: https://www.wikidata.org/wiki/ +#mapping_set_id: https://w3id.org/sssom/commons/examples/mapping_tool_id.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 mapping_tool_id +HP:0009124 skos:exactMatch MP:0000003 semapv:ManualMappingCuration wikidata:Q58057366 +HP:0008551 skos:exactMatch MP:0000018 semapv:ManualMappingCuration wikidata:Q58057366 diff --git a/src/sssom_schema/schema/sssom_schema.yaml b/src/sssom_schema/schema/sssom_schema.yaml index ee863867..428a2e40 100644 --- a/src/sssom_schema/schema/sssom_schema.yaml +++ b/src/sssom_schema/schema/sssom_schema.yaml @@ -548,6 +548,7 @@ slots: mapping_tool: description: A reference to the tool or algorithm that was used to generate the mapping. Should be a URL pointing to more info about it, but can be free text. + Consider using the mapping_tool_id slot for a more standardised reference. range: string instantiates: sssom:Propagatable annotations: @@ -557,6 +558,22 @@ slots: description: A URL pointing to the AgreementMakerLight project. - value: AgreementMakerLight description: A string (name) denoting the AgreementMakerLight project. + mapping_tool_id: + description: The ID (entity reference) of the tool or algorithm that was used to generate the + mapping. + range: EntityReference + instantiates: + - sssom:Propagatable + - sssom:Versionable + annotations: + propagated: true + added_in: "1.1" + examples: + - value: wikidata:Q58057366 + description: A wikidata PURL identifying the AgreementMakerLight project. + see_also: + - https://github.com/mapping-commons/sssom/blob/master/examples/schema/mapping_tool_id.sssom.tsv + - https://github.com/mapping-commons/sssom/issues/449 mapping_tool_version: description: Version string that denotes the version of the mapping tool used. range: string @@ -807,6 +824,7 @@ classes: - predicate_type - mapping_provider - mapping_tool + - mapping_tool_id - mapping_tool_version - mapping_date - publication_date @@ -851,6 +869,7 @@ classes: - mapping_source - mapping_cardinality - mapping_tool + - mapping_tool_id - mapping_tool_version - mapping_date - publication_date