Skip to content

Enum: relational_role_enum

enumeration of roles a slot on a relationship class can play

  • Canonical name: RelationalRoleEnum
  • Names in code: RelationalRoleEnum (Scala, TypeScript, Python, Java, Rust, GraphQL)
  • URI: linkml:RelationalRoleEnum (https://w3id.org/linkml/RelationalRoleEnum)
Value Meaning Description
SUBJECT rdf:subject a slot with this role connects a relationship to its subject/source node
OBJECT rdf:object a slot with this role connects a relationship to its object/target node
PREDICATE rdf:predicate a slot with this role connects a relationship to its predicate/property
NODE a slot with this role connects a symmetric relationship to a node that represents either subject or object node
OTHER_ROLE a slot with this role connects a relationship to a node that is not subject/object/predicate
Used by Slot Cardinality
slot_definition relational_role 0..1