-
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 support for extension slots (#375)
This commit updates the SSSOM model to allow for _defined extensions_ as proposed in #328. It also updates the description of the data model to describe the use of both defined and undefined extension, and the specification of the SSSOM/TSV format to explain how SSSOM/TSV parsers and writers should deal with such extensions. Overall, this is exactly what was proposed in [this comment](#328 (comment)) in #328, except that here we need to split the specification in two parts (one about extensions in general, independently of the serialisation format, and one about the SSSOM/TSV serialisation of extensions), while the initial proposition was in a single block. Co-authored-by: Nico Matentzoglu <[email protected]>
- Loading branch information
Showing
19 changed files
with
4,170 additions
and
1,055 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,23 @@ | ||
#curie_map: | ||
# COMENT: https://example.com/entities/ | ||
# EXPROP: https://example.org/properties/ | ||
# ORGENT: https://example.org/entities/ | ||
#mapping_set_id: https://example.org/sets/exo2c-with-extensions | ||
#mapping_set_title: Sample set EXO2C with extension slots | ||
#license: https://creativecommons.org/licenses/by/4.0/ | ||
#extension_definitions: | ||
# - slot_name: ext_bar | ||
# property: EXPROP:barProperty | ||
# type_hint: xsd:integer | ||
# - slot_name: ext_baz | ||
# property: EXPROP:bazProperty | ||
# type_hint: linkml:Uriorcurie | ||
# - slot_name: ext_foo | ||
# property: EXPROP:fooProperty | ||
#ext_foo: Foo A | ||
#ext_undeclared_foo: Foo B | ||
subject_id subject_label predicate_id object_id object_label mapping_justification ext_bar ext_baz ext_undeclared_baz | ||
ORGENT:0001 alice skos:closeMatch COMENT:0011 alpha semapv:ManualMappingCuration 111 ORGENT:BAZ_0001 BAZ A | ||
ORGENT:0002 bob skos:closeMatch COMENT:0012 beta semapv:ManualMappingCuration 112 ORGENT:BAZ_0002 | ||
ORGENT:0004 daphne skos:closeMatch COMENT:0014 delta semapv:ManualMappingCuration 114 Baz C | ||
ORGENT:0005 eve skos:closeMatch COMENT:0015 epsilon semapv:ManualMappingCuration 115 ORGENT:BAZ_0005 Baz E |
Binary file not shown.
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
Oops, something went wrong.