{"id":25949730,"url":"https://github.com/anidipta/prolog","last_synced_at":"2025-03-04T12:28:52.276Z","repository":{"id":279972566,"uuid":"935659291","full_name":"Anidipta/Prolog","owner":"Anidipta","description":"College 4th Sem Lab Stuffs","archived":false,"fork":false,"pushed_at":"2025-02-28T14:15:43.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T19:47:32.971Z","etag":null,"topics":["git","prolog","prolog-interpreter","prolog-programming-language"],"latest_commit_sha":null,"homepage":"","language":"Prolog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anidipta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-19T20:01:20.000Z","updated_at":"2025-02-28T14:15:46.000Z","dependencies_parsed_at":"2025-02-28T19:47:38.314Z","dependency_job_id":"76a7b5b1-7dbd-4655-8d11-f97dff92b8cc","html_url":"https://github.com/Anidipta/Prolog","commit_stats":null,"previous_names":["anidipta/prolog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anidipta%2FProlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anidipta%2FProlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anidipta%2FProlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anidipta%2FProlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anidipta","download_url":"https://codeload.github.com/Anidipta/Prolog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241847334,"owners_count":20030234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","prolog","prolog-interpreter","prolog-programming-language"],"created_at":"2025-03-04T12:28:51.570Z","updated_at":"2025-03-04T12:28:52.266Z","avatar_url":"https://github.com/Anidipta.png","language":"Prolog","readme":"# Prolog Lab Assignment\n\n## 📌 Overview\nThis repository contains implementations of various Prolog assignments covering family trees, recursion, list operations, logic gates, sorting algorithms, database queries, graph search, puzzles, and expert systems. \n\n## 📅 Assignment Breakdown\n\n### 📍 Day 1: Family Tree Implementation 🌳 (day1.pl)\n\n### 📍 Day 2: Recursive Definitions 🔄 (day2.pl)\n\n### 📍 Day 3: Working with Numbers 🔢 (day3.pl)\n- Using operators for mathematical operations (`+`, `-`, `*`, `/`, `mod`)\n- Calculating with numbers and processing collections\n\n### 📍 Day 4: List Operations 📜 (day4.pl)\n- Finding the number of elements in a list\n- Retrieving the K-th element\n- Checking if an element exists in a list\n- Identifying vowels and digits in a list\n\n### 📍 Day 5: Use of Accumulators 📂 (day5.pl)\n- Basic list operations\n- Defining logic gates (`AND`, `OR`, `NOT`, `NAND`, `NOR`, `XOR`, `XNOR`)\n- Simulating an electronic circuit\n\n### 📍 Day 6: Sorting Algorithm 🔢 (day6.pl)\n- Implementing Bubble Sort using CUT (`!`)\n\n### 📍 Day 7: Employee Database 👩‍💻 (day7.pl)\n- Storing employee records in Prolog\n- Querying employee details:\n  - Retrieve employees with `EMPNAME='Lakshmi Shrivastava'` working in `AMAZON`\n  - Retrieve employee details working in `TCS`, `CTS`, `AMAZON` from `CSE`, `CSE-AIML`, `CSE-DS` at `HIT`\n\n### 📍 Day 8: Graph Search Algorithms 🔍 (day8.pl)\n- Depth-First Search (DFS)\n- Breadth-First Search (BFS)\n\n### 📍 Day 9: Puzzle Implementations 🧩 (day9.pl)\n- 8-Queens problem ♟️\n- Towers of Hanoi 🗼\n- Missionaries and Cannibals problem 🚣‍♂️\n\n### 📍 Day 10: Expert System 🤖 (day10.pl)\n- Bird Recognition System 🦜\n- Disease Diagnosis System 🏥\n- Natural Language Processing (NLP) tasks 🗣️\n\n## 🛠️ Technologies Used\n- **Prolog** (SWI-Prolog recommended)\n- **GitHub** for version control\n- **Markdown** for documentation\n\n## 🚀 Getting Started\n### Installation\n1. Install [SWI-Prolog](https://www.swi-prolog.org/Download.html)\n2. Clone the repository:\n   ```bash\n   git clone https://github.com/yourusername/Prolog.git\n   cd Prolog\n   ```\n3. Run any Prolog file:\n   ```bash\n   swipl file_name.pl\n   ```\n\n## 📂 Repository Structure\n```\nprolog-lab/\n│── day1.pl\n│── day2.pl\n│── day3.pl\n│── day4.pl\n│── day5.pl\n│── day6.pl\n│── day7.pl\n│── day8.pl\n│── day9.pl\n│── day10.pl\n│── README.md\n```\n\n## 📖 References\n- [SWI-Prolog Documentation](https://www.swi-prolog.org/) 📚\n- [Prolog Tutorials](https://www.learnprolognow.org/) 🎓\n\n## 📝 Author\n[Anidipta Pal](https://github.com/Anidipta)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanidipta%2Fprolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanidipta%2Fprolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanidipta%2Fprolog/lists"}