{"id":19570422,"url":"https://github.com/natthasath/use-case-prolog","last_synced_at":"2026-03-03T19:02:57.153Z","repository":{"id":245412921,"uuid":"818172805","full_name":"natthasath/use-case-prolog","owner":"natthasath","description":"Prolog (Programming in Logic) is a high-level programming language associated with artificial intelligence and computational linguistics. It features a declarative programming paradigm, where logic and rules are defined, allowing the system to infer conclusions from given facts.","archived":false,"fork":false,"pushed_at":"2024-06-21T09:10:49.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T20:33:57.355Z","etag":null,"topics":["prolog","use-case"],"latest_commit_sha":null,"homepage":"https://www.swi-prolog.org/","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/natthasath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-21T08:55:37.000Z","updated_at":"2024-06-21T09:10:52.000Z","dependencies_parsed_at":"2024-06-22T02:24:55.515Z","dependency_job_id":"9a2db6c7-50e1-4f21-bc96-541061f93d8e","html_url":"https://github.com/natthasath/use-case-prolog","commit_stats":null,"previous_names":["natthasath/use-case-prolog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/natthasath/use-case-prolog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fuse-case-prolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fuse-case-prolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fuse-case-prolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fuse-case-prolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natthasath","download_url":"https://codeload.github.com/natthasath/use-case-prolog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fuse-case-prolog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30056056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","use-case"],"created_at":"2024-11-11T06:14:59.877Z","updated_at":"2026-03-03T19:02:57.135Z","avatar_url":"https://github.com/natthasath.png","language":"Prolog","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎉 Use Case Prolog\r\n\r\nProlog (Programming in Logic) is a high-level programming language associated with artificial intelligence and computational linguistics. It features a declarative programming paradigm, where logic and rules are defined, allowing the system to infer conclusions from given facts.\r\n\r\n![version](https://img.shields.io/badge/version-1.0-blue)\r\n![rating](https://img.shields.io/badge/rating-★★★★★-yellow)\r\n![uptime](https://img.shields.io/badge/uptime-100%25-brightgreen)\r\n\r\n### ✅ Requirements\r\n\r\n- [SWI Prolog](https://www.swi-prolog.org/download/stable)\r\n\r\n### 🏆 Run\r\n\r\n- Open SWI Prolog\r\n\r\n```shell\r\nswipl\r\n```\r\n\r\n- Run `hello.pl`\r\n\r\n```\r\n1 ?- [hello].\r\ntrue.\r\n\r\n2 ?- parent(X, mary).\r\nX = john.\r\n\r\n3 ?- grandparent(john, Y).\r\nY = kate ;\r\n```\r\n\r\n- Run `game24.pl`\r\n\r\n```\r\n1 ?- [game24].\r\ntrue.\r\n\r\n2 ?- solve24(4, 8, 3, 1, Expr).\r\nExpr = (4+8)*(3-1) ;\r\nExpr = (8+4)*(3-1) ;\r\nExpr = (3-1)*(4+8) ;\r\nExpr = (3-1)*(8+4) ;\r\nfalse.\r\n```\r\n\r\n- Run `prime_factor.pl`\r\n\r\n```\r\n1 ?- [prime_factor].\r\ntrue.\r\n\r\n2 ?- prime_factors(84, Factors).\r\nFactors = [7, 3, 2, 2] .\r\n\r\n3 ?- prime_factors(101, Factors). \r\nFactors = [101] .\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatthasath%2Fuse-case-prolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatthasath%2Fuse-case-prolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatthasath%2Fuse-case-prolog/lists"}