Skip to content

singnet/conceptnet-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conceptnet5 Containerized Server

This project contains a Dockerfile that allows the creation of conceptnet5 server ready images.

It uses configuration from https://github.com/commonsense/conceptnet-puppet, and procedure described at https://github.com/commonsense/conceptnet5/wiki/Build-process

Configuring and running the server

The helper function run.sh is used for this

Usage: bash run.sh command [build-label]

Commands:
  build  Build the conceptnet database.
  setup  Build the docker image.
  shell  Start a container and drop into the shell without starting
         the conceptnet server.
  start  Start the container as a background process with the
         conceptnet server running and port 8084 exposed locally.

Performing queries using curl

In order to perform the query "c/en/tree" to your server do the following.

curl http://0.0.0.0:8084/c/en/tree

Scheme client API

A client api for Scheme is provided in a scheme module in api/scheme/conceptnet.scm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •