glam/src/glam_extractor/identifiers/__init__.py
kempersc e5a532a8bc Add comprehensive tests for NLP institution extraction and RDF partnership integration
- Introduced `test_nlp_extractor.py` with unit tests for the InstitutionExtractor, covering various extraction patterns (ISIL, Wikidata, VIAF, city names) and ensuring proper classification of institutions (museum, library, archive).
- Added tests for extracted entities and result handling to validate the extraction process.
- Created `test_partnership_rdf_integration.py` to validate the end-to-end process of extracting partnerships from a conversation and exporting them to RDF format.
- Implemented tests for temporal properties in partnerships and ensured compliance with W3C Organization Ontology patterns.
- Verified that extracted partnerships are correctly linked with PROV-O provenance metadata.
2025-11-19 23:20:47 +01:00

29 lines
635 B
Python

"""
Global Heritage Custodian Identifier (GHCID) System.
This module provides persistent identifiers for worldwide heritage institutions.
"""
from .ghcid import (
GHCIDComponents,
GHCIDGenerator,
GHCIDHistoryEntry,
InstitutionType,
extract_abbreviation_from_name,
)
from .lookups import (
get_city_locode,
get_province_code,
get_ghcid_components_for_dutch_city,
)
__all__ = [
"GHCIDComponents",
"GHCIDGenerator",
"GHCIDHistoryEntry",
"InstitutionType",
"extract_abbreviation_from_name",
"get_city_locode",
"get_province_code",
"get_ghcid_components_for_dutch_city",
]