Skip to content

csse-uoft/smile-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smile-controller

SMILE Controller

Setup

1 GraphDB Installation

2 GraphDB Repository Creation

  • For testing, make sure the username and password are set to admin
  • Create a new test repository. Go to http://localhost:7200
    • Create new repository:
      • Name the repository (Repository ID) as smile
      • Set context index to True *(checked).
      • Set query timeout to 45 second.
      • Set the Throw exception on query timeout checkmark to True (checked)
      • Click on create repository.
    • Make sure the repository is in "Running" state.

3 GraphDB Configuration

A few notes on configurting SMILE to connect to the database.

4 Setup smile-controller conda environment

conda env create -f PySMILEController.yml

To run example

  1. You will need to start knowledge source listeners.
  2. cd src
  3. python -i -m smile_controller.main
  4. To view the results, run show_trace(trace_id), where trace_id is the id of the last trace.

Results can be seen in the <logs>/<trace_id>.txt file, where <logs>/ is a folder set up in src/config/local_config.yml

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages