Class: Deletion¶
Removal of an element.
URI: kgcl:Deletion
classDiagram
class Deletion
click Deletion href "../Deletion/"
ChangeMixin <|-- Deletion
click ChangeMixin href "../ChangeMixin/"
Deletion <|-- EdgeDeletion
click EdgeDeletion href "../EdgeDeletion/"
Deletion <|-- NodeDeletion
click NodeDeletion href "../NodeDeletion/"
Deletion : about
Deletion --> "0..1" OntologyElement : about
click OntologyElement href "../OntologyElement/"
Deletion : has_undo
Deletion --> "0..1" Change : has_undo
click Change href "../Change/"
Deletion : new_value
Deletion : old_value
Inheritance¶
- ChangeMixin
- Deletion
Class Properties¶
| Property | Value |
|---|---|
| Mixin | Yes |
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| about | 0..1 OntologyElement |
The 'focus' entity on which the change operates | ChangeMixin |
| has_undo | 0..1 Change |
A change that reverses this change | ChangeMixin |
| old_value | 0..1 String |
The value of a property held in the old instance of the ontology | ChangeMixin |
| new_value | 0..1 String |
The value of a property held in the new instance of the ontology | ChangeMixin |
Mixin Usage¶
| mixed into | description |
|---|---|
| EdgeDeletion | An edge change in which an edge is removed |
| NodeDeletion | Deletion of a node from the graph |
Usages¶
| used by | used in | type | used |
|---|---|---|---|
| Creation | has_undo | range | Deletion |
| EdgeCreation | has_undo | range | Deletion |
| PlaceUnder | has_undo | range | Deletion |
| MappingCreation | has_undo | range | Deletion |
| NodeCreation | has_undo | range | Deletion |
| ClassCreation | has_undo | range | Deletion |
| ObjectPropertyCreation | has_undo | range | Deletion |
Comments¶
- In general, for OBO ontologies, node elements should never be deleted, always obsolete. However, edge deletion is more common.
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://w3id.org/kgcl
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | kgcl:Deletion |
| native | kgcl:Deletion |
LinkML Source¶
Direct¶
name: Deletion
description: Removal of an element.
comments:
- In general, for OBO ontologies, node elements should never be deleted, always obsolete.
However, edge deletion is more common.
from_schema: https://w3id.org/kgcl
is_a: ChangeMixin
mixin: true
Induced¶
name: Deletion
description: Removal of an element.
comments:
- In general, for OBO ontologies, node elements should never be deleted, always obsolete.
However, edge deletion is more common.
from_schema: https://w3id.org/kgcl
is_a: ChangeMixin
mixin: true
attributes:
about:
name: about
description: The 'focus' entity on which the change operates
from_schema: https://w3id.org/kgcl
rank: 1000
owner: Deletion
domain_of:
- ChangeMixin
range: OntologyElement
multivalued: false
has_undo:
name: has_undo
description: A change that reverses this change
from_schema: https://w3id.org/kgcl
rank: 1000
domain: Change
owner: Deletion
domain_of:
- Change
- ChangeMixin
range: Change
multivalued: false
old_value:
name: old_value
description: The value of a property held in the old instance of the ontology
from_schema: https://w3id.org/kgcl
rank: 1000
owner: Deletion
domain_of:
- SimpleChange
- ChangeMixin
- NodeRename
- SetLanguageForName
- RemoveSynonym
- SynonymReplacement
- SynonymPredicateChange
- MappingReplacement
- MappingPredicateChange
- MetadataAssertionReplacement
- MetadataAssertionPredicateChange
- RemoveTextDefinition
- TextDefinitionReplacement
range: string
new_value:
name: new_value
description: The value of a property held in the new instance of the ontology
from_schema: https://w3id.org/kgcl
rank: 1000
owner: Deletion
domain_of:
- SimpleChange
- ChangeMixin
- NodeRename
- NewLabel
- SetLanguageForName
- NewSynonym
- SynonymReplacement
- SynonymPredicateChange
- MappingReplacement
- MappingPredicateChange
- MetadataAssertionReplacement
- MetadataAssertionPredicateChange
- NewTextDefinition
- TextDefinitionReplacement
range: string