{"id":19484955,"url":"https://github.com/opencog/pln","last_synced_at":"2026-03-02T12:36:38.599Z","repository":{"id":44646551,"uuid":"224375231","full_name":"opencog/pln","owner":"opencog","description":"[NO LONGER MAINTAINED, SUPERSEDED BY https://github.com/trueagi-io/pln-experimental and https://github.com/trueagi-io/PLN].  Probabilistic Logic Network (PLN) implemented on top of the Unified Rule Engine (URE). https://wiki.opencog.org/w/Probabilistic_logic_networks","archived":false,"fork":false,"pushed_at":"2025-09-20T05:53:47.000Z","size":112058,"stargazers_count":16,"open_issues_count":6,"forks_count":16,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-09-20T07:22:48.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scheme","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencog.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-27T07:55:36.000Z","updated_at":"2025-09-20T05:53:51.000Z","dependencies_parsed_at":"2023-02-17T02:45:24.585Z","dependency_job_id":"0b359979-97c8-427e-a5a2-7813dc2e3399","html_url":"https://github.com/opencog/pln","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/opencog/pln","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fpln","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fpln/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fpln/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fpln/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencog","download_url":"https://codeload.github.com/opencog/pln/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fpln/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30002772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T12:19:43.414Z","status":"ssl_error","status_checked_at":"2026-03-02T12:19:02.215Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-10T20:24:51.882Z","updated_at":"2026-03-02T12:36:38.579Z","avatar_url":"https://github.com/opencog.png","language":"Scheme","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Probabilistic Logic Network\n\nopencog | singnet\n------- | -------\n[![CircleCI](https://circleci.com/gh/opencog/pln.svg?style=svg)](https://circleci.com/gh/opencog/pln) | [![CircleCI](https://circleci.com/gh/singnet/pln.svg?style=svg)](https://circleci.com/gh/singnet/pln)\n\nProbabilistic Logic Network, or PLN for short, is a logic invented by\nBen Goertzel et al [1] for common sense reasoning. It is particularily\nwell suited for uncertain reasoning, especially when knowledge is\nbased on limited observations from reality, but can also handle\nabstract mathematical reasoning, and the relationship between the two.\n\nTo handle uncertainty PLN represents truth as a second order\ndistribution, i.e. a probabilistic distribution over probabilistic\ndistributions. Doing so allows to capture uncertainty while remaining\nin the well known and proven framework of probability theory.\n\n# PLN is no longer maintained\nThe lead developer has walked away from the project.\n\n## Building and Installing\n\n### Prequisite\n\n* Build and install [Unified Rule Engine](https://github.com/opencog/ure)\n\n### Building PLN\n\n```bash\n# Download PLN\ngit clone https://github.com/opencog/pln.git\n\n# Move to its project folder\ncd pln\n\n# Build with CMake\nmkdir build\ncd build\ncmake ..\nmake -j\n```\n\n### Installing PLN\n\nAfter building, you must install PLN\n\n```bash\nsudo make install\n```\n\nRunning `ldconfig` might required as well\n\n```bash\nldconfig /usr/local/lib/opencog\n```\n\nUsage\n-----\n\nThe easiest way to use PLN is via its scheme bindings. For that enter\n\n```bash\nguile\n```\n\nload the PLN module\n\n```scheme\n(use-modules (opencog pln))\n```\n\nthen load PLN rules with functions `pln-load`, and run the forward and\nbackward chainers with `pln-fc` and `pln-bc`. More help can be found in\nguile's online help `(help pln-load)`, `(help pln-fc)` and `(help pln-bc)`.\n\nMore usage information can be found in\n\n[opencog/pln/README.md](opencog/pln/README.md)\n\nExamples\n--------\n\nPLN examples can be found under the [examples/pln](examples/pln)\ndirectory. In particular the following examples use the `pln` module\n\n\n* [examples/pln/ancestors](examples/pln/ancestors)\n* [examples/pln/good-songs](examples/pln/good-songs)\n\nThe other examples can be informative but directly use the URE and\nthus are less user friendly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencog%2Fpln","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencog%2Fpln","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencog%2Fpln/lists"}