S.E.R.B. - SIMPLE ELECTRONIC REGULATION BOOK
Background
1. Ignorance of law
The dynamics of the problems that occur in the life of Indonesian society is a very complex multidimensional problems. Ranging from security issues, corruption, law, poverty and others. If traced from the root of existing problems, the cause is a lack of awareness of the law. This makes us think to make a media to remind the public of the importance of conscious law.
2. No media of law (book of laws) can be access easily
One cause of public ignorance about the law is not the availability of media that is so accessible and easy to use by the community as a source of law. Therefore we have the solution to create a Prolog-based software that contains the articles and laws that apply Indonesia.
Expert System
Expert system is a computer application that solves complicated problems that would otherwise require extensive human expertise. There are several major application areas of expert system such as agriculture, education, environment, law manufacturing, medicine power systems etc. In this case we will make an expert system about law.
Design of Project
FACTS:
~ Is basic of knowledge that we use to make this project
~ We use laws that apply in Indonesia formed in articles and its content
* Here is one fact from our project we use in this program:
RULES:
~ Is the logical rules used in Prolog-based program
~ Rule that we made is a correlation between lawlessness and applicable laws in Indonesia that has been written in facts
We use 2 types of rule, here
— Below are the rules that we use in this program
— Prolog read :- as ‘if’, langgar_pemilu is called ‘head’ and hukuman is called ‘body’.
The Flowchart
Expert System Test Case
First step:
~ Write “start” to begin the program
~ When you push “Enter” button you’ll be showed up by several list of laws that usually broken by people in Indonesia
Second step:
~ Write “test” to run the main process
~ You’ll be showed up with a command to choose which laws that you break
~ Program will read number that user write and go to the rule that has same number
Third step:
~ Wait until program show you the article that you break therewith its content
~ From this step user will know punishment(s) that will be received if someone doing bad things