https://github.com/bpdesilva/inferenceproblem
Inferencing solution for a knowledge base system using prolog.
https://github.com/bpdesilva/inferenceproblem
inference-engine prolog prolog-programming-language
Last synced: 13 days ago
JSON representation
Inferencing solution for a knowledge base system using prolog.
- Host: GitHub
- URL: https://github.com/bpdesilva/inferenceproblem
- Owner: bpdesilva
- License: mit
- Created: 2018-09-07T20:58:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-07T21:05:24.000Z (over 7 years ago)
- Last Synced: 2025-02-06T07:46:02.525Z (about 1 year ago)
- Topics: inference-engine, prolog, prolog-programming-language
- Language: Prolog
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inference Problem
Inferencing solution for a knowledge base system using prolog.
#### Task 2
Consider the decision-making situation defined by the following rules:
* If I go to college and attend lectures, then I will learn something.
* If I go to college and not attend lectures, then I will miss the lessons.
* If I attend lectures and study hard then I will pass the exams. learn something then I will be knowledgeable.
* If I miss the lesson then I can’t complete my assignments. pass the exams, then I will graduate.
* If I am an IT Professional and hardworking, then I will earn more money. earn more money, then I will go on a trip.
* If I graduate or go on a trip, then I will be happy.
###### Questions
* If I go to college and attend lectures.
* If I go to college and not attend lectures.
* If I attend lectures and Study hard.
* If I am an IT professional and hard working.
#### Task 3
All vehicles needs Fuel . Car is a type of vehicle . Boat is one type while Airplane is another type. Cars travel on Land and Airplanes fly on the air. Cars and Airplanes have wheels . Boats do not have wheels. Electric cars do not need fuel, They move on with electric charge on the battery. Leaf is a electric car with zero- emission. Hybrid cars moves with fuel and battery charge. Aqua is a hybrid car with low emission. Sail boat is a kind of boat and it moves by wind power. Jet is a kind of Airplane which is very fast .
###### Questions
* Can jets fly?
* Do jets have wheels?
* What is the zero-emission car?
* Can sail boats fly?
* Are sail boats need fuel?