WSML Language Basics

About

Provides syntax highlighting and bracket matching for WSML files. It also has integrated controls for the Midsi inference engine.

Features

Coding with style

Integration with Midsi inference engine

  • Clone the project https://github.com/devdaniellima/midsi and run your install.sh with sudo.
  • Set the vscode options to the path of the previously cloned Midsi project.
    {
      "wsml.midsi.path": "/home/daniel/Documents/midsi"
    }
  • You can use the commands for Midsi in the palette.

Example of using midsi commands

If you have not yet started an instance of the midsi server, you can start using the command WSML: Midsi - Start Midsi server. Likewise when you are no longer using the server, just use the command WSML: Midsi - Close Midsi server. To clear the uploaded data just close and start right away.

With the ontology file open you can add it to the scope of the midsi with the command WSML: Midsi - Load a ontology.

To make inquiries you can use the command WSML: Midsi - Execute a query.

It is also possible to ask questions from .wsml files with a query using the command WSML: Midsi - Execute this query file.

Known Issues

  • Developing but functional.
  • Any problems, please report this in the extension repository.

References