Class: Transaction
A change that is a composition of a set of changes, where those changes are treated as a single unit. Could be a single change, or the results of an ontology diff
URI: kgcl:Transaction
classDiagram
class Transaction
click Transaction href "../Transaction"
Change <|-- Transaction
click Change href "../Change"
Transaction : associated_change_set
Transaction --> "*" Change : associated_change_set
click Change href "../Change"
Transaction : change_date
Transaction : change_description
Transaction : change_set
Transaction --> "*" Change : change_set
click Change href "../Change"
Transaction : contributor
Transaction : creator
Transaction : has_undo
Transaction --> "0..1" Change : has_undo
click Change href "../Change"
Transaction : id
Transaction : pull_request
Transaction : see_also
Transaction : term_tracker_issue
Transaction : type
Transaction : was_generated_by
Transaction --> "0..1" Activity : was_generated_by
click Activity href "../Activity"
Inheritance
- ChangeLanguageElement
- Change
- Transaction
- Change
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
change_set | * Change |
A collection of changes | direct |
id | 1 String |
Change | |
type | 0..1 String |
Change | |
was_generated_by | 0..1 Activity |
Change | |
see_also | 0..1 String |
Change | |
pull_request | 0..1 String |
Change | |
term_tracker_issue | 0..1 String |
Change | |
creator | 0..1 String |
Change | |
change_date | 0..1 String |
Change | |
contributor | 0..1 String |
Change | |
has_undo | 0..1 Change |
A change that reverses this change | Change |
change_description | 0..1 String |
A string serialization of the change | Change |
associated_change_set | * Change |
All changes forced as a result of this obsoletion | Change |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/kgcl
Mappings
Mapping Type | Mapped Value |
---|---|
self | kgcl:Transaction |
native | kgcl:Transaction |
LinkML Source
Direct
name: Transaction
description: A change that is a composition of a set of changes, where those changes
are treated as a single unit. Could be a single change, or the results of an ontology
diff
from_schema: https://w3id.org/kgcl
is_a: Change
slots:
- change_set
Induced
name: Transaction
description: A change that is a composition of a set of changes, where those changes
are treated as a single unit. Could be a single change, or the results of an ontology
diff
from_schema: https://w3id.org/kgcl
is_a: Change
attributes:
change_set:
name: change_set
description: A collection of changes
from_schema: https://w3id.org/kgcl
rank: 1000
alias: change_set
owner: Transaction
domain_of:
- ComplexChange
- Transaction
- Session
range: Change
multivalued: true
inlined: true
inlined_as_list: true
id:
name: id
from_schema: https://w3id.org/kgcl
rank: 1000
identifier: true
alias: id
owner: Transaction
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
alias: type
owner: Transaction
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
alias: was_generated_by
owner: Transaction
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
alias: see_also
owner: Transaction
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
alias: pull_request
owner: Transaction
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
alias: term_tracker_issue
owner: Transaction
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
alias: creator
owner: Transaction
domain_of:
- Change
range: string
change_date:
name: change_date
comments:
- This should be the composition of 'was generated by' and 'ended at time'
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: dcterms:date
alias: change_date
owner: Transaction
domain_of:
- Change
range: string
contributor:
name: contributor
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: dcterms:creator
alias: contributor
owner: Transaction
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
alias: has_undo
owner: Transaction
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
alias: change_description
owner: Transaction
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
alias: associated_change_set
owner: Transaction
domain_of:
- Change
range: Change
multivalued: true
inlined: true
inlined_as_list: true