https://github.com/bovlb/opencyc
This is a dockerization of OpenCyc, intended to make it easier to run.
To run OpenCyc, try a command like:
docker run -p3602:3602 -d -it --name=opencyc bovlb/opencyc
This will run the image detached, so omit the -d to run attached and gain access to the CYC prompt.
Note that this image requires at least 3GB just to start up. Many Docker installations limit images to 2GB by default, so you may need to tweak your settings. (See https://docs.docker.com/config/containers/resource_constraints/ and https://docs.docker.com/docker-for-mac/) This is probably what the problem is if your logs (docker logs opencyc) ends with a line like:
bin/cyc-runner.sh: line 266: 123 Killed
After increasing memory, rerun the image using docker start opencyc.
Thanks to asanchez75 (https://github.com/asanchez75/opencyc) and everyone at Cycorp (https://www.cyc.com/).
This repo contains an OpenCyc tarball that was released under the OpenCyc Licence. See the legal notices included inside the tarball for more details.
Be aware that OpenCyc is a somewhat-old subset of full Cyc. You should not judge the power of today's Cyc by this offering. Contact Cycorp directly ([email protected]) to license Cyc for research (ResearchCyc) or commercial (EnterpriseCyc) purposes.
When OpenCyc is started, it loads the KB into memory; depending on the amount of RAM on your system and the speed of your disk, this can take between one and two minutes.
Once OpenCyc is running, you will see
CYC(1):
which is the SubL command prompt. Don't close the window containing this prompt because it will kill the image.
(optional) You can enter SubL expressions such as (+ 1 2) or (genls #$Person) or (all-genls #$Person) at the command line to verify Cyc's operation.
At this point the Cyc HTTP server is running and you can access Cyc directly via the local web browser.
http://localhost:3602/cgi-bin/cg?cb-start
You can browse Cyc via the Guest account or perform updates by logging on as CycAdministrator (the default).
You can cleanly shut down the OpenCyc server by entering (halt-cyc-image) at the SubL command prompt, CYC(N):
Content type
Image
Digest
Size
570.8 MB
Last updated
about 6 years ago
docker pull bovlb/opencyc