Skip to content

bentocussei/prolog-java-jpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prolog CLI Software with Java and jpl

The main goal of this project is to practice prolog and java jpl library.

And first of all, excuse my english.

This small system creates a prolog knowloge base with the prepositions give by the user. The system was designed to receive prepositions in spanish. I use Java to receive and pre-processing the prepositions. And than. with java i create a prolog file and pass the preposition using the prolog syntax in form of horn clauses.

  • The user can enter preposition in this form:

    • Si A entonces B => If A then B
    • Si A y B entonces C => If A and B then C
    • Si A o B entonces C and D => If A and B then C and D
    • Where A, B, C and can be any word. That's it's not necessary write the prepositions with with one char.
  • The user can enter the number of preposition she/he want.

  • After enter all preposition, the system request a fact/predicate based in the preposition entered by the user.

  • After that, the system request the question that the user want to do in the knowledge base.

  • And then, using the jpl library, the system consult the KB and show the response.

The system is very intiutive and can be easely used.

About

Prolog CLI Software with Java and jpl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages