- 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.
19 lines
386 B
Python
19 lines
386 B
Python
"""LinkML schema validators and web-based validation"""
|
|
|
|
# TODO: Implement LinkML validators
|
|
LinkMLValidator = None
|
|
|
|
from .web_validator import (
|
|
ValidationEvidence,
|
|
ValidationResult,
|
|
WebValidator,
|
|
batch_validate_institutions
|
|
)
|
|
|
|
__all__ = [
|
|
"LinkMLValidator",
|
|
"ValidationEvidence",
|
|
"ValidationResult",
|
|
"WebValidator",
|
|
"batch_validate_institutions"
|
|
]
|