qanary-component-sparql-generation/extract-coordinates-from-instances
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-sparql-generation/extract-coordinates-from-instances
Section titled “qanary-component-sparql-generation/extract-coordinates-from-instances”- Package:
qanary-component-sparql-generation - Source file:
apps/qanary-component-sparql-generation/src/extract-coordinates-from-instances.ts
Summary
Section titled “Summary”Extracts address components (street, street number, zip) from enriched instances
Functions
Section titled “Functions”extractAddressComponents
Section titled “extractAddressComponents”function extractAddressComponents(instances: EnrichedInstance[]): AddressComponentsExtracts address components (street, street number, zip) from enriched instances
Parameters
instances(EnrichedInstance[]): Array of enriched instances ReturnsAddressComponents: Object with extracted address components Defined at: line 16
buildAddressString
Section titled “buildAddressString”function buildAddressString(components: AddressComponents): string | nullBuilds a complete address string from address components
Parameters
components(AddressComponents): Address components Returnsstring | null: Formatted address string, or null if no meaningful components found Defined at: line 42
extractCoordinatesFromInstances
Section titled “extractCoordinatesFromInstances”function extractCoordinatesFromInstances(instances: EnrichedInstance[]): Promise<Coordinates | null>Extracts coordinates from street/street number/zip information in instances
Parameters
instances(EnrichedInstance[]): Array of enriched instances ReturnsPromise<Coordinates | null>: Coordinates if address components found, null otherwise Defined at: line 76
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