- 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.
57 lines
No EOL
1.6 KiB
JSON
57 lines
No EOL
1.6 KiB
JSON
{
|
|
"batch": 12,
|
|
"query_date": "2025-11-09",
|
|
"institution_type": "LIBRARY",
|
|
"total_searched": 7,
|
|
"matches_found": 4,
|
|
"matches": [
|
|
{
|
|
"search_name": "Biblioteca Pública Federico Varela",
|
|
"search_city": "Chañaral",
|
|
"q_number": "Q135435755",
|
|
"wikidata_name": "Biblioteca Pública de La Reina",
|
|
"wikidata_location": "La Reina",
|
|
"match_score": 81.25,
|
|
"total_score": 81.25,
|
|
"viaf": null,
|
|
"isil": null,
|
|
"founded": null
|
|
},
|
|
{
|
|
"search_name": "Biblioteca Pública de Illapel",
|
|
"search_city": "Los Vilos",
|
|
"q_number": "Q135435755",
|
|
"wikidata_name": "Biblioteca Pública de La Reina",
|
|
"wikidata_location": "La Reina",
|
|
"match_score": 84.7457627118644,
|
|
"total_score": 84.7457627118644,
|
|
"viaf": null,
|
|
"isil": null,
|
|
"founded": null
|
|
},
|
|
{
|
|
"search_name": "Biblioteca Pública N°56",
|
|
"search_city": "Talagante",
|
|
"q_number": "Q135435755",
|
|
"wikidata_name": "Biblioteca Pública de La Reina",
|
|
"wikidata_location": "La Reina",
|
|
"match_score": 75.47169811320755,
|
|
"total_score": 75.47169811320755,
|
|
"viaf": null,
|
|
"isil": null,
|
|
"founded": null
|
|
},
|
|
{
|
|
"search_name": "Biblioteca Pública N° 244",
|
|
"search_city": "Pichilemu",
|
|
"q_number": "Q134891536",
|
|
"wikidata_name": "Biblioteca Pública Municipal de Lebu",
|
|
"wikidata_location": "Lebu",
|
|
"match_score": 68.85245901639344,
|
|
"total_score": 78.85245901639344,
|
|
"viaf": null,
|
|
"isil": null,
|
|
"founded": null
|
|
}
|
|
]
|
|
} |