Complete documentation of the encomiendas.ttl OWL ontology structure
The encomiendas.ttl ontology defines the semantic structure for the package shipping system. It specifies classes, properties, and relationships using OWL (Web Ontology Language).
<http://www.encomiendas.com/ontologia#> a owl:Ontology ; rdfs:label "Ontología de Envíos y Encomiendas"@es ; rdfs:comment "Ontología OWL para el sistema de gestión de envíos y encomiendas entre sucursales."@es .
The ontology defines four main classes representing core domain entities:
enc:Cliente a owl:Class ; rdfs:label "Cliente"@es ; rdfs:comment "Persona natural que actúa como remitente de un envío."@es .enc:Envio a owl:Class ; rdfs:label "Envío"@es ; rdfs:comment "Traslado de una encomienda desde una sucursal de origen a una de destino."@es .enc:Encomienda a owl:Class ; rdfs:label "Encomienda"@es ; rdfs:comment "Paquete o bulto físico que forma parte de un envío."@es .enc:Sucursal a owl:Class ; rdfs:label "Sucursal"@es ; rdfs:comment "Punto físico de la empresa donde se reciben y entregan encomiendas."@es .
enc:codigoSeguimiento a owl:DatatypeProperty, owl:FunctionalProperty ; rdfs:label "código de seguimiento"@es ; rdfs:comment "Código único de rastreo del envío. Formato: ENV-{timestamp}."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:tieneEstado a owl:DatatypeProperty, owl:FunctionalProperty ; rdfs:label "tiene estado"@es ; rdfs:comment "Estado actual del envío: PENDIENTE, EN_TRANSITO, DISPONIBLE, ENTREGADO, CANCELADO."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:fechaEnvio a owl:DatatypeProperty ; rdfs:label "fecha de envío"@es ; rdfs:comment "Fecha y hora en que se registró el envío."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:fechaEntrega a owl:DatatypeProperty ; rdfs:label "fecha de entrega"@es ; rdfs:comment "Fecha y hora en que se entregó el paquete al destinatario."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .
owl:FunctionalProperty means each resource can have at most ONE value for this property. A shipment has exactly one tracking code and one state at any time.
enc:placaVehiculo a owl:DatatypeProperty ; rdfs:label "placa de vehículo"@es ; rdfs:comment "Placa del vehículo asignado para transportar el envío."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:transportadoPor a owl:DatatypeProperty ; rdfs:label "transportado por"@es ; rdfs:comment "Nombre del conductor o empresa encargada del transporte."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .
enc:nombreDestinatario a owl:DatatypeProperty ; rdfs:label "nombre del destinatario"@es ; rdfs:comment "Nombre completo de la persona que recibirá el paquete."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:dniDestinatario a owl:DatatypeProperty ; rdfs:label "DNI del destinatario"@es ; rdfs:comment "Documento de identidad de quien retira el paquete."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .
enc:origenEn a owl:DatatypeProperty ; rdfs:label "ciudad de origen"@es ; rdfs:comment "Ciudad desde donde se despacha el envío."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:destinoEn a owl:DatatypeProperty ; rdfs:label "ciudad de destino"@es ; rdfs:comment "Ciudad hacia donde se dirige el envío."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:sucursalOrigen a owl:DatatypeProperty ; rdfs:label "sucursal de origen"@es ; rdfs:comment "Nombre de la sucursal desde donde se despacha el envío."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .enc:entregarEnSucursal a owl:DatatypeProperty ; rdfs:label "sucursal de destino"@es ; rdfs:comment "Nombre de la sucursal donde el destinatario retirará el paquete."@es ; rdfs:domain enc:Envio ; rdfs:range xsd:string .