Preferences (and Project Properties)

Last revised 11/17/2020. Contact us.

Table of Contents


Introduction

Preferences are user-settable parameters that control the way the SADL environment behaves during editing and during inference. In the Eclipse environment, preferences can be set at the workspace level or at the project level. Workspace preferences are set from the Windows dropdown menu.

To set preferences in Eclipse at the project level, select the desired project and request Project Properties, either from the Project dropdown menu or from the project context menu in Project Explorer.

The SADL preference page in Eclipse looks like this.

By default everything is disabled and the link in the upper-right takes the user to the workspace preferences. To enable project-specific preferences, check the checkbox with the label "Enable project specific settings". Note that the project preferences are initially set to the workspace preferences.

If SADL in the left-side navigation menu of project properties is expanded, Reasoner Preferences becomes visible as a menu choice and, if selected, allows a reasoner and an associated translator to be specified for the project. Note that Reasoner Preferences can only be specified at the project level. Reasoner Preferences are NOT Eclipse preferences and are sometimes referred to as project properties. These are stored in the project's OwlModels folder in the configuration.rdf file. This file will carry the Reasoner Preferences forward to the Knowledge as a Service (KaaS) environment.

By clicking on a reasoner (not on the checkbox in front of the reasoner, but on the name of the reasoner) the reasoner is highlighted and the Edit button is made active. Clicking the Edit button takes one to the reasoner-specific settings available for the particular reasoner selected. For example, the default Jena reasoner has the following settings.

Configuration settings for a specific reasoner are discussed in the documentation for that reasoner.

SADL Preferences by Category

General SADL Settings

In the Eclipse environment, General SADL Settings include the following.

Graphing Settings

Inference and Querying Settings

Metrics Settings

Note: metrics generation and reporting is not completely implemented in SADL at present.

Translation Settings

Type Checking Settings

Content Assist Settings