{"id":19910841,"url":"https://github.com/harshjuly12/swi-prolog","last_synced_at":"2026-03-05T02:01:40.960Z","repository":{"id":254687868,"uuid":"847263970","full_name":"harshjuly12/SWI-Prolog","owner":"harshjuly12","description":"This is a prolog repository contains logic-based code for symbolic reasoning, AI algorithms, and other rule-based applications.","archived":false,"fork":false,"pushed_at":"2024-10-11T18:22:30.000Z","size":16,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T08:31:55.590Z","etag":null,"topics":["prolog","prolog-exercises","prolog-implementation","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harshjuly12.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":"2024-08-25T10:22:04.000Z","updated_at":"2024-10-30T06:42:02.000Z","dependencies_parsed_at":"2025-01-11T22:31:52.401Z","dependency_job_id":"1ef49359-7569-41b7-9f0e-f0121062724a","html_url":"https://github.com/harshjuly12/SWI-Prolog","commit_stats":null,"previous_names":["harshjuly12/swi-prolog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harshjuly12/SWI-Prolog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshjuly12%2FSWI-Prolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshjuly12%2FSWI-Prolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshjuly12%2FSWI-Prolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshjuly12%2FSWI-Prolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshjuly12","download_url":"https://codeload.github.com/harshjuly12/SWI-Prolog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshjuly12%2FSWI-Prolog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30106129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["prolog","prolog-exercises","prolog-implementation","prolog-programming-language"],"created_at":"2024-11-12T21:21:33.200Z","updated_at":"2026-03-05T02:01:40.917Z","avatar_url":"https://github.com/harshjuly12.png","language":"Prolog","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/8f26377a-1478-420f-84f3-7a7af0adbd2c\" width=\"200\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ch1 style=\"margin: 0;\"\u003eSWI-Prolog Learning Repository\u003c/h1\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Table of Contents\n1. [Introduction](#introduction)\n2. [Getting Started](#getting-started)\n3. [Folder Structure](#folder-structure)\n4. [Installation](#installation)\n5. [Basic Commands](#basic-commands)\n6. [Screenshots](#screenshots)   \u003c!-- Added Screenshots Section --\u003e\n7. [Contributing](#contributing)\n8. [Resources](#resources)\n9. [License](#license)\n10. [Author](#author)\n\n## Introduction\n\nWelcome to the SWI-Prolog Learning Repository! This repository aims to provide a comprehensive learning resource for anyone interested in mastering SWI-Prolog, a popular logic programming language used for solving complex problems involving knowledge representation and reasoning. Through this collection of examples, exercises, and projects, you will gain hands-on experience and improve your understanding of Prolog's fundamental concepts and advanced features.\n\n## Getting Started\n\nTo get started with SWI-Prolog, clone this repository and follow the installation instructions below.\n\n## Folder Structure\n\n- **examples/**: Basic Prolog examples to get you started.\n- **exercises/**: Practice problems to test your knowledge.\n- **projects/**: Mini-projects to apply what you’ve learned.\n\n## Installation\n\n1. **Install SWI-Prolog**: Download and install SWI-Prolog from [SWI-Prolog.org](https://www.swi-prolog.org/Download.html).\n2. **Clone the repository**:\n    ```bash\n    git clone https://github.com/yourusername/swi-prolog-learning.git\n    cd swi-prolog-learning\n    ```\n\n## Basic Commands\n\n- Run a Prolog file: `swipl -f filename.pl`\n- Load a Prolog file within the SWI-Prolog shell: `?- [filename].`\n- Consult a file: `?- consult('filename.pl').`\n\n## Screenshots\n\nHere are a couple of screenshots demonstrating the usage of Prolog and SWI-Prolog:\n\n**Screenshot 1: Prolog family relationships code**\n![Screenshot 2024-09-27 224812](https://github.com/user-attachments/assets/e5fd01f1-08ad-4218-820c-6fd4629c8ba2)\n\n**Screenshot 2: SWI-Prolog execution**\n![Screenshot 2024-09-27 224824](https://github.com/user-attachments/assets/df2a1851-351e-4f30-bf69-ac2ed6f1abba)\n\n## Contributing\n\nFeel free to contribute by adding new examples, exercises, or projects. Just fork the repo, create a new branch, and submit a pull request!\n\n## Resources\n\n- [SWI-Prolog Documentation](https://www.swi-prolog.org/pldoc/)\n- [Learn Prolog Now!](https://www.learnprolognow.org/)\n- [The Art of Prolog](https://mitpress.mit.edu/9780262512278/the-art-of-prolog/)\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Author\n\nFor any questions or suggestions, please contact:\n- Harsh Singh: [harshjuly12@gmail.com](mailto:harshjuly12@gmail.com)\n- GitHub: [harshjuly12](https://github.com/harshjuly12)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshjuly12%2Fswi-prolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshjuly12%2Fswi-prolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshjuly12%2Fswi-prolog/lists"}