## Logic Programming 01: Basic Prolog

- [Rahul Nalawade](https://github.com/rahul1947) (rsn170330)
- 2018-Jan-22

**Problem:** [Basic Prolog](https://github.com/rahul1947/Logic-Programming/blob/master/LP01-Basic-Prolog/Basic-Prolog.pdf) 

**Solution:** 
- Q1 to Q4: see [family.pl](https://github.com/rahul1947/Logic-Programming/blob/master/LP01-Basic-Prolog/src/family.pl)
- Q5: [Search Tree](https://github.com/rahul1947/Logic-Programming/blob/master/LP01-Basic-Prolog/src/SearchTree.jpeg) and [Trace Output](https://github.com/rahul1947/Logic-Programming/blob/master/LP01-Basic-Prolog/src/traceOutput.txt)
- Q6: [Natural Numbers](https://github.com/rahul1947/Logic-Programming/blob/master/LP01-Basic-Prolog/src/naturalNo.pl) 

All the images/ screenshots are saved in [img](https://github.com/rahul1947/Logic-Programming/tree/master/LP01-Basic-Prolog/img) directory, containing demo of few predicates.