Method of Developing an Ontological System with Automatic Formation of a Knowledge Base and User Queries
Year: 2024
Type: conference-paper
Abstract: The article briefly discusses the models and tools for creating an ontological system that includes such components as automatic construction of an ontological knowledge base, analysis of short natural language messages in Ukrainian, and formation of queries in SPARQL and Cypher based on them. The server used is Apache Jena Fuseki, and the data warehouse is the Neo4J graph database. The approach is based on the fact that a user's natural language query is subjected to a series of sequential checks. Their results determine a set of semantic types expressed in the phrase (natural language query) and the corresponding concepts that define them. The result of these checks is a set of four values – the codes of the check results, as well as the subjects and predicates, if present. This information is enough to select a set of basic templates for formal queries. Even based on the results of such basic checks, it is possible to create enough basic templates to generate the final query. The proposed approach has a basic query template aimed at obtaining information of a certain type in a given form, as well as additional modifier templates that optionally construct query strings in the corresponding blocks of the main query by introducing additional conditions. Finally, we describe the process of automatic generation of SPARQL queries to a contextual ontology using the example of a knowledge base of medical articles from peer-reviewed open access journals.
Language: English
Topic: Semantic Web and Ontologies
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
Award: G2964115678
OpenAlex ID: W7166313152
