- 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.
61 lines
3.6 KiB
JSON
61 lines
3.6 KiB
JSON
{
|
|
"uuid": "test-uuid-001",
|
|
"name": "Test Dutch GLAM Institutions",
|
|
"summary": "Sample conversation about Dutch museums and archives",
|
|
"created_at": "2025-11-05T10:00:00.000000Z",
|
|
"updated_at": "2025-11-05T10:30:00.000000Z",
|
|
"chat_messages": [
|
|
{
|
|
"uuid": "msg-001",
|
|
"text": "Tell me about the Rijksmuseum in Amsterdam",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Tell me about the Rijksmuseum in Amsterdam"
|
|
}
|
|
],
|
|
"sender": "human",
|
|
"created_at": "2025-11-05T10:00:00.000000Z",
|
|
"updated_at": "2025-11-05T10:00:00.000000Z"
|
|
},
|
|
{
|
|
"uuid": "msg-002",
|
|
"text": "The Rijksmuseum is a Dutch national museum in Amsterdam. The museum has an ISIL code NL-AsdRM. It is located at Museumstraat 1, 1071 XX Amsterdam. The museum holds over 1 million objects in its collection, including masterpieces by Rembrandt and Vermeer. The Rijksmuseum uses SPECTRUM and LIDO metadata standards. Their digital collection is available at https://www.rijksmuseum.nl/en/rijksstudio. The museum is part of the Museumvereniging and collaborates with other Dutch national museums.",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "The Rijksmuseum is a Dutch national museum in Amsterdam. The museum has an ISIL code NL-AsdRM. It is located at Museumstraat 1, 1071 XX Amsterdam. The museum holds over 1 million objects in its collection, including masterpieces by Rembrandt and Vermeer. The Rijksmuseum uses SPECTRUM and LIDO metadata standards. Their digital collection is available at https://www.rijksmuseum.nl/en/rijksstudio. The museum is part of the Museumvereniging and collaborates with other Dutch national museums."
|
|
}
|
|
],
|
|
"sender": "assistant",
|
|
"created_at": "2025-11-05T10:01:00.000000Z",
|
|
"updated_at": "2025-11-05T10:01:00.000000Z"
|
|
},
|
|
{
|
|
"uuid": "msg-003",
|
|
"text": "What about the Nationaal Archief?",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "What about the Nationaal Archief?"
|
|
}
|
|
],
|
|
"sender": "human",
|
|
"created_at": "2025-11-05T10:02:00.000000Z",
|
|
"updated_at": "2025-11-05T10:02:00.000000Z"
|
|
},
|
|
{
|
|
"uuid": "msg-004",
|
|
"text": "The Nationaal Archief (National Archive) is located in The Hague, Netherlands. ISIL: NL-HaNA. Address: Prins Willem-Alexanderhof 20, 2595 BE Den Haag. The archive holds the most important documents from Dutch history, with records dating back to the 9th century. It uses EAD (Encoded Archival Description) and RiC-O metadata standards. Their catalog is searchable at https://www.nationaalarchief.nl. The archive is part of the Ministry of Education, Culture and Science and partners with regional archives through the Network of Regional Archives (Netwerk Archieven).",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "The Nationaal Archief (National Archive) is located in The Hague, Netherlands. ISIL: NL-HaNA. Address: Prins Willem-Alexanderhof 20, 2595 BE Den Haag. The archive holds the most important documents from Dutch history, with records dating back to the 9th century. It uses EAD (Encoded Archival Description) and RiC-O metadata standards. Their catalog is searchable at https://www.nationaalarchief.nl. The archive is part of the Ministry of Education, Culture and Science and partners with regional archives through the Network of Regional Archives (Netwerk Archieven)."
|
|
}
|
|
],
|
|
"sender": "assistant",
|
|
"created_at": "2025-11-05T10:03:00.000000Z",
|
|
"updated_at": "2025-11-05T10:03:00.000000Z"
|
|
}
|
|
]
|
|
}
|