Skip to content

qanary-component-dis/types

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

  • Package: qanary-component-dis
  • Source file: apps/qanary-component-dis/src/types.ts

NER annotation from the knowledge graph

interface NerAnnotation

NER annotation from the knowledge graph

Properties

  • annotationUri (string)
  • spotResourceUri (string)
  • entityType (string)
  • score (number)
  • exactQuote (string)
  • start (number)
  • end (number)
  • questionUri (string) Defined at: line 6
interface DisambiguationResult

Disambiguation result with matched entity

Properties

  • entityUrn (string)
  • score (number)
  • label (string) Defined at: line 20
interface DisambiguationOutcome

Outcome of a disambiguation attempt, including all candidates above threshold.

Properties

  • result (DisambiguationResult | null): The best match, or null if no candidates met the threshold.
  • candidates (DisambiguationResult[]): All candidates that met the fuzzy threshold, sorted by similarity descending. Defined at: line 29
interface SparqlBinding

SPARQL binding result interface

Defined at: line 39