Class: MappingCreation (DEPRECATED) ¶
A specific kind of edge creation in which the created edge is a mapping.
URI: kgcl:MappingCreation
classDiagram
class MappingCreation
click MappingCreation href "../MappingCreation/"
Creation <|-- MappingCreation
click Creation href "../Creation/"
EdgeCreation <|-- MappingCreation
click EdgeCreation href "../EdgeCreation/"
MappingCreation : about
MappingCreation --> "0..1" OntologyElement : about
click OntologyElement href "../OntologyElement/"
MappingCreation : about_edge
MappingCreation --> "0..1" Edge : about_edge
click Edge href "../Edge/"
MappingCreation : annotation_set
MappingCreation --> "0..1" Annotation : annotation_set
click Annotation href "../Annotation/"
MappingCreation : associated_change_set
MappingCreation --> "*" Change : associated_change_set
click Change href "../Change/"
MappingCreation : change_date
MappingCreation : change_description
MappingCreation : contributor
MappingCreation : creator
MappingCreation : datatype
MappingCreation : has_undo
MappingCreation --> "0..1" Deletion : has_undo
click Deletion href "../Deletion/"
MappingCreation : id
MappingCreation : language
MappingCreation : new_datatype
MappingCreation : new_language
MappingCreation : new_value
MappingCreation : new_value_type
MappingCreation : object
MappingCreation --> "0..1" Node : object
click Node href "../Node/"
MappingCreation : object_type
MappingCreation : old_datatype
MappingCreation : old_language
MappingCreation : old_value
MappingCreation : old_value_type
MappingCreation : predicate
MappingCreation --> "0..1" Node : predicate
click Node href "../Node/"
MappingCreation : predicate_type
MappingCreation : pull_request
MappingCreation : see_also
MappingCreation : subject
MappingCreation --> "0..1" Node : subject
click Node href "../Node/"
MappingCreation : subject_type
MappingCreation : term_tracker_issue
MappingCreation : type
MappingCreation : was_generated_by
MappingCreation --> "0..1" Activity : was_generated_by
click Activity href "../Activity/"
Inheritance¶
- ChangeLanguageElement
- Change
- SimpleChange
- EdgeChange
- EdgeCreation [ Creation]
- MappingCreation [ Creation]
- EdgeCreation [ Creation]
- EdgeChange
- SimpleChange
- Change
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| subject | 0..1 Node |
This corresponds to subject_id in SSSOM | direct |
| predicate | 0..1 Node |
This corresponds to predicate_id in SSSOM | direct |
| object | 0..1 Node |
This corresponds to object_id in SSSOM | direct |
| annotation_set | 0..1 Annotation |
direct | |
| subject_type | 0..1 String |
The type (IRI or Literal) of an edge's subject | EdgeCreation |
| predicate_type | 0..1 String |
The type (IRI or Literal) of an edge's subject | EdgeCreation |
| object_type | 0..1 String |
The type (IRI or Literal) of an object | EdgeCreation, EdgeChange |
| about_edge | 0..1 Edge |
EdgeChange | |
| language | 0..1 LanguageTag |
The language tag of a literal | EdgeChange |
| datatype | 0..1 String |
The datatype of a literal | EdgeChange |
| old_value | 0..1 String |
The value of a property held in the old instance of the ontology | SimpleChange, ChangeMixin |
| new_value | 0..1 String |
The value of a property held in the new instance of the ontology | SimpleChange, ChangeMixin |
| old_value_type | 0..1 String |
The type (IRI or Literal) of an old value | SimpleChange |
| new_value_type | 0..1 String |
The type (IRI or Literal) of a new value | SimpleChange |
| new_language | 0..1 String |
The new language tag of a literal | SimpleChange |
| old_language | 0..1 String |
The old language tag of a literal | SimpleChange |
| new_datatype | 0..1 String |
The new datatype of a literal | SimpleChange |
| old_datatype | 0..1 String |
The old datatype of a literal | SimpleChange |
| 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 Datetime |
The date and time at which the change was made | Change |
| contributor | 0..1 String |
Change | |
| has_undo | 0..1 Deletion |
A change that reverses this change | ChangeMixin, 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 |
| about | 0..1 OntologyElement |
The 'focus' entity on which the change operates | ChangeMixin |
Aliases¶
- xref creation
TODOs¶
- decide whether to make a corresponding change to the datamodel
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://w3id.org/kgcl
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | kgcl:MappingCreation |
| native | kgcl:MappingCreation |
LinkML Source¶
Direct¶
name: MappingCreation
description: A specific kind of edge creation in which the created edge is a mapping.
deprecated: use NewMapping
todos:
- decide whether to make a corresponding change to the datamodel
from_schema: https://w3id.org/kgcl
aliases:
- xref creation
is_a: EdgeCreation
mixins:
- Creation
slots:
- subject
- predicate
- object
- annotation_set
slot_usage:
change_description:
name: change_description
string_serialization: create mapping {subject} {predicate} {object}
subject:
name: subject
description: This corresponds to subject_id in SSSOM
predicate:
name: predicate
description: This corresponds to predicate_id in SSSOM. The value of this is typically
a predicate from SKOS
object:
name: object
description: This corresponds to object_id in SSSOM
Induced¶
name: MappingCreation
description: A specific kind of edge creation in which the created edge is a mapping.
deprecated: use NewMapping
todos:
- decide whether to make a corresponding change to the datamodel
from_schema: https://w3id.org/kgcl
aliases:
- xref creation
is_a: EdgeCreation
mixins:
- Creation
slot_usage:
change_description:
name: change_description
string_serialization: create mapping {subject} {predicate} {object}
subject:
name: subject
description: This corresponds to subject_id in SSSOM
predicate:
name: predicate
description: This corresponds to predicate_id in SSSOM. The value of this is typically
a predicate from SKOS
object:
name: object
description: This corresponds to object_id in SSSOM
attributes:
subject:
name: subject
description: This corresponds to subject_id in SSSOM
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeCreation
- EdgeDeletion
- EdgeObsoletion
- MappingCreation
- Edge
range: Node
predicate:
name: predicate
description: This corresponds to predicate_id in SSSOM. The value of this is typically
a predicate from SKOS
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeCreation
- EdgeDeletion
- EdgeObsoletion
- MappingCreation
- NewSynonym
- NewMapping
- RemoveMapping
- NewMetadataAssertion
- RemoveMetadataAssertion
- Edge
range: Node
object:
name: object
description: This corresponds to object_id in SSSOM
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeCreation
- EdgeDeletion
- EdgeObsoletion
- MappingCreation
- NewMapping
- RemoveMapping
- NewMetadataAssertion
- RemoveMetadataAssertion
- Edge
range: Node
annotation_set:
name: annotation_set
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeCreation
- EdgeDeletion
- EdgeObsoletion
- MappingCreation
- NodeCreation
- Annotation
- Node
- Edge
range: Annotation
subject_type:
name: subject_type
description: The type (IRI or Literal) of an edge's subject
deprecated: no longer required
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeCreation
- EdgeDeletion
range: string
predicate_type:
name: predicate_type
description: The type (IRI or Literal) of an edge's subject
deprecated: no longer required
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeCreation
- EdgeDeletion
range: string
object_type:
name: object_type
description: The type (IRI or Literal) of an object
deprecated: no longer required
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeChange
- EdgeCreation
- EdgeDeletion
range: string
about_edge:
name: about_edge
comments:
- if subject is empty, use the about field of the last node change
from_schema: https://w3id.org/kgcl
rank: 1000
is_a: about
owner: MappingCreation
domain_of:
- EdgeChange
range: Edge
multivalued: false
language:
name: language
description: The language tag of a literal
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeChange
- NodeChange
- NewSynonym
- NodeCreation
range: LanguageTag
datatype:
name: datatype
description: The datatype of a literal
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- EdgeChange
range: string
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: MappingCreation
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: MappingCreation
domain_of:
- SimpleChange
- ChangeMixin
- NodeRename
- NewLabel
- SetLanguageForName
- NewSynonym
- SynonymReplacement
- SynonymPredicateChange
- MappingReplacement
- MappingPredicateChange
- MetadataAssertionReplacement
- MetadataAssertionPredicateChange
- NewTextDefinition
- TextDefinitionReplacement
range: string
old_value_type:
name: old_value_type
description: The type (IRI or Literal) of an old value
deprecated: no longer required
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- SimpleChange
range: string
new_value_type:
name: new_value_type
description: The type (IRI or Literal) of a new value
deprecated: no longer required
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- SimpleChange
range: string
new_language:
name: new_language
description: The new language tag of a literal
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- SimpleChange
- NodeRename
- NewLabel
range: string
old_language:
name: old_language
description: The old language tag of a literal
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- SimpleChange
- NodeRename
range: string
new_datatype:
name: new_datatype
description: The new datatype of a literal
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- SimpleChange
range: string
old_datatype:
name: old_datatype
description: The old datatype of a literal
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- SimpleChange
range: string
id:
name: id
from_schema: https://w3id.org/kgcl
rank: 1000
identifier: true
owner: MappingCreation
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: MappingCreation
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: MappingCreation
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: MappingCreation
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: MappingCreation
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: MappingCreation
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: MappingCreation
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: MappingCreation
domain_of:
- Change
range: datetime
contributor:
name: contributor
from_schema: https://w3id.org/kgcl
rank: 1000
slot_uri: dcterms:creator
owner: MappingCreation
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: MappingCreation
domain_of:
- Change
- ChangeMixin
range: Deletion
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
string_serialization: create mapping {subject} {predicate} {object}
owner: MappingCreation
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: MappingCreation
domain_of:
- Change
range: Change
multivalued: true
inlined: true
inlined_as_list: true
about:
name: about
description: The 'focus' entity on which the change operates
from_schema: https://w3id.org/kgcl
rank: 1000
owner: MappingCreation
domain_of:
- ChangeMixin
range: OntologyElement
multivalued: false