# VectorStoreEventOntology: generated by generator/ttl_export.py from jupyter-naas/abi 56f86c1be218b046068d8abf683d1ea6cd66763e
# (zen-prod-2026-11-24-1). Do not edit by hand. Source files:
#   libs/naas-abi-core/naas_abi_core/services/vector_store/ontologies/modules/VectorStoreEventOntology.ttl
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix dc1: <http://purl.org/dc/terms/> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix vs: <http://ontology.naas.ai/abi/vector_store/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

vs:VectorStoreEventOntology a owl:Ontology ;
    abi:ontologyResource "ontologies/modules/VectorStoreEventOntology.ttl" ;
    abi:pythonPackage "naas_abi_core.services.vector_store" ;
    abi:pythonResource "ontologies/modules/VectorStoreEventOntology.py" ;
    dc11:date "2026-05-27"^^xsd:date ;
    dc1:description "Events emitted by the VectorStoreService when collections or documents are mutated."@en ;
    dc1:license <https://creativecommons.org/licenses/by/4.0/> ;
    dc1:title "Vector Store Event Ontology"@en ;
    owl:imports abi:EventService .

vs:collectionName a owl:DatatypeProperty ;
    rdfs:label "collection name"@en ;
    rdfs:domain vs:CollectionDeleted,
        vs:CollectionEnsured,
        vs:DocumentUpdated,
        vs:DocumentsAdded,
        vs:DocumentsDeleted,
        vs:VectorStoreError ;
    rdfs:range xsd:string ;
    skos:definition "Name of the vector store collection the operation targeted."@en .

vs:documentCount a owl:DatatypeProperty ;
    rdfs:label "document count"@en ;
    rdfs:domain vs:DocumentsAdded,
        vs:DocumentsDeleted ;
    rdfs:range xsd:integer ;
    skos:definition "Number of documents affected by the operation."@en .

vs:documentId a owl:DatatypeProperty ;
    rdfs:label "document id"@en ;
    rdfs:domain vs:DocumentUpdated ;
    rdfs:range xsd:string ;
    skos:definition "Identifier of the document the operation targeted."@en .

vs:message a owl:DatatypeProperty ;
    rdfs:label "message"@en ;
    rdfs:domain vs:VectorStoreError ;
    rdfs:range xsd:string ;
    skos:definition "String representation of the exception raised by the adapter."@en .

vs:operation a owl:DatatypeProperty ;
    rdfs:label "operation"@en ;
    rdfs:domain vs:VectorStoreError ;
    rdfs:range xsd:string ;
    skos:definition "Name of the vector store operation that failed (e.g. 'add_documents', 'delete_collection')."@en .

vs:CollectionDeleted a owl:Class ;
    rdfs:label "CollectionDeleted"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a collection is successfully removed from the vector store."@en .

vs:CollectionEnsured a owl:Class ;
    rdfs:label "CollectionEnsured"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a vector store collection is ensured (created or already present)."@en .

vs:DocumentUpdated a owl:Class ;
    rdfs:label "DocumentUpdated"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a document in a collection is successfully updated."@en .

vs:DocumentsAdded a owl:Class ;
    rdfs:label "DocumentsAdded"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when documents are successfully added to a collection."@en .

vs:DocumentsDeleted a owl:Class ;
    rdfs:label "DocumentsDeleted"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when documents are successfully removed from a collection."@en .

vs:VectorStoreError a owl:Class ;
    rdfs:label "VectorStoreError"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a vector store mutation raises an exception."@en .

