Algernon Software

org.algernon.test
Class SimpleAlgernonExample

java.lang.Object
  extended byorg.algernon.test.SimpleAlgernonExample

public class SimpleAlgernonExample
extends Object

Opens the Protege newspaper KB and makes some simple queries on it. Example:

 java  -classpath algernon.jar:protege.jar org.algernon.test.SimpleAlgernonExample
 

See Also:
Algernon

Field Summary
protected  Algernon f_algy
           
protected  AlgernonKB f_kb
           
protected  String f_projectFile
           
static String NEWSPAPER_PROJECT
           
 
Constructor Summary
SimpleAlgernonExample()
           
SimpleAlgernonExample(String project)
           
 
Method Summary
 void init()
          Opens the KB and initializes Algernon.
static void main(String[] args)
           
 void start()
           
 void stop()
          Halts the program nicely.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEWSPAPER_PROJECT

public static String NEWSPAPER_PROJECT

f_algy

protected Algernon f_algy

f_kb

protected AlgernonKB f_kb

f_projectFile

protected String f_projectFile
Constructor Detail

SimpleAlgernonExample

public SimpleAlgernonExample()

SimpleAlgernonExample

public SimpleAlgernonExample(String project)
Method Detail

init

public void init()
Opens the KB and initializes Algernon.


stop

public void stop()
Halts the program nicely.


main

public static void main(String[] args)

start

public void start()

Algernon Software