Skip to content

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 Change <|-- Transaction Transaction : change_date Transaction : change_set Transaction --> Change : change_set Transaction : contributor Transaction : creator Transaction : has_undo Transaction --> Change : has_undo Transaction : id Transaction : pull_request Transaction : see_also Transaction : type Transaction : was_generated_by Transaction --> Activity : was_generated_by

Inheritance

Slots

Name Cardinality and Range Description Inheritance
change_set 0..*
Change
A collection of changes direct
id 1..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
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

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
    multivalued: true
    alias: change_set
    owner: Transaction
    domain_of:
    - ComplexChange
    - Transaction
    - Session
    range: Change
    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
  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
    multivalued: false
    alias: has_undo
    owner: Transaction
    domain_of:
    - Change
    range: Change