Full text
ENHANCING SPARQL QUERY REWRITING FOR COMPLEX ONTOLOGY ALIGNMENTS Anicet Lepetit Ondo1, Laurence Capus1 and Mamadou Bousso2 1 Dep. of Computer and Software Engineering, Laval University, Quebec, G1V 0A6, Quebec, Canada 2 Dep. Computer Science, Iba Der Thiam University, Thies, 967, Senegal ABSTRACT SPARQL query rewriting is a fundamental mechanism for uniformly querying heterogeneous ontologies in the Linked Data Web. However, the complexity of ontology alignments, particularly rich correspondences (c : c), makes this process challenging. Existing approaches primarily focus on simple (s : s) and partially complex (s : c) alignments, thereby overlooking the challenges posed by more expressive alignments. Moreover, the intricate syntax of SPARQL presents a barrier for non-expert users seeking to fully exploit the knowledge encapsulated in ontologies. This article proposes an innovative approach for the automatic rewriting of SPARQL queries from a source ontology to a target ontology, based on a user's need expressed in natural language. It leverages the principles of equivalence transitivity as well as the advanced capabilities of large language models such as GPT-4. By integrating these elements, this approach stands out for its ability to efficiently handle complex alignments, particularly (c : c) correspondences, by fully exploiting their expressiveness. Additionally, it facilitates access to aligned ontologies for users unfamiliar with SPARQL, providing a flexible solution for querying heterogeneous data. KEYWORDS Ontology, complex alignments, SPARQL queries, Query Rewriting, LLMs 1. INTRODUCTION In the Linked Data Web, aligned ontologies play a crucial role in facilitating interoperability between different data sources. Thanks to these alignments, it becomes possible to reformulate queries and exploit heterogeneous knowledge coherently in an information retrieval context. However, querying them, a critical step to fully leverage the knowledge encapsulated within them, remains a significant challenge. The SPARQL language, the standard for querying RDF/OWL ontologies, imposes constraints related to its strict syntax and its dependence on the internal structure of the ontology. These characteristics limit the accessibility of this technology to non-expert users, particularly those who do not master the complex concepts of ontologies or the subtleties of the SPARQL language. This access barrier constitutes the first motivation for considering solutions that facilitate ontology use for users with varying profiles. Meanwhile, within the same domain, the development of multiple ontologies is a common practice, but it leads to varying levels of heterogeneity due to differences in language, format, level of detail, and coverage. This high level of heterogeneity complicates interoperability between these ontologies. These disparities are mitigated through ontology alignment. Once these data sources are aligned, querying them homogenously while only knowing the International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 1 DOI: 10.5121/ijwest.2025.16201
vocabulary of a specific source becomes very complex. Thus, a second motivation is to offer tools capable of automatically rewriting SPARQL queries in aligned ontology contexts. Homogeneous querying of aligned ontologies is a multifaceted problem. For a given ontology, a SPARQL query formulated in a source context must be adapted to target an aligned ontology, potentially very different in its vocabulary and structure. This process is relatively simple when it comes to simple alignments (s : s). However, it becomes increasingly complex when dealing with rich alignments involving complex expressions (c : c), where multiple relations and additional constraints must be considered [1][2]. Current research mainly focuses on simple (s : s) or partially complex (s : c) alignments, largely neglecting more expressive alignments[1] [2][3]. This gap limits the exploitation of ontology alignments in contexts where the expressiveness of queries is essential to meet complex querying needs in heterogeneous environments. In light of these barriers, our research focuses on two key issues: βͺ How can we enable efficient and accessible querying of ontologies in environments where users may not necessarily master SPARQL or the structure of ontologies? βͺ How can we ensure automatic, correct, and robust SPARQL query rewriting between aligned ontologies, especially when alignments are complex (c : c) ? Our research aims to propose solutions to facilitate querying ontologies by non-expert users and to ensure automatic and robust SPARQL query rewriting in aligned ontology contexts, with a particular focus on complex (c : c) correspondences, which provide enhanced expressiveness, thereby optimizing the use of aligned data sources. The major contribution of this paper lies in the development of an innovative approach to automatic SPARQL query rewriting, handling complex (c : c) alignments and leveraging equivalence transitivity to infer new implicit correspondences by linking indirectly equivalent entities, thus improving integration and consistency of inter-ontology knowledge. To address the research problem and achieve the defined objectives, this article is structured as follows: The first section presents a state of the art on the reuse of ontology alignments, examining existing approaches and their limitations. The second section introduces the proposed approach, which integrates natural language querying of aligned ontologies, focusing on complex correspondences (c : c) and their automatic rewriting. The final section is dedicated to experimentation, where test scenarios, evaluation methods, and results are presented, followed by a discussion on the effectiveness and limitations of the proposed approach. 2. RELATED WORK Linked Data on the Web relies on the use of ontologies to ensure the sharing, reuse, and interoperability of data, thus enabling a computational understanding of knowledge. In a given domain, it is common to develop multiple ontologies, leading to various levels of heterogeneity due to differences in language, format, detail, and coverage among these ontologies. Furthermore, ontology elements may present ambiguities or inconsistencies in their meanings, interpretations, or representations. To overcome these challenges, specific tools and techniques allow for the reconciliation of these ontologies, a process known as ontology alignment. The goal of alignment is to reduce the heterogeneity issues between aligned ontologies. An alignment between two ontologies, π and πβ², is defined by a set of correspondences β¨e, eβ², r, nβ© [4]. Each correspondence represents a relation r, which can either be equivalence (β‘) or a subsumption relation (β, β) between members e and eβ², and n indicates the confidence threshold [0...1] of this correspondence. A International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 2
member can be a simple entity of the ontology (class, data or object property, or individual) from O or O', or a more complex construction composed of entities and connectors. When both members are represented in an elementary and direct manner, these are referred to as simple correspondences of type (s : s). This type of correspondence is frequently encountered in a significant portion of existing research, mainly due to its simplicity and ease of implementation. Although simple correspondences (such as (s : s) relations) are commonly used, they have significant limitations, particularly in their ability to capture the semantic richness of complex relationships within ontologies. A (s : s) correspondence only establishes a direct relationship between two similar or equivalent entities without considering the nuances or broader contexts in which these entities may be interpreted. An example of these simple correspondences, based on equivalence, extracted from the conference dataset related to the alignment between the ekaw.owl and edas.owl ontologies, is illustrated in Figure 1. Figure 1. An Example of a Simple Alignment (s : s) In cases where one member of the correspondence is simple while the other constitutes a complex construction, the correspondence is referred to as a complex correspondence of type (s : c) or (c : s), depending on whether the simple or complex member is on the source or target side of the correspondence. These correspondences enable the linking of a simple entity, such as an isolated concept, to a more elaborate entity that may include additional relationships or restrictions. Alternatively, when both members of the correspondence are complex constructions i.e., entities containing multiple nested relationships or attributes the correspondence is classified as a complex correspondence of type (c : c). This type of correspondence addresses cases where multi-level relationships or hierarchical entities need to be aligned, often due to the underlying complexity of the ontology. Figures 2 and 3 respectively illustrate these two types of correspondences based on equivalence, extracted from the same conference dataset related to the alignment between the ekaw.owl and edas.owl ontologies. Figure 2. An Example of Complex Alignment (c : s) or (s : c) Figure 3. An Example of Complex Alignment (c : c) To reduce disparities between data sources, several methods have been explored, including terminology methods, which address heterogeneities linked to the choice of representation format, as well as those resulting from synonymy, polysemy, words from different languages (French, English, Italian, etc.), and syntactic variations (different pronunciations, abbreviations, International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 3
prefixes and suffixes, etc.) [5][6]. The internal and external structural methods of ontologies, encompassing entities, their relationships and the properties they share, are based on the parentchild concepts defined in their respective ontologies [5][6]. Extensional methods, on the other hand, base their reasoning on the instances (extensions of entities) of ontologies [7][8][9]. Some of these methods can be combined to take advantage of the benefits of each and improve alignment accuracy. Despite significant advancements in the study of complex ontology alignments, their practical application, particularly regarding the automated rewriting of SPARQL queries in interoperable data environments, remains a largely unexplored research problem, requiring thorough investigation. Furthermore, recent contributions addressing this issue remain rare. To address the various challenges outlined above, many research efforts aim to propose solutions to mitigate this problem. In the literature, the majority of contributions focus primarily on rewriting SPARQL queries based on simple correspondences of type (s : s), where each source entity is directly associated with an equivalent target entity. Typically, this involves substituting the IRI of an entity in the original query with the corresponding IRI in the alignment [10]. However, some studies address query rewriting by incorporating complex correspondences [11][1], but they often limit themselves to correspondences of type (s : c). These studies propose transformation rules to reformulate SELECT-type SPARQL queries, adapting a query originally designed for one knowledge base to another while using its vocabulary. However, these approaches remain confined to complex alignments of type (s : c) and do not integrate key features, such as the management of relation transitivity, which limits their application in more complex scenarios. In the same vein of complex alignment rewriting, a study [2] explores the rewriting of SPARQL queries through two distinct systems. The first focuses on rewriting triplets using simple correspondences, without the ability to combine them. In contrast, the second system, based on instances, handles complex alignments, enabling more efficient query rewriting while incorporating logical correspondences. However, these systems remain limited to correspondences of type (s : c) or (c : s), leaving the management of more complex (c : c) correspondences as an open issue. By integrating complex correspondences based on description logic, other research [12][13] presented SPARQL-RW, a system capable of rewriting queries by incorporating complex correspondences based on description logic. This system handles classes, object properties, data properties, and individuals, substituting RDF models while preserving the initial variables. However, it does not support correspondences between two complex members from the source and target ontologies. Meanwhile, Gillet et al. [14] propose a query pattern rewriting method adapted to query families. This method includes both simple and complex alignments but remains limited in its application to (s : c) correspondences. Additionally, Pankowskiβs work [3] offers innovative and user-friendly methods for formulating queries in ontology-based systems, facilitating the exploration of aligned data for users less familiar with complex structures. However, this approach has limitations, notably the lack of support for query rewriting in the context of more expressive (c : c) alignments and the management of relation transitivity, a crucial aspect for more complex ontological structures. The examined works highlight the significant challenges related to SPARQL query rewriting in the context of aligned ontologies. While approaches have been developed to handle simple correspondences (s : s) and some complex correspondences (s : c), gaps remain, particularly in managing more complex correspondences (c : c) and integrating transitivity mechanisms for relations, which enhance inference and information retrieval by deducing implicit relationships from those explicitly defined, thereby enriching query responses. International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 4
These limitations highlight the pressing need for a more integrated and robust approach to query rewriting, one that can effectively navigate the richness and diversity of ontologies. Additionally, automating this process within interoperable data environments remains an underexplored research area. Therefore, fostering future research dedicated to developing innovative methods for managing complex correspondences and transitivity is crucial to improve the querying of heterogeneous data and optimize knowledge integration across the linked data web. 3. SPARQL QUERY REWRITING METHODOLOGY This section presents our comprehensive methodology for generating and rewriting queries. We begin by outlining a robust framework for query formulation, which includes guidelines for creating effective queries and understanding correspondences between ontological elements. We pursue description of our method then focuses on rewriting queries from a source ontology to their equivalent in a target ontology, ensuring semantic consistency across different structures. 3.1. General Structure of Correspondences Identified by the Approach The following structure for query formulation takes into account the specificities necessary to create a robust and reproducible method for generating queries that meet the requirements of our research. 12 ( ( , ,..., )) V condition n T T T ο°ο³ (1) βͺ ππ: It represents the projection on the set of variables V, corresponding to the elements of the SPARQL query to be extracted, with V= {π1, π2, β¦ , ππ} where π denotesthe total number of distinct variables generated [15]. βͺ πππππππ‘πππ : Represents the selection of triples that satisfy the conditions specified in the WHERE clause, if any conditions are present [15]. βͺ π1, π2, β¦ , ππ: a set of n triples, where each triple is of the form β¨sα΅’, pα΅’, oα΅’β© for pour i β {1, 2, β¦, n}, representing the subject, predicate, and object in the ontology, respectively [15]. The representation used in formula (1) corresponds to the structure of the following SPARQL query: SELECT ?V 1 1 1 {( , , )...( , , )} n n n WHERE s p o s p o (2) This SPARQL query rewriting approach ensures a homogeneous interrogation of heterogeneous ontologies in the Linked Data Web by leveraging natural language. Its objective is to generate the sets V and T, representing respectively a set of variables and a set of triples present in the SPARQL query of the ontology O (source), and then transform them into the sets Vβ² and Tβ² corresponding to the ontology πβ² (target) . Thus, the transformation consists of: 12 ( ): ( ( , ,..., )) V condition n O T T T ο°ο³ ' ' ' ' ' 12 ( ): ( ( , ,..., )) condition n V O T T T ο°ο³ (3) International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 5
We explore three types of correspondences in our approach: simple correspondences (s : s), complex correspondences (s : c), and (c : c). However, we pay particular attention to (c : c) correspondences, which are based on equivalence relations between complex entities identified in the source and target ontologies. The general structure of correspondences to be translated into SPARQL queries for the source and target ontologies is listed in Table 1. In this table, we have documented various correspondences that may exist between entities during an ontology alignment process. These correspondences have been categorized into different patterns, allowing us to generate appropriate SPARQL queries based on the identified patterns. In this respect, we have defined several types of Patterns, including : Class Correspondence Patterns, where a concept or class in one ontology corresponds exactly to a single concept or class in another ontology; Class By Attribute Type (CAT) [16] [17], which involves type restrictions on the objects of a relation (property on objects); Class By Attribute Value (CAV) [16] [17], which refers to value restrictions on the objects of an attribute (relation or property); and class matching patterns based on union and intersection operations. Table 1. General Structure of Identified Correspondences Types of correspondences Global structure of identified correspondences Pattern types Simple Correspondences (s : s) ' 11 ( ( ) ( ))x Cl x Cl xο’οΊ (4) Class correspondance pattern Complex Correspondences (s : c) or (c : s) ' 1 2 1 ( ( ) ( ( , ) ( )) ( ))x Cl x y OP x y Cl y Cl xο’ οο€ ο οΊ (5) ' 1 2 1 ( ( ) ( ( , ) ( )) ( ))x Cl x y OP x y Cl y Cl xο’ οο’ β οΊ (6) CAT correspondence pattern '' 11 ( ( ) ( ( ) ( , )))x Cl x Cl x DP x valueο’ οΊ ο (7) CAV correspondence Pattern ' ' ' 1 1 2 ( ( ) ( ( ) ( ) ... ( ))) k x Cl x Cl x Cl x Cl xο’ οΊ ο ο ο (8) ' ' ' 1 1 2 ( ( ) ( ( ) ( ) ... ( ))) k x Cl x Cl x Cl x Cl xο’ οΊ ο ο ο (9) k represents the total number of classes in the target ontology ' O that are equivalent to class 1 Cl from the source ontology O through a logical disjunction or conjunction CU or CI correspondence pattern Complex Correspondences (c : c) ' FFοΊ (10) The formulas F and ' F can correspond to complex members of an ontology, defined as constructs of entities and connectors, identified in this table under the category of (c : s) or (s : c) type correspondences. No specific type, the SPARQL query is constructed based on the identified complex correspondences International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 6
Let : βͺ Cl,ππ, π·π β πΈ πππ πΆπβ², ππβ², π·πβ² β πΈβ², where πΈ πππ πΈβ² represent an entity (classes and properties) of the source ontology π and the target ontology πβ², respectively. βͺ be the classes of a source ontology, and be the classes of a target ontology, where n and m represent the total number of classes in the source ontology and the target ontology, respectively. βͺ The object properties of a source ontology are denoted as ,and the object properties of the target ontology are denoted as , where n and m represent the total number of object properties in the source ontology and the target ontology, respectively. βͺ represents the data properties of our source ontology, and , represents those of the target ontology, where n and m correspond respectively to the total number of data properties in the source ontology and the target ontology. The following abbreviations are also to be considered: βͺ CAV: Class by Attribute Value βͺ CAT: Class by Attribute Type βͺ CU: Class Union βͺ CI: Class Intersection 3.2. Method Adopted By leveraging the aligned ontology, our approach consists of rewriting a query formulated in the source ontology into its equivalent in the target ontology. The process includes several essential steps, made possible through Owlready2, a Python library that allows the manipulation of ontologies in OWL format. This library is essential for ontology management, analysis, and alignment, as well as for integrating prompts with the LLM GPT-4, which, based on a textual input, guides the model generation according to the provided instructions. Our approach begins with the introduction of a question provided by a user, which is then subjected to a normalization phase to standardize terms and facilitate their processing in the context of extracting relevant concepts. Next, a Python function is developed to synchronize, beforehand, the Pellet reasoner with the aligned ontology. This reasoner is crucial in our approach because it infers implicit axioms by examining explicit axioms and applying logical rules to deduce additional knowledge, even if it is not explicitly mentioned in the aligned data. Subsequently, this function analyzes the source ontologyβs entities and verifies their equivalences with those in the target ontology. When an entity corresponds to a complex formula (conjunctions, disjunctions, existential or universal restrictions), the function extracts its components, processes them, and assembles them to create a readable representation. The identified correspondences are added to a key-value dictionary, where the key represents the subgraph from the source ontology, and the value represents its equivalent in the target ontology. The function also identifies simple equivalences, where one entity is directly equivalent to another, and incorporates them into the same dictionary. This initial extraction thus detects direct correspondences (s : s) and (s : c) or (c : s) present in the ontology, as well as those inferred by the reasoner. International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 7
The simple and complex correspondences (s : c) or (c : s) identified in the previous phase undergo further evaluation to infer new correspondences that were not previously detected. This includes equivalences based on more complex constructions, composed of entities and connectors in both the source and target ontologies, leading to (c : c) correspondences. This process enriches the knowledge base and improves ontology alignment accuracy, particularly through the application of equivalence transitivity rules. The newly generated complex correspondences are then added to the dictionary to enhance the alignment. Once all correspondences are identified and stored in the dictionary, the approach uses the normalized phrase to search for the corresponding key. The GPT-4 prompt provides the context or framework in which the model should generate a response. This prompt associates phrase expressions with dictionary keys, establishing precise links with relevant triples. This method accounts for synonyms, complex structures, and syntactic and semantic relationships, ensuring an accurate extraction of dictionary key correspondences adapted to the context of the phrase. Finally, SPARQL queries for the target ontology are generated based on rules derived from identified patterns, using the equivalent value of the key in the dictionary. Since a key in a programming dictionary must be unique, in our approach, when a source ontology entity identified as a dictionary key is associated with multiple equivalent values (which may be atomic entities or a formula) in the target ontology, a nested data structure, specifically a list, is used to associate these values with the key. Thus, SPARQL query rewriting is applied to each list composed of the elements of the dictionary key, representing the relevant subgraph of the source ontology, as well as to each list of dictionary values corresponding to the equivalent subgraph in the target ontology. 4. EXPERIMENTS AND RESULTS This section represents a key stage in our approach. It marks the transition from theoretical design to experimental validation, where the proposed method for integrating natural language into the querying of complex aligned ontologies is put to the test. In this context, the experiments aim to assess the relevance, efficiency, and robustness of our solution in addressing the challenges posed by complex alignments and the needs of non-expert users. We first present the experimental protocol, which provides a detailed description of the dataset used. Then, an in-depth analysis of the obtained results allows us to identify the strengths and limitations of the proposed solution. 4.1. Manually Enrich the Dataset The dataset is a crucial element for testing our approach. However, the available datasets did not allow us to validate all the models of complex correspondences that our method must evaluate. Indeed, they only support certain types of correspondences, particularly those of the form (s : s), which link two simple (or atomic) entities between a source ontology and a target ontology, as well as (s : c) correspondences. To obtain a dataset capable of inferring more complex correspondences of the type (c : c), which link two propositions (or formulas), we manually enriched the complex alignment between the two ontologies (ekaw.owl and edas.owl) present in the Conference dataset, focusing particularly on the TBOX part. We used an existing alignment in this dataset, which we then enriched to infer equivalence transitivity rules, thereby linking two formulas from a source ontology and a target ontology according to the following two reasoning patterns: International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 8
Reasoning 1 : (11) Reasoning 2 : (12) With : βͺ R, an equivalence relation βͺ 1 F , a complex construction (composition of several entities) from the source ontology π βͺ ' 1 F , a complex construction (composition of several entities) from the target ontology πβ² To achieve this, we relied on our experience with concepts related to scientific conferences as well as specialized forums to identify more complex relationships. Our procedure consisted of starting with two equivalent entities between a source ontology and a target ontology, then searching for an equivalent proposition for each of these entities. This proposition is then translated into a formula and added to the existing dataset (i.e., the alignment between the ekaw and edas ontologies). To further refine the meaning of the formulas to be implemented, we also added new classes and properties, thus expanding the range of possible complex correspondences. Figures 4 and 5 present examples of equivalent formulas that we can associate with each atomic entity and also illustrate a small reasoning mechanism that could be used to apply equivalence transitivity. Figure 4. Example of Inference Based on Reasoning 1 Figure 5. Example of Inference Based on Reasoning 2 Figures 6 and 7 below illustrate the structure of the dataset used to validate our approach. This dataset establishes correspondences between two ontologies from the conference domain, which have been previously enriched. Figure 6 presents examples of simple correspondences, while Figure 7 illustrates complex correspondences of the (s : c) type, as well as the process for identifying more expressive correspondences of the (c : c) type. In particular, Figure 7 shows how certain relationships extend the scope of correspondences towards more complex forms. For example: π΄πππππ‘ππ_πππππ β‘ π΄πππππ‘πππππππ, π΄πππππ‘ππ_πππππ β‘ πΆππππππππππππππ πππ (βππ π·ππππ πππ π πππ π΄πππππ‘ππππ), International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 9
βͺ A flexible and robust solution tailored to heterogeneous environments, addressing the growing need for data integration and interoperability on the Linked Data Web. The approach successfully identifies all types of correspondences present in different aligned ontologies, as illustrated in Figures 8, 9, and 10, while also adapting more effectively to syntactic and semantic variations of the same user-expressed need. Despite these advancements, it is important to note that, for now, its functionality primarily relies on correspondences based on equivalence relations. Our future research aims to extend this approach beyond equivalence relations between entities by incorporating mechanisms to also address needs related to subsumption relations. Furthermore, we plan to test the system on large and complex datasets to evaluate its robustness. Finally, we intend to develop a user-friendly interface, such as a chatbot, to experiment with this approach in a real-world environment. REFERENCES [1] ThiΓ©blin, Γ., Amarger, F., HaemmerlΓ©, O., Hernandez, N., & Trojahn, C. (2016). Rewriting SELECT SPARQL queries from 1: n complex correspondences. CEUR-WS: Workshop proceedings. [2] ThiΓ©blin, E., HaemmerlΓ©, O., & Trojahn, C. (2021). Automatic evaluation of complex alignments: An instance-based approach. Semantic Web, 12(5), 767-787. [3] Pankowski, T. (2022). Ontological databases with faceted queries. The VLDB Journal, 32(1),103-121. [4] Menad Safaa, Wissame Laddada, SaΓ―d Abdeddaim, Lina F. Soualmia. Nouveaux rΓ©seaux neuronaux profonds pour lβalignement dβontologies. 34es JournΓ©es francophones dβIngΓ©nierie des Connaissances (IC 2023) @ Plate-Forme Intelligence Artificielle (PFIA 2023), Jul 2023, Strasbourg, France. ffhal04155350f. [5] Gherbi, S., & Khadir, M. T. (2020). ONTMAT1: ontology matching using a reasoner and property restriction. International Journal of Web Engineering and Technology, 15(2), 119-139. [6] Xue, X., Wu, X., Jiang, C., Mao, G., & Zhu, H. (2021). Integrating sensor ontologies with global and local alignment extractions. Wireless Communications and Mobile Computing, 2021(1), 6625184. [7] Singh, A., & Ghosh, I. (2024). Ontology in Text Mining and Matching. In Text Mining Approaches for Biomedical Data (pp. 127-147). Singapore: Springer Nature Singapore. [8] Shao, C., Hu, L. M., Li, J. Z., Wang, Z. C., Chung, T., & Xia, J. B. (2016). Rimom-im: A novel iterative framework for instance matching. Journal of computer science and technology, 31,185197. [9] Khiat, A., & Benaissa, M. (2015). A new instance-based approach for ontology alignment. International Journal on Semantic Web and Information Systems (IJSWIS), 11(3), 25-43. [10] David, J., Euzenat, J., Scharffe, F., & Trojahn dos Santos, C. (2011). The alignment API 4.0. Semantic web, 2(1), 3-10. [11] ThiΓ©blin, E., Amarger, F., Hernandez, N., Roussey, C., & Trojahn Dos Santos, C. (2017). Crossquerying lod datasets using complex alignments: an application to agronomic taxa. In Metadata and Semantic Research: 11th International Conference, MTSR 2017, Tallinn, Estonia, November 28β December 1, 2017, Proceedings 11 (pp. 25-37). Springer International Publishing. [12] MAKRIS, GIODALSIS B. C. (2010). Ontology mapping and sparql rewriting for querying federated rdf data sources. [13] MAKRIS K., BIKAKIS N., GIOLDASIS N. & CHRISTODOULAKIS S. (2012). SPARQLRW: transparent query access over mapped RDF data sources. In 15th International Conference on Extending Database Technology, p. 610β613: ACM. [14] GILLET P., TROJAHN C., HAEMMERLΓ O. & PRADEL C. (2013). Complex correspondences for query patterns rewriting. In Proceedings of the 8th International Workshop on Ontology Matching. International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 16
[15] Ondo, A.; Capus, L. and Bousso, M. (2024). Optimization of Methods for Querying Formal Ontologies in Natural Language Using a Neural Network. In Proceedings of the 16th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - KEOD; ISBN 978-989-758-716-0; ISSN 2184-3228, SciTePress, pages 119-126. DOI: 10.5220/0012892600003838. [16] Xue, X. (2023). Complex ontology alignment for autonomous systems via the Compact CoEvolutionary Brain Storm Optimization algorithm. ISA transactions, 132, 190-198. [17] Scharffe, F., Fensel, D. (2008). Correspondence Patterns for Ontology Alignment. In: Gangemi, A., Euzenat, J. (eds) Knowledge Engineering: Practice and Patterns. EKAW 2008. Lecture Notes in Computer Science, vol 5268. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540876960_10 [18] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ε., & Polosukhin, I. (2017). Attention is All You Need. In Advances in Neural Information Processing Systems (Vol. 30) AUTHORS Dr. Laurence Capus is a professor of computer science at Laval university, specializing in the application of artificial intelligence to educational systems. Her work focuses on knowledge engineering, a critical aspect of artificial intelligence that involves capturing and representing expert knowledge in computer systems. She has contributed in developing intelligent tutoring systems and adaptive learning platforms that personalize education for individual students. Dr. Mamadou Bousso, an Associate Professor at the University of ThiΓ¨s and an Adjunct Professor at Laval University, is a researcher and lecturer in computer science specializing in complex systems modeling. His career has led him to work on interdisciplinary issues involving economists, agronomists, computer scientists, as well as healthcare professionals and administrators, both in France and Africa. This immersion in multidisciplinary teams has allowed him to strengthen his expertise in complex systems modeling and develop a strong motivation to carry out academic and research projects, particularly in the field of the semantic web. Currently, he leads the master's program in Data Science and Artificial Intelligence and supervises several research projects in artificial intelligence applied to healthcare. Anicet Lepetit ONDO is a computer science researcher and Ph.D. candidate at Laval University, specializing in formal ontologies. His research focuses on improving ontology integration methods, particularly SPARQL query rewriting in heterogeneous and aligned environments. He has a background in computer science education and is the author of several articles on querying formal ontologies. International Journal of Web & Semantic Technology (IJWesT) Vol.16, No.2, April 2025 17