-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the
predicate_type
slot to Mapping and MappingSet classes. (#405)
Resolves [#404] - [x] `docs/` have been added/updated if necessary - [x] `make test` has been run locally - [ ] ~~tests have been added/updated (if applicable)~~ - [x] [CHANGELOG.md](https://github.com/mapping-commons/sssom/blob/master/CHANGELOG.md) has been updated. If you are proposing a change to the SSSOM metadata model, you must - [x] provide a full, working and valid example in `examples/` - [x] provide a link to the related GitHub issue in the `see_also` field of the linkml model - [x] provide a link to a valid example in the `see_also` field of the linkml model - [x] run SSSOM-Py test suite against the updated model The `predicate_type` slot has been _defined_ but never _used_ in any classes. Presumably this is an oversight, so we add it here to the Mapping and MappingSet classes. We make it a “propagatable” slot, for consistency with the `subject_type` and `object_type` slots.
- Loading branch information
Showing
4 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#curie_map: | ||
# COMENT: https://example.com/entities/ | ||
# ORGENT: https://example.org/entities/ | ||
# ORGPRO: https://example.org/properties/ | ||
#mapping_set_id: https://w3id.org/sssom/commons/examples/predicate-types.sssom.tsv | ||
#license: https://creativecommons.org/licenses/by/4.0/ | ||
subject_id subject_label predicate_id object_id object_label mapping_justification predicate_type | ||
ORGENT:0001 alice ORGPRO:example_annot_property COMENT:0011 alpha semapv:ManualMappingCuration owl annotation property | ||
ORGENT:0002 bob ORGPRO:example_object_property COMENT:0012 beta semapv:ManualMappingCuration owl object property | ||
ORGENT:0004 daphne ORGPRO:example_data_property COMENT:0014 delta semapv:ManualMappingCuration owl data property | ||
ORGENT:0005 eve ORGPRO:example_rdf_property COMENT:0015 epsilon semapv:ManualMappingCuration rdf property |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters