Class: Change¶
Any change perform on an ontology or knowledge graph
- NOTE: this is an abstract class and should not be instantiated directly
URI: kgcl:Change
classDiagram
class Change
click Change href "../Change/"
ChangeLanguageElement <|-- Change
click ChangeLanguageElement href "../ChangeLanguageElement/"
Change <|-- SimpleChange
click SimpleChange href "../SimpleChange/"
Change <|-- ComplexChange
click ComplexChange href "../ComplexChange/"
Change <|-- Transaction
click Transaction href "../Transaction/"
Change : associated_change_set
Change --> "*" Change : associated_change_set
click Change href "../Change/"
Change : change_date
Change : change_description
Change : contributor
Change : creator
Change : has_undo
Change --> "0..1" Change : has_undo
click Change href "../Change/"
Change : id
Change : pull_request
Change : see_also
Change : term_tracker_issue
Change : type
Change : was_generated_by
Change --> "0..1" Activity : was_generated_by
click Activity href "../Activity/"
Inheritance¶
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| id | 1 String |
direct | |
| type | 0..1 String |
direct | |
| was_generated_by | 0..1 Activity |
direct | |
| see_also | 0..1 String |
direct | |
| pull_request | 0..1 String |
direct | |
| term_tracker_issue | 0..1 String |
direct | |
| creator | 0..1 String |
direct | |
| change_date | 0..1 Datetime |
The date and time at which the change was made | direct |
| contributor | 0..1 String |
direct | |
| has_undo | 0..1 Change |
A change that reverses this change | direct |
| change_description | 0..1 String |
A string serialization of the change | direct |
| associated_change_set | * Change |
All changes forced as a result of this obsoletion | direct |
Usages¶
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://w3id.org/kgcl
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | kgcl:Change |
| native | kgcl:Change |
LinkML Source¶
Direct¶
name: Change
description: Any change perform on an ontology or knowledge graph
from_schema: https://w3id.org/kgcl
is_a: ChangeLanguageElement
abstract: true
slots:
- id
- type
- was_generated_by
- see_also
- pull_request
- term_tracker_issue
- creator
- change_date
- contributor
- has_undo
- change_description
- associated_change_set
slot_usage:
was_generated_by:
name: was_generated_by
comments:
- we use the PROV model to represent the agent making a change
see_also:
name: see_also
comments:
- If this change is in relationship to an issue on a system like github, include
the URL here
pull_request:
name: pull_request
comments:
- If this change has a pull request on a system like github, include the URL here
term_tracker_issue:
name: term_tracker_issue
comments:
- If this change has an issue on a system like github, include the URL here
creator:
name: creator
comments:
- This should be the composition of 'was generated by' and 'was associated with'
slot_uri: dcterms:creator
change_date:
name: change_date
comments:
- In PROV terms, this is the time at which the activity that generated the change
ended, i.e. the composition of 'was generated by' and 'ended at time'. It is
stored directly on the change as a single value for convenience.
Induced¶
name: Change
description: Any change perform on an ontology or knowledge graph
from_schema: https://w3id.org/kgcl
is_a: ChangeLanguageElement
abstract: true
slot_usage:
was_generated_by:
name: was_generated_by
comments:
- we use the PROV model to represent the agent making a change
see_also:
name: see_also
comments:
- If this change is in relationship to an issue on a system like github, include
the URL here
pull_request:
name: pull_request
comments:
- If this change has a pull request on a system like github, include the URL here
term_tracker_issue:
name: term_tracker_issue
comments:
- If this change has an issue on a system like github, include the URL here
creator:
name: creator
comments:
- This should be the composition of 'was generated by' and 'was associated with'
slot_uri: dcterms:creator
change_date:
name: change_date
comments:
- In PROV terms, this is the time at which the activity that generated the change
ended, i.e. the composition of 'was generated by' and 'ended at time'. It is
stored directly on the change as a single value for convenience.
attributes:
id:
name: id
from_schema: https://w3id.org/kgcl
rank: 1000
identifier: true
owner: Change
domain_of:
- Change
- Node
- Activity
- Agent
range: string
required: true
type:
name: type
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: rdf:type
designates_type: true
owner: Change
domain_of:
- Change
range: string
was_generated_by:
name: was_generated_by
comments:
- we use the PROV model to represent the agent making a change
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: prov:wasGeneratedBy
owner: Change
domain_of:
- Change
range: Activity
see_also:
name: see_also
comments:
- If this change is in relationship to an issue on a system like github, include
the URL here
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: rdfs:seeAlso
owner: Change
domain_of:
- Change
range: string
pull_request:
name: pull_request
comments:
- If this change has a pull request on a system like github, include the URL here
from_schema: https://w3id.org/kgcl
rank: 1000
owner: Change
domain_of:
- Change
range: string
term_tracker_issue:
name: term_tracker_issue
comments:
- If this change has an issue on a system like github, include the URL here
from_schema: https://w3id.org/kgcl
exact_mappings:
- IAO:0000233
rank: 1000
owner: Change
domain_of:
- Change
range: string
creator:
name: creator
comments:
- This should be the composition of 'was generated by' and 'was associated with'
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: dcterms:creator
owner: Change
domain_of:
- Change
range: string
change_date:
name: change_date
description: The date and time at which the change was made
comments:
- In PROV terms, this is the time at which the activity that generated the change
ended, i.e. the composition of 'was generated by' and 'ended at time'. It is
stored directly on the change as a single value for convenience.
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: dcterms:date
owner: Change
domain_of:
- Change
range: datetime
contributor:
name: contributor
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: dcterms:creator
owner: Change
domain_of:
- Change
range: string
has_undo:
name: has_undo
description: A change that reverses this change
from_schema: https://w3id.org/kgcl
rank: 1000
domain: Change
owner: Change
domain_of:
- Change
- ChangeMixin
range: Change
multivalued: false
change_description:
name: change_description
description: A string serialization of the change. This should be both human-readable
and parseable.
comments:
- '{''Form 1'': ''IRIs are denoted by CURIEs, optionally followed by label in
parenthesis''}'
- '{''Form 2'': "IRIs are denoted by the rdfs:label in single quotes, e.g. ''nervous
system''"}'
examples:
- value: rename UBERON:0002398 from 'manus' to 'hand'
- value: move 'hand' from 'part of' 'hindlimb' to 'part of' 'forelimb'
- value: merge 'cellular metabolic process' into 'metabolic process'
- value: search and replace 'metabolic process' with 'metabolism' in all labels
under 'biological process'
- value: search and replace 'metabolic process' with 'metabolism' in all labels
under 'biological process' retaining as 'exact synonym'
from_schema: https://w3id.org/kgcl
rank: 1000
owner: Change
domain_of:
- Change
range: string
associated_change_set:
name: associated_change_set
description: 'All changes forced as a result of this obsoletion. For example,
starting with `A subClassOf B subClassOf C`, if we obsolete node B, then we
may decide to bundle in a node move change of A from B to C. Note: this change
set is not considered a part of the obsoletion, as obsoletion is considered
atomic/simple. Instead this is a reference to a change set that may exist elsewhere'
from_schema: https://w3id.org/kgcl
rank: 1000
is_a: change_set
owner: Change
domain_of:
- Change
range: Change
multivalued: true
inlined: true
inlined_as_list: true