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#
| Property | Value |
|---|---|
| Class URI | rdf:Statement |
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| predicate | 1 RelationType | The relationship type | direct |
| target | 1 Concept | The IRI (or Concept ID) of the relationship’s object | direct |
| relation_label | 0..1 String | An optional human-readable label for the relationship | direct |
Usages#
| used by | used in | type | used |
|---|---|---|---|
| Concept | relations | range | Relation |
| Dataset | relations | range | Relation |
| Table | relations | range | Relation |
| Metric | relations | range | Relation |
| Service | relations | range | Relation |
| Playbook | relations | range | Relation |
| Tutorial | relations | range | Relation |
| Explanation | relations | range | Relation |
| Policy | relations | range | Relation |
| GlossaryTerm | relations | range | Relation |
| Reference | relations | range | Relation |
| Document | relations | range | Relation |
| Role | relations | range | Relation |
| AttestedComputation | relations | range | Relation |
| Person | relations | range | Relation |
| Organization | relations | range | Relation |
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lokf/schema
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | rdf:Statement |
| native | lokf: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