qanary-component-sparql-generation/get-enriched-instances
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-sparql-generation/get-enriched-instances
Section titled “qanary-component-sparql-generation/get-enriched-instances”- Package:
qanary-component-sparql-generation - Source file:
apps/qanary-component-sparql-generation/src/get-enriched-instances.ts
Summary
Section titled “Summary”Represents an AnnotationOfInstance enriched with its corresponding type from AnnotationOfSpotInstance
Functions
Section titled “Functions”getEnrichedInstances
Section titled “getEnrichedInstances”function getEnrichedInstances(message: IQanaryMessage): Promise<EnrichedInstance[]>Gets all AnnotationOfInstance annotations with their corresponding types from AnnotationOfSpotInstance Links them by shared text positions (start/end)
Parameters
message(IQanaryMessage): The Qanary message containing endpoint and graph information ReturnsPromise<EnrichedInstance[]>: Array of enriched instances with type information Defined at: line 33
Interfaces
Section titled “Interfaces”EnrichedInstance
Section titled “EnrichedInstance”interface EnrichedInstanceRepresents an AnnotationOfInstance enriched with its corresponding type from AnnotationOfSpotInstance
Properties
instanceUri(string): The URI of the AnnotationOfInstanceentityUrn(string): The entity URN (body of AnnotationOfInstance)entityType(string): The entity type from the corresponding AnnotationOfSpotInstanceexactQuote(string): The exact text that was annotatedstart(number): Start position in the question textend(number): End position in the question textinstanceConfidence(number): Confidence score from AnnotationOfInstancespotConfidence(number): Confidence score from AnnotationOfSpotInstance Defined at: line 7
In qanary-component-sparql-generation
Section titled “In qanary-component-sparql-generation”qanary-component-sparql-generation/extract-coordinates-from-instancesqanary-component-sparql-generation/get-annotation-informationqanary-component-sparql-generation/get-coordinates-from-addressqanary-component-sparql-generation/get-enriched-instancesqanary-component-sparql-generation/get-predefined-sparqlqanary-component-sparql-generation/handlerqanary-component-sparql-generation/index