HTTPS SSH

Scone Project

Scone is a tool that supports scenario-driven development for ontology engineers. Ontologies are used to represent knowledge in many industries, including medical, chemical, pharmaceutical, and financial.

Scone is an effort to apply best practices from behavior-driven development (BDD) in software engineering to ontology development. The goal is to enable ontology developers to record their requirements in a way that - is accessible to their clients and maintainable by domain experts - provides automatically generated behavioral tests - provides metrics for ontology developers that provide a useful measure of progress and quality

More detail can be found in our user guide: https://bitbucket.org/malefort/scone/raw/563c2f0dfb49e1d08939601ec046567dcf7f88c0/documentation/SCONEUserGuide.pdf

Scone environment

To run Scone, you need an environment configured properly. We made a parallel project that uses Vagrant to build a Virtual Machine that contains everything you need, see the Scone-Vagrant repository. In the next steps, we'll assume that you're using this method. If you don't, just adapt the path in the command lines.

How to run Scone

To run Scone, execute the following command lines :

$ cd /vagrant/project/lib
$ cucumber

Note : If it fails, make sure the directory /vagrant/project/resources/dol/tmp exists. If it doesn't, use the following command lines :

$ mkdir /vagrant/project/resources/dol
$ mkdir /vagrant/project/resources/dol/tmp

How to run the Hets Demo

To run the Hets Demo, you need a Hets environment (see scone-vagrant) and ruby >= 2.1.3. Then, in your console, run :

$ ruby /vagrant/project/lib/hetsDemo.rb

Note : It's based on the scone-vagrant project architechture, so you'll need to have the resources accessible in /vagrant/project/resources.

How to run the Ontohub Demo

To run the Ontohub demo, you need a Hets environment with the server running and a Ontohub environment with the Webbrick server running (see scone-vagrant). Then, open a terminal and run :

$ bundle exec rails c
Loading development environment (Rails 3.2.21)
[1] pry(main)> require "/vagrant/project/lib/ontohubDemo.rb"