Class: NodeRelationship
A relationship from a Node to a counterpart Entity that retains the original relation/predicate (e.g. an RO term) and its human-readable label, resolved from the KG. Used to surface Mondo disease<->gene related_to associations whose original_predicate is an RO term.
URI: https://w3id.org/monarch/monarch-py/NodeRelationship
classDiagram
class NodeRelationship
click NodeRelationship href "../NodeRelationship/"
NodeRelationship : related_entity
NodeRelationship --> "1" Entity : related_entity
click Entity href "../Entity/"
NodeRelationship : relation
NodeRelationship : relation_label
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| relation | 0..1 Uriorcurie |
The original relation/predicate CURIE connecting a node to a related entity (... | direct |
| relation_label | 0..1 String |
The human-readable label of the relation, resolved from the KG | direct |
| related_entity | 1 Entity |
The counterpart entity in the relationship | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Node | node_relationships | range | NodeRelationship |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/monarch/monarch-py
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | https://w3id.org/monarch/monarch-py/NodeRelationship |
| native | https://w3id.org/monarch/monarch-py/NodeRelationship |
LinkML Source
Direct
name: NodeRelationship
description: A relationship from a Node to a counterpart Entity that retains the original
relation/predicate (e.g. an RO term) and its human-readable label, resolved from
the KG. Used to surface Mondo disease<->gene related_to associations whose original_predicate
is an RO term.
from_schema: https://w3id.org/monarch/monarch-py
slots:
- relation
- relation_label
- related_entity
slot_usage:
related_entity:
name: related_entity
required: true
Induced
name: NodeRelationship
description: A relationship from a Node to a counterpart Entity that retains the original
relation/predicate (e.g. an RO term) and its human-readable label, resolved from
the KG. Used to surface Mondo disease<->gene related_to associations whose original_predicate
is an RO term.
from_schema: https://w3id.org/monarch/monarch-py
slot_usage:
related_entity:
name: related_entity
required: true
attributes:
relation:
name: relation
description: The original relation/predicate CURIE connecting a node to a related
entity (e.g. an RO term such as RO:0004003)
from_schema: https://w3id.org/monarch/monarch-py
rank: 1000
alias: relation
owner: NodeRelationship
domain_of:
- NodeRelationship
range: uriorcurie
relation_label:
name: relation_label
description: The human-readable label of the relation, resolved from the KG
from_schema: https://w3id.org/monarch/monarch-py
rank: 1000
alias: relation_label
owner: NodeRelationship
domain_of:
- NodeRelationship
range: string
related_entity:
name: related_entity
description: The counterpart entity in the relationship
from_schema: https://w3id.org/monarch/monarch-py
rank: 1000
alias: related_entity
owner: NodeRelationship
domain_of:
- NodeRelationship
range: Entity
required: true
inlined: true