Skip to content

shared/interfaces/annotations

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

  • Package: @leipzigtreechat/shared
  • Source file: packages/shared/src/interfaces/annotations.ts

The qanary raw annotations received by querying the sparql endpoint

interface IRawAnnotation

The qanary raw annotations received by querying the sparql endpoint

Properties

  • annotation (NamedNode): the annotation node
  • annotationType (NamedNode): the type of annotation, e.g AnnotationOfAnswer
  • target (BlankNode): the target node of the annotation
  • body (Literal): the body/value of the annotation
  • score (Literal): the score/confidence of the annotation
  • annotatedBy (NamedNode): the component that created the annotation
  • annotatedAt (Literal): the time when the annotation was created Defined at: line 6
interface IQanaryAnnotation

The qanary annotation interface

Properties

  • annotationType (string): the type of annotation, e.g AnnotationAnswer
  • hasTarget (string): the target of the annotation
  • hasBody (string): the body/value of the annotation
  • annotatedAt (string): the time when the annotation was created
  • annotatedBy (string): the component that created the annotation
  • score (number): the score/confidence of the annotation Defined at: line 24
interface IFilteredAnnotations

The filtered annotations by domain.

Properties

  • stationAnnotation (Array): annotations of the domain station
  • measurandAnnotation (Array): annotations of the domain measurand
  • representationAnnotation (Array): annotations of the domain representation
  • calculationAnnotation (Array): annotations of the domain calculation
  • timeAnnotation (Array): annotations of the domain time Defined at: line 42
interface ITimeObject

The time object consisting of start and optional end time of an AnnotationOfTime.

Properties

  • start (string): recognized start date
  • end (string): recognized end date Defined at: line 58