Previous topic  Top  Next topic  Print this Topic
 

Administration Console

 

The OntoBroker Administration Console is launched by clicking on Start -> Programs -> OntoBroker -> Administration Console.

The user interface of the Administration Console consists of 5 areas in the Startup tab:

Aufnahme1

1

Configuration

You can use the default values or load your own configuration file (see OntoConfig.prp at the OntoBroker home directory).

2

Startup Mode

Within the startup mode OntoBroker can be launched in default mode or it can either be configured as a collaboration server, or accessing Remote API.

3

Startup Options

OntoBroker is also started as a ‘WebService’ , if ‘ WebService’ is activated. If ‘Silent’ is activated there will be no output to the OntoBroker console. The Web console is the default value. For more information on the Webconsole click here

4

Ontology files

In the Ontology files-area , files of folders can be added  with which OntoBroker should start. These files must contain facts and rules in an input format like ObjectLogic, RDF(S), OWL or N-Triple (n3, nt).

5

Startup

Within the startup area, you can configure the heap size of OntoBroker and JVM arguments. The configuration can be saved by clicking  <Save as .cmd file> in the configurations-field. Furthermore, you can start or finish OntoBroker here.

 

The user interface of the Administration Console consists of 3 areas in the main window of the Command/Queries tab:

Aufnahme3

 

1

Connection

After the configuration is complete, the port-number (standard port is <2267>) on which OntoBroker should run has to be chosen. The IP-address can also be specified.

2

Query

On the "Query" - tab, queries can be sent to OntoBroker and the answers are shown. Choosing the "Default Namespace" and the "Module" - entering and changing the query - will affect the result view. By activating the options e.g. "fill null" the query will be extended accordingly. To create queries in an easier manner a default module can be chosen from the drop down menu. This module will be used to receive answers from OntoBroker. The given prefix, shown within the "Prefix/Namespace" field, can be used instead of the namespace.

3

Result

The result of your query is shown in the result area.

 

The History button provides a history of your executed queries.

Aufnahme30

Within the main window of the Commands/Queries tab there are several sub-areas. The screenshot below shows the Command tab again with its tabs and functions.

Aufnahme4

1

Ontology Management

2

Command Output

 

The Server administration tab offers several options for handling commands or getting basic information on OntoBroker.  A list of all of the available commands is also available.

Aufnahme5

A very useful function is the Available commands button. One click provides a list of all commands. Select a command and copy and paste it:

Aufnahme6

The Info function shows all of the important information about a running OntoBroker instance and the loaded ontology:

Aufnahme7

The Commands/Other tab allows you to execute commands in a comfortable way. Type in a command or paste a command from the list of commands and choose Execute. The OntoBroker-feedback is shown in the Command output area.

Aufnahme8

Start OntoBroker

This is a short introduction on how to load an ontology, start Ontobroker and make a query.

1.First of all you have to browse through your directory for your ontology file:

Aufnahme9

2.Select your ontology (here: companies.obl).

Aufnahme10

3.Start OntoBroker (your ontology file will be loaded).

Aufnahme11

The console window shows any information about the starting OntoBroker (e.g. configuration).

After OntoBroker has been started, a command line box should appear (see below). After all of the files have been successfully loaded, the OntoBroker Administration Tool shows the message <OntoBroker up and running...>.

Aufnahme12

4.Switch to the Command/Queries tab and connect your OntoBroker to the webconsole.

In addition to the configuration and execution of OntoBroker, the Administration console also serves as a client for demonstration and test purposes. Under the Command/Queries tab you first have to connect to the OntoBroker. Select the server (host) and the port and then click on the Connect button. When authorization is required the user and password must be entered in the relevant fields. If the Administration console was able to connect to OntoBroker a suitable message appears.

Aufnahme13

5.Type in your query and press Execute.

On the Query  tab, queries may be sent to OntoBroker and the answers are shown. Choosing the "Default Namespace" and the "Module" - entering and changing the query - will affect the result view. By activating the options e.g. "fill null" the query will be extended accordingly. To create queries in an easier way a default module can be chosen from the drop down menu. This module will be used to receive answers from OntoBroker. The given prefix, shown within the "Prefix/Namespace" field, can be used instead of the namespace.

Aufnahme14

Special characters may be used on the query interface:

\n newline: Line break after temporary facts
\" backslash: Mark quotes to be a quote inside of queries
\\ double backslash: Mark a backslash to be a backslash inside of queries

The result of a query is shown in the Result area.

Aufnahme15

How to specify the vm OntoBroker should run with

Rename OntoBroker.exe to OntoBroker2.exe and create an OntoBroker.bat with

Ontobroker2 -vm "C:\Program Files\Java\jdk1.6.0_10\bin\java.exe" %*