Bridging Natural Language and Logic Programming: An English to PROLOG Translator
George Pashev 1*, Silvia Gaftandzhieva 2, Stanka Hadzhikoleva3
1, 2, 3 University of Plovdiv “Paisii Hilendarski” (Computer Informatics Department, Plovdiv, Bulgaria)
*corresponding author: georgepashev@uni-plovdiv.bg
This paper presents a comprehensive approach to translating natural language queries into PROLOG queries, enabling effective interaction with knowledge bases implemented in PROLOG. The system is composed of multiple Python scripts that manage various stages of the translation and querying process: input processing, query translation, PROLOG interaction, and answer translation.
Keywords: natural language processing, PROLOG, query translation, logic programming, knowledge base interaction
fulltext