Skip to content

Homepage

Andre Antakli edited this page Nov 14, 2023 · 8 revisions

Connecting with an AJAN Triplestore

The Homepage is the first page you will encounter if you start working with the AJAN-Editor. Here you can add, edit and remove remote Triplestore you want to access threw the editor.

You have two options, either to create a new Triplestore or start working on an already existing one.

Add a new remote Triplestore

Add Triplestore

  • The Triplestore Name can be any Name. It is used to easily identify your Triplestore
  • The URI is the Http-Endpoint to the RDF Storage where your Agent Data is stored. It could look similar to this:

http://localhost:8090/rdf4j/repositories/

  • After you clicked the "add" button you will find the newly created Triplestore under "Choose existing Triplestore"

Editing an existing Triplestore/Start working on it (Choose existing Triplestore)

Added Triplestore

  • [TODO] Upload
  • Edit the current Triplestore Name as well as the current URI
  • Remove the current triplestore from the list of known triplestore.

Click anywhere on the entry to get into the AJAN-Editor interface for that triplestore

Load AJAN Packages

An AJAN package is a file that contains parts or whole AJAN agent models. These packages are used to exchange pre-modeled AJAN agents or behaviors etc. There are three methods for loading AJAN packages or predefined AJAN files: online and offline loading of packages via the AJAN Editor; or storing existing files in the AJAN service file system.

Method 1: Loading a AJAN Package online




First you go to the home screen of the AJAN Editor; you select #1 to download an AJAN package online (requires access to the WWW); load available packages with #2; select the <Name of the Package>.ajan package in #3; confirm this selection with #4; and load the available files with #5.

Method 2: Loading a AJAN Package offline



First, go to the home screen of the AJAN Editor, select #1 to upload an AJAN package, select the <Name of the Package>.ajan package in #2, and confirm the overwriting or loading of the files with #3.

Method 3: Permanent integration of AJAN Package files

You must always use methods 1 and 2 if you want to use the AJAN Package files after restarting an AJAN service. If you want the AJAN Package files to be permanently in the system, or that it is automatically loaded when the AJAN Service is started, you have to tinker around in the file system.





First you have to unzip the <Name of the Package>.ajan package (the packages are simple ZIP files); then navigate to the RDF files (.trig and .ttl in agents, behaviors, services folder and so on) in the unzipped folder, #2 shows the agents.trig file. Copy these files individually and then navigate to #3 of your AJAN service installation and paste them into the respective folder. In these folders are already files with the same names, do not overwrite them, instead rename the Operation Reasoner files, see #4. After a restart of the AJAN Service, the AJAN Package models should then be found.

Clone this wiki locally