Skip to content

Commit

Permalink
remove references to the now deleted linkml_runtime.utils.ifabsent_fu…
Browse files Browse the repository at this point in the history
…nctions

Signed-off-by: Vincent Kelleher <[email protected]>
  • Loading branch information
Vincent Kelleher committed Jun 27, 2024
1 parent 34a30ee commit e3241d1
Show file tree
Hide file tree
Showing 12 changed files with 109 additions and 746 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
2 changes: 1 addition & 1 deletion linkml_runtime/linkml_model/jsonld/meta.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3239,7 +3239,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 linkml.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value",
"description": "function that provides a default value for the slot.\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value\n * EnumName(PermissibleValue) -- enum value",
"in_subset": [
"SpecificationSubset"
],
Expand Down
4 changes: 2 additions & 2 deletions linkml_runtime/linkml_model/jsonschema/meta.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5840,7 +5840,7 @@
"type": "boolean"
},
"ifabsent": {
"description": "function that provides a default value for the slot. Possible values for this slot are defined in linkml.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value",
"description": "function that provides a default value for the slot.\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value\n * EnumName(PermissibleValue) -- enum value",
"type": "string"
},
"implements": {
Expand Down Expand Up @@ -6449,7 +6449,7 @@
"type": "boolean"
},
"ifabsent": {
"description": "function that provides a default value for the slot. Possible values for this slot are defined in linkml.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value",
"description": "function that provides a default value for the slot.\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value\n * EnumName(PermissibleValue) -- enum value",
"type": "string"
},
"implements": {
Expand Down
4 changes: 2 additions & 2 deletions linkml_runtime/linkml_model/model/schema/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1499,8 +1499,7 @@ slots:
range: string
inherited: true
description: >-
function that provides a default value for the slot. Possible values for this slot are defined in
linkml.utils.ifabsent_functions.default_library:
function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* bnode -- blank node identifier
Expand All @@ -1512,6 +1511,7 @@ slots:
* slot_uri -- URI for the slot
* slot_curie -- CURIE for the slot
* string(value) -- string value
* EnumName(PermissibleValue) -- enum value
close_mappings:
- sh:defaultValue
in_subset:
Expand Down
5 changes: 3 additions & 2 deletions linkml_runtime/linkml_model/owl/meta.owl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ linkml:ifabsent a owl:ObjectProperty,
rdfs:range linkml:String ;
rdfs:seeAlso linkml:equals_expression ;
skos:closeMatch sh:defaultValue ;
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in linkml.utils.ifabsent_functions.default_library:
skos:definition """function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* bnode -- blank node identifier
Expand All @@ -1340,7 +1340,8 @@ linkml:ifabsent a owl:ObjectProperty,
* int(value) -- integer value
* slot_uri -- URI for the slot
* slot_curie -- CURIE for the slot
* string(value) -- string value""" ;
* string(value) -- string value
* EnumName(PermissibleValue) -- enum value""" ;
skos:inScheme linkml:meta .

linkml:implements a owl:ObjectProperty,
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
5 changes: 3 additions & 2 deletions linkml_runtime/linkml_model/shacl/meta.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,7 @@ implicitly asserts Y is an instance of C2
sh:order 105 ;
sh:path skos:broadMatch ],
[ sh:datatype xsd:string ;
sh:description """function that provides a default value for the slot. Possible values for this slot are defined in linkml.utils.ifabsent_functions.default_library:
sh:description """function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* bnode -- blank node identifier
Expand All @@ -4654,7 +4654,8 @@ implicitly asserts Y is an instance of C2
* int(value) -- integer value
* slot_uri -- URI for the slot
* slot_curie -- CURIE for the slot
* string(value) -- string value""" ;
* string(value) -- string value
* EnumName(PermissibleValue) -- enum value""" ;
sh:maxCount 1 ;
sh:order 7 ;
sh:path linkml:ifabsent ],
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 e3241d1

Please sign in to comment.