A
A
Arseniy2014-02-17 18:28:35
Prolog
Arseniy, 2014-02-17 18:28:35

Is it reasonable to use Prolog when developing an expert system?

Hello. Briefly describe the essence of what I have to work on.
I am writing a program that monitors SQL queries to different databases and gives advice on optimizing queries and database structures. I am at the very beginning, therefore, I collect information and try to come up with an algorithm.
Question:
Suppose I divide the program into a parser that will classify queries by type, and the databases to which these queries belong.
Module 2 (as I understand it, maybe I'm wrong), this is an expert system that will analyze the information received and give advice on optimization.
Is it reasonable to use Prolog (or another logic programming language) for the second module, or is it easier to write such a problem in an imperative language? The parser itself will be written in C#, I just thought that if we can implement a knowledge base for optimization that can be replenished, it would be very nice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-02-17
@begemot_sun

Prolog or C# or Brainfuck - do you even know how to solve the problem?
The choice of language does not depend on the task, but on the algorithm for solving it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question