Skip to content

Class: Triple

Abstract parent for Relation Extraction tasks

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

URI: oc:Triple

erDiagram Triple { string qualifier } NamedEntity { string id string label } RelationshipType { string id string label } Triple ||--|o NamedEntity : "subject" Triple ||--|o RelationshipType : "predicate" Triple ||--|o NamedEntity : "object" Triple ||--|o NamedEntity : "subject_qualifier" Triple ||--|o NamedEntity : "object_qualifier"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
subject 0..1
NamedEntity
direct
predicate 0..1
RelationshipType
direct
object 0..1
NamedEntity
direct
qualifier 0..1
String
A qualifier for the statements, e direct
subject_qualifier 0..1
NamedEntity
An optional qualifier or modifier for the subject of the statement, e direct
object_qualifier 0..1
NamedEntity
An optional qualifier or modifier for the object of the statement, e direct

Usages

used by used in type used
TextWithTriples triples range Triple

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/ontogpt/ontology_issue

Mappings

Mapping Type Mapped Value
self oc:Triple
native oc:Triple

LinkML Source

Direct

name: Triple
description: Abstract parent for Relation Extraction tasks
from_schema: https://w3id.org/ontogpt/ontology_issue
is_a: CompoundExpression
abstract: true
attributes:
  subject:
    name: subject
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    domain_of:
    - Triple
    range: NamedEntity
  predicate:
    name: predicate
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    domain_of:
    - Triple
    range: RelationshipType
  object:
    name: object
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    domain_of:
    - Triple
    range: NamedEntity
  qualifier:
    name: qualifier
    description: A qualifier for the statements, e.g. "NOT" for negation
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    domain_of:
    - Triple
    range: string
  subject_qualifier:
    name: subject_qualifier
    description: An optional qualifier or modifier for the subject of the statement,
      e.g. "high dose" or "intravenously administered"
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    domain_of:
    - Triple
    range: NamedEntity
  object_qualifier:
    name: object_qualifier
    description: An optional qualifier or modifier for the object of the statement,
      e.g. "severe" or "with additional complications"
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    domain_of:
    - Triple
    range: NamedEntity

Induced

name: Triple
description: Abstract parent for Relation Extraction tasks
from_schema: https://w3id.org/ontogpt/ontology_issue
is_a: CompoundExpression
abstract: true
attributes:
  subject:
    name: subject
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    alias: subject
    owner: Triple
    domain_of:
    - Triple
    range: NamedEntity
  predicate:
    name: predicate
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    alias: predicate
    owner: Triple
    domain_of:
    - Triple
    range: RelationshipType
  object:
    name: object
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    alias: object
    owner: Triple
    domain_of:
    - Triple
    range: NamedEntity
  qualifier:
    name: qualifier
    description: A qualifier for the statements, e.g. "NOT" for negation
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    alias: qualifier
    owner: Triple
    domain_of:
    - Triple
    range: string
  subject_qualifier:
    name: subject_qualifier
    description: An optional qualifier or modifier for the subject of the statement,
      e.g. "high dose" or "intravenously administered"
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    alias: subject_qualifier
    owner: Triple
    domain_of:
    - Triple
    range: NamedEntity
  object_qualifier:
    name: object_qualifier
    description: An optional qualifier or modifier for the object of the statement,
      e.g. "severe" or "with additional complications"
    from_schema: https://w3id.org/ontogpt/ontology_issue
    rank: 1000
    alias: object_qualifier
    owner: Triple
    domain_of:
    - Triple
    range: NamedEntity