schema-sidecar
Theme
Text size
GitHub Menu

Class in Linked Open Knowledge Format (LOKF)

Relation

A typed, reified relationship from the containing concept to a target, used when a predicate is not covered by one of the named relation slots. Modeled as an rdf:Statement (subject = the containing concept).

URI: rdf:Statement

 classDiagram
    class Relation
    click Relation href "../../classes/Relation/"
      Relation : predicate
        
          
    
        
        
        Relation --> "1" RelationType : predicate
        click RelationType href "../../enums/RelationType/"
    

        
      Relation : relation_label
        
      Relation : target
        
          
    
        
        
        Relation --> "1" Concept : target
        click Concept href "../../classes/Concept/"
    

        
      

Class Properties#

PropertyValue
Class URIrdf:Statement

Slots#

NameCardinality and RangeDescriptionInheritance
predicate1
RelationType
The relationship typedirect
target1
Concept
The IRI (or Concept ID) of the relationship’s objectdirect
relation_label0..1
String
An optional human-readable label for the relationshipdirect

Usages#

used byused intypeused
ConceptrelationsrangeRelation
DatasetrelationsrangeRelation
TablerelationsrangeRelation
MetricrelationsrangeRelation
ServicerelationsrangeRelation
PlaybookrelationsrangeRelation
TutorialrelationsrangeRelation
ExplanationrelationsrangeRelation
PolicyrelationsrangeRelation
GlossaryTermrelationsrangeRelation
ReferencerelationsrangeRelation
DocumentrelationsrangeRelation
RolerelationsrangeRelation
AttestedComputationrelationsrangeRelation
PersonrelationsrangeRelation
OrganizationrelationsrangeRelation

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfrdf:Statement
nativelokf:Relation

LinkML Source#

Direct#

YAML
name: Relation
description: A typed, reified relationship from the containing concept to a target,
  used when a predicate is not covered by one of the named relation slots. Modeled
  as an rdf:Statement (subject = the containing concept).
from_schema: https://w3id.org/lokf/schema
slots:
- predicate
- target
- relation_label
class_uri: rdf:Statement

Induced#

YAML
name: Relation
description: A typed, reified relationship from the containing concept to a target,
  used when a predicate is not covered by one of the named relation slots. Modeled
  as an rdf:Statement (subject = the containing concept).
from_schema: https://w3id.org/lokf/schema
attributes:
  predicate:
    name: predicate
    description: The relationship type. SHOULD be drawn from the RelationType vocabulary.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: rdf:predicate
    owner: Relation
    domain_of:
    - Relation
    range: RelationType
    required: true
  target:
    name: target
    description: The IRI (or Concept ID) of the relationship's object.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: rdf:object
    owner: Relation
    domain_of:
    - Relation
    range: Concept
    required: true
  relation_label:
    name: relation_label
    description: An optional human-readable label for the relationship.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: rdfs:label
    owner: Relation
    domain_of:
    - Relation
    range: string
class_uri: rdf:Statement