This paper presents an ontological model for handwritten character recognition using spatial relations to describe graphemes from the Latin script. By establishing a domain ontology and segmenting documents into graphemes, the approach aims to bridge the semantic gap in character recognition processes. The study emphasizes the importance of spatial relationships and their implementation in Java, offering a structured framework for improving the accuracy of character recognition technologies.