Skip to content

Class: Relationship

Abstract base for reified relationships (edges with explicit properties). Follows RDF triple pattern: subject, predicate, object. Can carry additional metadata (confidence, evidence, provenance).

  • NOTE: this is an abstract class and should not be instantiated directly

URI: rdf:Statement

 classDiagram
    class Relationship
    click Relationship href "../Relationship/"
      Relationship <|-- Association
        click Association href "../Association/"

      Relationship : confidence

      Relationship : evidence_source

      Relationship : evidence_type

      Relationship : ingest_date

      Relationship : object

      Relationship : predicate

      Relationship : source

      Relationship : subject

Inheritance

Class Properties

Property Value
Class URI rdf:Statement

Slots

Name Cardinality and Range Description Inheritance
subject 1
String
Subject resource IRI direct
predicate 1
String
Relationship type IRI direct
object 1
String
Object resource IRI direct
source 0..1
String
Data source for this relationship direct
confidence 0..1
String
Confidence score (0-1) direct
evidence_type 0..1
String
Type of evidence supporting relationship direct
evidence_source 0..1
String
Citation or study ID direct
ingest_date 0..1
String
Ingest date direct

Identifier and Mapping Information

Schema Source

  • from schema: https://cair2015.github.io/als-kg

Mappings

Mapping Type Mapped Value
self rdf:Statement
native alskb:Relationship

LinkML Source

Direct

name: Relationship
description: 'Abstract base for reified relationships (edges with explicit properties).
  Follows RDF triple pattern: subject, predicate, object. Can carry additional metadata
  (confidence, evidence, provenance).'
from_schema: https://cair2015.github.io/als-kg
abstract: true
attributes:
  subject:
    name: subject
    description: Subject resource IRI
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: rdf:subject
    domain_of:
    - Relationship
    - Association
    required: true
  predicate:
    name: predicate
    description: Relationship type IRI
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: rdf:predicate
    domain_of:
    - Relationship
    - Association
    - DiseasePhenotypeAssociation
    - GeneDiseaseAssociation
    - VariantDiseaseAssociation
    - VariantProteinEffectAssociation
    - ProteinProteinInteractionAssociation
    - ProteinPathwayAssociation
    - DrugTargetAssociation
    - DrugDiseaseTherapeuticAssociation
    - ExposureDiseaseAssociation
    - TranscriptionFactorRegulationAssociation
    - GeneExpressionAssociation
    - DiseaseDiseaseAssociation
    required: true
  object:
    name: object
    description: Object resource IRI
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: rdf:object
    domain_of:
    - Relationship
    - Association
    required: true
  source:
    name: source
    description: Data source for this relationship
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: dcterms:source
    domain_of:
    - NamedEntity
    - Relationship
    - Association
  confidence:
    name: confidence
    description: Confidence score (0-1)
    from_schema: https://cair2015.github.io/als-kg
    domain_of:
    - Relationship
    - Association
  evidence_type:
    name: evidence_type
    description: Type of evidence supporting relationship
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: ECO:0000000
    domain_of:
    - Relationship
    - Association
  evidence_source:
    name: evidence_source
    description: Citation or study ID
    from_schema: https://cair2015.github.io/als-kg
    domain_of:
    - Relationship
    - Association
  ingest_date:
    name: ingest_date
    description: Ingest date
    from_schema: https://cair2015.github.io/als-kg
    domain_of:
    - OntologyClass
    - Relationship
    - Association
class_uri: rdf:Statement

Induced

name: Relationship
description: 'Abstract base for reified relationships (edges with explicit properties).
  Follows RDF triple pattern: subject, predicate, object. Can carry additional metadata
  (confidence, evidence, provenance).'
from_schema: https://cair2015.github.io/als-kg
abstract: true
attributes:
  subject:
    name: subject
    description: Subject resource IRI
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: rdf:subject
    alias: subject
    owner: Relationship
    domain_of:
    - Relationship
    - Association
    range: string
    required: true
  predicate:
    name: predicate
    description: Relationship type IRI
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: rdf:predicate
    alias: predicate
    owner: Relationship
    domain_of:
    - Relationship
    - Association
    - DiseasePhenotypeAssociation
    - GeneDiseaseAssociation
    - VariantDiseaseAssociation
    - VariantProteinEffectAssociation
    - ProteinProteinInteractionAssociation
    - ProteinPathwayAssociation
    - DrugTargetAssociation
    - DrugDiseaseTherapeuticAssociation
    - ExposureDiseaseAssociation
    - TranscriptionFactorRegulationAssociation
    - GeneExpressionAssociation
    - DiseaseDiseaseAssociation
    range: string
    required: true
  object:
    name: object
    description: Object resource IRI
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: rdf:object
    alias: object
    owner: Relationship
    domain_of:
    - Relationship
    - Association
    range: string
    required: true
  source:
    name: source
    description: Data source for this relationship
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: dcterms:source
    alias: source
    owner: Relationship
    domain_of:
    - NamedEntity
    - Relationship
    - Association
    range: string
  confidence:
    name: confidence
    description: Confidence score (0-1)
    from_schema: https://cair2015.github.io/als-kg
    alias: confidence
    owner: Relationship
    domain_of:
    - Relationship
    - Association
    range: string
  evidence_type:
    name: evidence_type
    description: Type of evidence supporting relationship
    from_schema: https://cair2015.github.io/als-kg
    slot_uri: ECO:0000000
    alias: evidence_type
    owner: Relationship
    domain_of:
    - Relationship
    - Association
    range: string
  evidence_source:
    name: evidence_source
    description: Citation or study ID
    from_schema: https://cair2015.github.io/als-kg
    alias: evidence_source
    owner: Relationship
    domain_of:
    - Relationship
    - Association
    range: string
  ingest_date:
    name: ingest_date
    description: Ingest date
    from_schema: https://cair2015.github.io/als-kg
    alias: ingest_date
    owner: Relationship
    domain_of:
    - OntologyClass
    - Relationship
    - Association
    range: string
class_uri: rdf:Statement