org.algernon.test
Class SimpleAlgernonExample
java.lang.Object
org.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
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 |
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
SimpleAlgernonExample
public SimpleAlgernonExample()
SimpleAlgernonExample
public SimpleAlgernonExample(String project)
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()