Abstract With the proposal of Semantic Web technologies, research on applying ontology features to various fields is actively progressing. To accurately express human concepts, developments such as N-ary relations and model-theoretic semantics are being pursued to extend the expressiveness of ontology languages like OWL and RDF. This study investigates knowledge representation methods in ontologies using N-ary relations and design patterns to associate word meanings that vary according to sentence structure, specifically for the Korean language. We focus on polysemous and synonymous words across multiple domains, extending meaning to similar terms to improve sentence-level semantic determination. To validate this, an experimental medical diagnosis system was implemented. The results demonstrate superior performance in resolving ambiguity and complexity in Korean symptom descriptions.
Introduction
Determining the precise meaning of sentences in Natural Language Processing (NLP) remains a challenge due to polysemy (words with multiple meanings) and synonymy (different words with the same meaning). Standard Semantic Web technologies typically rely on binary relations—simple triples of Subject-Predicate-Object. However, these are often insufficient for capturing the multi-faceted nature of human language, especially in complex domains like medicine.
Methodology: N-ary Relation Design
To overcome the limitations of binary triples, this research employs an N-ary relation design pattern. Instead of a direct link between two entities, a "Mediator" class is introduced to act as a hub.
This mediator allows the ontology to store complex relationships, such as a patient's symptom associated with a specific body part, a severity level, and a temporal marker, all within a single logical structure.
Semantic Similarity and Weights
The system incorporates a vector model to calculate semantic similarity weights. For instance, the relationship hasSimilarity is assigned a numerical value (e.g., 0.7) to represent the strength of the connection between terms. This allows the inference engine to treat "stomach" (bae) and "inside" (sok) as semantically related in a medical context.
Disambiguation and Inference
The core strength of the proposed model lies in its ability to resolve ambiguity through context and weighted relations. A prominent example is the Korean word "배" (bae), which can mean "stomach," "pear," or "boat."
By analyzing associated verbs (e.g., "hurts" vs. "eat") and utilizing the similarity weights shown in the ontology, the system can accurately determine the intended meaning. Combined with Semantic Web Rule Language (SWRL) for cascade inference, the system can navigate these weighted paths to reach a diagnostic conclusion.
Experimental Results
The prototype system was tested on complex Korean symptom descriptions. Key findings include:
- Synonym Handling: The system correctly identified that "My inside feels stuffy" refers to a stomach-related symptom, leading to an accurate "Digestive Disorder" diagnosis.
- Hierarchical Reasoning: Using a hierarchical body ontology, the system recognized that eye pain mentioned alongside a headache could indicate specific conditions like "Mi-reung-gol-tong."
- Performance: Quantitative analysis of SPARQL queries confirmed that the system successfully calculated inference paths using the defined weights, proving the viability of the N-ary/Inference hybrid approach.
Conclusion
This research demonstrates that N-ary relation patterns significantly enhance the expressiveness of ontologies for Korean NLP. By moving beyond binary relations and incorporating weighted semantic similarities, the system achieves high accuracy in disambiguating complex natural language inputs. Future work will focus on automating the generation of similarity weights and expanding the ontology to broader knowledge domains.
Summary updated