Skip to content

Commit

Permalink
remove all references to the now deleted linkml_runtime.utils.ifabsen…
Browse files Browse the repository at this point in the history
…t_functions

Signed-off-by: Vincent Kelleher <[email protected]>
  • Loading branch information
Vincent Kelleher committed Jul 4, 2024
1 parent 494edda commit 9df8c06
Show file tree
Hide file tree
Showing 8 changed files with 106 additions and 737 deletions.
2 changes: 1 addition & 1 deletion linkml_runtime/linkml_model/json/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2590,7 +2590,7 @@
{
"name": "ifabsent",
"definition_uri": "https://w3id.org/linkml/ifabsent",
"description": "function that provides a default value for the slot. Possible values for this slot are defined in\nlinkml_runtime.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * int(value) -- integer value\n * str(value) -- string value\n * default_range -- schema default range\n * bnode -- blank node identifier\n * slot_uri -- URI for the slot\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class",
"description": "function that provides a default value for the slot.\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * int(value) -- integer value\n * str(value) -- string value\n * default_range -- schema default range\n * bnode -- blank node identifier\n * slot_uri -- URI for the slot\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class",
"from_schema": "https://w3id.org/linkml/meta",
"close_mappings": [
"https://w3id.org/shacl/defaultValue"
Expand Down
8 changes: 8 additions & 0 deletions linkml_runtime/linkml_model/owl/meta.owl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,14 @@ linkml:ifabsent a owl:ObjectProperty,
* EnumName(PermissibleValue) -- enum value""" ;
skos:inScheme linkml:meta .

linkml:implements a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "implements" ;
rdfs:domain linkml:Element ;
rdfs:range linkml:Uriorcurie ;
skos:definition "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element." ;
skos:inScheme linkml:meta .

linkml:import_as a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "import_as" ;
Expand Down
3 changes: 1 addition & 2 deletions linkml_runtime/linkml_model/rdf/meta.model.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1228,8 +1228,7 @@ linkml:iec61360code a linkml:SlotDefinition ;

linkml:ifabsent a linkml:SlotDefinition ;
skos:closeMatch sh1:defaultValue ;
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in
linkml_runtime.utils.ifabsent_functions.default_library:
skos:definition """function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* int(value) -- integer value
Expand Down
3 changes: 1 addition & 2 deletions linkml_runtime/linkml_model/rdf/meta.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1228,8 +1228,7 @@ linkml:iec61360code a linkml:SlotDefinition ;

linkml:ifabsent a linkml:SlotDefinition ;
skos:closeMatch sh1:defaultValue ;
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in
linkml_runtime.utils.ifabsent_functions.default_library:
skos:definition """function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* int(value) -- integer value
Expand Down
2 changes: 1 addition & 1 deletion linkml_runtime/linkml_model/sqlddl/meta.sql
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
-- * Slot: multivalued Description: true means that slot can have more than one value
-- * Slot: inherited Description: true means that the *value* of a slot is inherited by subclasses
-- * Slot: readonly Description: If present, slot is read only. Text explains why
-- * Slot: ifabsent Description: function that provides a default value for the slot. Possible values for this slot are defined inlinkml_runtime.utils.ifabsent_functions.default_library: * [Tt]rue -- boolean True * [Ff]alse -- boolean False * int(value) -- integer value * str(value) -- string value * default_range -- schema default range * bnode -- blank node identifier * slot_uri -- URI for the slot * class_curie -- CURIE for the containing class * class_uri -- URI for the containing class
-- * Slot: ifabsent Description: function that provides a default value for the slot. * [Tt]rue -- boolean True * [Ff]alse -- boolean False * int(value) -- integer value * str(value) -- string value * default_range -- schema default range * bnode -- blank node identifier * slot_uri -- URI for the slot * class_curie -- CURIE for the containing class * class_uri -- URI for the containing class
-- * Slot: list_elements_unique Description: If True, then there must be no duplicates in the elements of a multivalued slot
-- * Slot: list_elements_ordered Description: If True, then the order of elements of a multivalued slot is guaranteed to be preserved. If False, the order may still be preserved but this is not guaranteed
-- * Slot: shared Description: If True, then the relationship between the slot domain and range is many to one or many to many
Expand Down
Loading

0 comments on commit 9df8c06

Please sign in to comment.