logic programming is used in
1.Relational Database Management Systems:
- These are the systems which stores the data in the tabular form.
- Relational calculus is used to perform queries on such databases.
- Those query-languages are non procedural which means ,in that user doesn't need to explain the process of retrieving an output but only describes the characteristics of the output.
- "prolog structures'' are used to describe the information present in the tables and the "prolog rules" explains relationships between the tables.
- The resolution operation contains the retrieval process.
- The queries for the RDBMS can be provided by the prolog goal statements.
Advantages:-
- Single language is required for the implementation of RDBMS.
- All the Queries related to data definitions,data manipulations and input and output functions can be found by using a single logic programming language.
- Deductive capability is built in the logic programming languages,which is helpful for implementing RDBMS.
- deducing the data from the conventional RDBMS is not possible as it is only contains the facts but not inference rules.
Dis-Advantages:-
- use of logic programming for implementing the RDBMS is a slow process.
2.Expert Systems
expert systems are the computer systems which had been developed for imitating human expertise in some domain.
- They consists of database of facts an inferencing process along with some heuristic and human friendly interfaces.
- the problems of incompleteness and inconsistencies of the databases in expert systems can be solved by using logic programming.
- The knowledge needed for expert systems was provided by the polog.
- They can grow dramatically because these can learn from the process being used.
- prog can be used to build the expert systems because it uses the resolution for processing queries for adding facts and rules for enhancing the learning capabilities.
3.Natural Language Processing:-
- It uses the logic programming in providing interfaces to a computer software systems such as intelligent databases and knowledge based systems etc.,
- it helps in describing the language syntax
- set of sentences in natural languages can be expressed in clausal form by the logic-based semantics networks.
- some semantics in natural language can be efficiently modeled by employing the logic programming language.
- the proof procedures in logic programming are similar to certain parsing technique.
4.Education:-
logic programming such as micro prolog can be used in the field of education which provides the following advantages:-
- it introduces computing.
- it's is easy to teach logic programming to the starters rather than the experienced individuals.
- it helps in the students in clear thinking and expressions.
- it helps in solving the mathematical problems,equations,understanding the grammar of natural language and the rules of the physical world.
Tq for the information
ReplyDeleteMake a notes on differences between procedural and non procedural languages.
ReplyDelete