A B C D E F G H I L M N O P Q R S T V X

A

ANONYMOUS_PREDICATE - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
The relation used to denote anonymous objects.
applyDAMLSemantics() - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Applies DAML semantics such as error checking as well as calling Rete.run() to apply basic semantics rules of the language.
arp_ - Variable in class edu.umbc.cs.daml4jess.D4jRdf2Jess
The ARP RDF parser.
array2String(Object[], int) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Convert the given object array to string, using default element separator: ", ".
array2String(Object[], int, String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Convert the given object array to string.
assertWithDependency(String, String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Assert the given facts with the given dependency id, such that these facts can be retracted via the dependency id.

B

backupExt_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
batch(String) - Method in class QasmTextUI
Process batch command, that is, to execute a list of commands in the given file.
buildAnonymousFact(String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Build an anonymous, ordered fact with the given value, in the form: ( )
buildAsserts(String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Construct a Jess "assert" statement with the given facts.
buildDeffacts(String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Construct a Jess "deffacts" statement with the given facts.
buildRdfFact(String, String, String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Build an RDF Jess fact with the given subject, predicate, and object.

C

canonicalizeUri(String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Canonicalize a resource URI (to be used to load the resource).
COMMENT_STARTER - Static variable in class edu.umbc.cs.daml4jess.TextCmdReader
 
commentSym_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
configRoot_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
The root element of the xml-based configuration document.
convert(String) - Method in class edu.umbc.cs.daml4jess.DjkToD4j
Convert the jess rules in the given file into slot-based jess rules.
currentDependencyId_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
An id that the asserted facts depend on.

D

d4j_ - Variable in class QasmTextUI
 
D4jException - exception edu.umbc.cs.daml4jess.D4jException.
daml4jess exception.
D4jException(String) - Constructor for class edu.umbc.cs.daml4jess.D4jException
Constructs an exception with the given message.
D4jException(String, Throwable) - Constructor for class edu.umbc.cs.daml4jess.D4jException
Constructs an exception the given a message and causing throwable.
D4jLogger - interface edu.umbc.cs.daml4jess.D4jLogger.
Daml4Jess logger interface.
d4jLogLevel_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
Controls the level of daml4jess (not Jess) log output.
d4jLogWriter_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
Daml4Jess log writer.
D4jRdf2Jess - class edu.umbc.cs.daml4jess.D4jRdf2Jess.
This class is basically a rewrite of the DAMLJessFactCollector class.
D4jRdf2Jess() - Constructor for class edu.umbc.cs.daml4jess.D4jRdf2Jess
Constructor.
D4jUtil - class edu.umbc.cs.daml4jess.D4jUtil.
A set of Daml4Jess util methods.
D4jUtil() - Constructor for class edu.umbc.cs.daml4jess.D4jUtil
 
DAML - class edu.umbc.cs.daml4jess.DAML.
DAML specific stuff.
DAML_NS - Static variable in class edu.umbc.cs.daml4jess.DAML
 
DAML() - Constructor for class edu.umbc.cs.daml4jess.DAML
 
Daml4Jess - class edu.umbc.cs.daml4jess.Daml4Jess.
Coming soon - out-of-dated stuff deleted.
Daml4Jess(InputStream) - Constructor for class edu.umbc.cs.daml4jess.Daml4Jess
Constructor.
DEFAULT_PROMPT - Static variable in class edu.umbc.cs.daml4jess.TextCmdReader
 
defaultRdfXmlBase_ - Variable in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Default RDF resource xml base.
DEPENDENCY_PREDICATE - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
Predicate name used to build dependency facts on which other facts depend (in the sense of the logical CE in Jess).
DEPENDENCY_PREFIX - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
A prefix string used to construct dependency (with logical CEs) rules.
dependencyFact(String, String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
create a dependency fact, a fact to be used as logical CE in Jess rule, so that when this fact is retracted, all facts asserted via the rule will automatically retracted.
dependencyRule(String, String, String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
create a dependency rule, with the given rule name, dependency fact, and the facts depending on the dependency fact and to be asserted.
dependencyRuleName(String, String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Create a dependency rule name with the given dependency id and sequenceid.
DjkToD4j - class edu.umbc.cs.daml4jess.DjkToD4j.
The main function is to convert the ordered-fact based DAMLJessKB rules/axioms into unordered-fact (template) based rules/axioms.
DjkToD4j.StatementInfo - class edu.umbc.cs.daml4jess.DjkToD4j.StatementInfo.
Internal class for statement information: old statement (before conversion) information and the new statement after conversion.
DjkToD4j(Properties) - Constructor for class edu.umbc.cs.daml4jess.DjkToD4j
Constructor, using the given configurations.
doWork() - Method in class QasmTextUI
Get input user and take appropriate actions.
dump(String) - Method in class QasmTextUI
Dump the knowledge base (rules & facts) to the given file.
dumpJessQueryResults(Iterator) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Dump the given query results (in the iterator) to a string.

E

edu.umbc.cs.daml4jess - package edu.umbc.cs.daml4jess
 

F

factListToString(List) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Convert a given list of facts into one string, a newline is inserted after each fact.
facts_ - Variable in class edu.umbc.cs.daml4jess.D4jRdf2Jess
The list facts translated from RDF statements.

G

getAction() - Method in class QasmTextUI.QasmCommand
 
getCause() - Method in class edu.umbc.cs.daml4jess.D4jException
Get the deeper cause of the exception.
getChildElementsByName(Node, String) - Static method in class edu.umbc.cs.daml4jess.XmlUtil
Get the list of direct child element nodes with the given tag name.
getData() - Method in class QasmTextUI.QasmCommand
 
getFirstChildElementByName(Node, String) - Static method in class edu.umbc.cs.daml4jess.XmlUtil
Find the first direct child element with given tagName.
getFirstChildValueByName(Node, String) - Static method in class edu.umbc.cs.daml4jess.XmlUtil
Get the value for the first direct child element node with the given tag name.
getImports() - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Get the list of imported resources (by this document).
getImports4Uri(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Get the list of resoruces (no matter loaded or not) imported by the given resource (@ uri).
getMessage() - Method in class edu.umbc.cs.daml4jess.D4jException
Get the exception message.
getNodeValue(Node) - Static method in class edu.umbc.cs.daml4jess.XmlUtil
Get the value of the given node.
getRete() - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Returns the rete being used by the Daml4Jess object.
getStackTrace(Throwable) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Get the stack trace of the given throwable.
getUniqueId(String) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Generate a unique id with the default xml base (of the current resource being loaded), and the given prefix.
getUniqueId(String) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Generate a unique id with the given prefix.
getWriterForName(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Get the writer for the given file name.

H

handleCmd(QasmTextUI.QasmCommand) - Method in class QasmTextUI
Handle the given qasm command.

I

imports - Static variable in class edu.umbc.cs.daml4jess.DAML
 
imports_ - Variable in class edu.umbc.cs.daml4jess.D4jRdf2Jess
The list of imported resources (if any) in the document.
indentStep_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
init(Reader, String) - Method in class edu.umbc.cs.daml4jess.TextCmdReader
Initialization.
inputJessFile(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load Jess code from a file, using Jess batch command.
inputReader_ - Variable in class edu.umbc.cs.daml4jess.TextCmdReader
 
insertAnonymous_ - Variable in class edu.umbc.cs.daml4jess.D4jRdf2Jess
 
insertAnonymous_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
Indicator of whether to insert anonymous predicates to Jess (from the RDF data).
isResourceLoaded(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
check if the given resource has been loaded.

L

Literal - Static variable in class edu.umbc.cs.daml4jess.RDF
 
loadDAMLResource(InputStream, String, boolean) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load daml resource from the given input stream.
loadDAMLResource(InputStream, String, boolean, int) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load daml resource from the given input stream.
loadDAMLResource(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load daml resource from the given URI.
loadDAMLResource(String, boolean) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load daml resource from the given URI.
loadDAMLResource(String, boolean, int) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load daml resource from the given URI.
loadFromInputStream(InputStream, String) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Load rdf resource from the given input stream.
loadFromReader(Reader, String) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Load rdf resource from the given reader.
loadFromUri(String) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Load RDF data and convert it into Jess facts string.
loadJessResourceWithClassLoader(ClassLoader, String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load Jess program (file) using the given class loader.
loadRDFResource(InputStream, String, boolean) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load the RDF resource from the given input stream.
loadRDFResource(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load the RDF resource at the given URI.
loadRDFResource(String, boolean) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load the RDF resource at the given URI.
LOG_LEVEL_BRIEF - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
The constant for brief informaional level log output.
LOG_LEVEL_ERR - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
The constant for error only log level.
LOG_LEVEL_INFO - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
The constant for detailed informaion level log output.
LOG_LEVEL_VERBOSE - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
The constant for the most verbose level log output.
LOG_LEVEL_WARN - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
The constant for warning level log output.
log(String, int) - Method in interface edu.umbc.cs.daml4jess.D4jLogger
Log the given message.
log(String, int) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Log the given message at the given level.
log(String, int) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Log the given message.
log(String, Throwable, int) - Method in interface edu.umbc.cs.daml4jess.D4jLogger
Log the given message and the exception.
log(String, Throwable, int) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Log the given message at the given level.
log(String, Throwable, int) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Log the given message and the exception.
logger_ - Variable in class edu.umbc.cs.daml4jess.D4jRdf2Jess
 

M

Macro - class edu.umbc.cs.daml4jess.Macro.
This utility class is designed to replace macros in any text as long as it conforms to the rules as specified as follow.
Macro.MacroException - exception edu.umbc.cs.daml4jess.Macro.MacroException.
The macro error exception.
Macro.MacroException(String) - Constructor for class edu.umbc.cs.daml4jess.Macro.MacroException
Constructor.
Macro(Properties) - Constructor for class edu.umbc.cs.daml4jess.Macro
Constructor.
main(String[]) - Static method in class QasmTextUI
Usage: java -DQasmConfig= QasmTextUI []
main(String[]) - Static method in class edu.umbc.cs.daml4jess.Macro
main program, testing only.
main(String[]) - Static method in class edu.umbc.cs.daml4jess.TextCmdReader
For test purpose only - it just echos the command you type in.
main(String[]) - Static method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
A simple test program which outputs RDF data as Jess facts.
main(String[]) - Static method in class edu.umbc.cs.daml4jess.DjkToD4j
Main function.
main(String[]) - Static method in class edu.umbc.cs.daml4jess.Daml4Jess
Test program.

N

newLine_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
nextCmdObject() - Method in class edu.umbc.cs.daml4jess.TextCmdReader
Get the next parsed command.
nextCmdString() - Method in class edu.umbc.cs.daml4jess.TextCmdReader
Get the next command string.
nextStatement(String, int) - Method in class edu.umbc.cs.daml4jess.DjkToD4j
Locate the next statement to convert, convert it, and return the statement information.
nextStatementStart(String, int) - Method in class edu.umbc.cs.daml4jess.DjkToD4j
Find the start index of next POSSIBLE statement.

O

object_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
objectIsType(String, String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Query if the given object has the given type.
oldHead_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 

P

ParseCmdException - exception edu.umbc.cs.daml4jess.ParseCmdException.
Parse command exception class.
ParseCmdException(String) - Constructor for class edu.umbc.cs.daml4jess.ParseCmdException
 
parseCommand(String) - Method in class QasmTextUI.QasmCmdReader
Parse the stdin command input.
parseCommand(String) - Method in class edu.umbc.cs.daml4jess.TextCmdReader
Parse the input command.
predicate_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
printTree(Document) - Static method in class edu.umbc.cs.daml4jess.XmlUtil
Print the given xml document tree.
printTree(Node, int) - Static method in class edu.umbc.cs.daml4jess.XmlUtil
Recursively print the given xml document node.
processInput(QasmTextUI.QasmCmdReader) - Method in class QasmTextUI
Get input from user and take appropriate actions.
prompt_ - Variable in class edu.umbc.cs.daml4jess.TextCmdReader
 
prompt() - Method in class edu.umbc.cs.daml4jess.TextCmdReader
Show the command line prompt.

Q

QASM_CONFIG_KEY - Static variable in class QasmTextUI
 
QasmTextUI - class QasmTextUI.
This class was extracted (rewriten) from another package to server as a test program for daml4jess package.
QasmTextUI.QasmCmdReader - class QasmTextUI.QasmCmdReader.
Read & parse command line input into commands.
QasmTextUI.QasmCmdReader() - Constructor for class QasmTextUI.QasmCmdReader
Constructor, using System.in as the default command input stream.
QasmTextUI.QasmCmdReader(Reader) - Constructor for class QasmTextUI.QasmCmdReader
Constructor.
QasmTextUI.QasmCommand - class QasmTextUI.QasmCommand.
QASM command object class.
QasmTextUI.QasmCommand() - Constructor for class QasmTextUI.QasmCommand
 
QasmTextUI.QasmCommand(String, String) - Constructor for class QasmTextUI.QasmCommand
 
QasmTextUI(Daml4Jess) - Constructor for class QasmTextUI
Constructor.
query(String, String[]) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Run the given (Jess) query with the given arguments and return the iterator of the results.
queryRdfSlot(String, String[], String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Run a Jess query and return the list of values for the given RDF slot name of the first facts in each matching pattern.
QUIT_CMD - Static variable in class edu.umbc.cs.daml4jess.TextCmdReader
 

R

RDF - class edu.umbc.cs.daml4jess.RDF.
RDF specific stuff.
RDF_NS - Static variable in class edu.umbc.cs.daml4jess.RDF
 
RDF_OBJ_SLOT - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
Jess template slot name for the "object" in an RDF statement.
RDF_PRED_SLOT - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
Jess template slot name for the "predicate" in an RDF statement.
RDF_SUBJ_SLOT - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
Jess template slot name for the "subject" in an RDF statement.
RDF_TEMPLATE - Static variable in class edu.umbc.cs.daml4jess.Daml4Jess
Jess template name for RDF statements.
RDF() - Constructor for class edu.umbc.cs.daml4jess.RDF
 
rdf2Facts_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
Used to load RDF files and to break RDF statements into Jess facts or whatever format daml4jess can take.
recursiveImports_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
Indicator of whether to load resources imported by the resource being loaded.
resolveMacros(String) - Method in class edu.umbc.cs.daml4jess.Macro
Resolve the macro references in the given text file.
resolveMacros(String, int) - Method in class edu.umbc.cs.daml4jess.Macro
Resolve the macro in the given text data.
rete_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
The core Jess data structure, responsible for inference.
runJessAfterLoad_ - Variable in class edu.umbc.cs.daml4jess.Daml4Jess
Indicator of whether to do Rete.run() after loading a DAML resource.

S

setAction(String) - Method in class QasmTextUI.QasmCommand
 
setD4jLogLevel(int) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Set daml4jess output level.
setD4jLogWriter(Writer) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Set the log output writer.
setData(String) - Method in class QasmTextUI.QasmCommand
 
setDependencyId(String) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Set the dependency id of the resources to be loaded.
setInsertAnonymous(boolean) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Set the flag of whether to insert (include) anonymous predicates (from the anonymous node).
setJessInputRouter(String, Reader) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Set Jess input router.
setJessOutputRouter(String, Writer) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Set Jess output router.
setLogger(D4jLogger) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Set the logger, which will be used for logging information.
setPrompt(String) - Method in class edu.umbc.cs.daml4jess.TextCmdReader
Set the command line prompt.
statement(AResource, AResource, ALiteral) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Handling a RDF statement.
statement(AResource, AResource, AResource) - Method in class edu.umbc.cs.daml4jess.D4jRdf2Jess
Handling a RDF statement.
STDERR - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
Reserved output file name for standard error output.
STDIN - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
Reserved input file name for standard input.
STDOUT - Static variable in interface edu.umbc.cs.daml4jess.D4jLogger
Reserved output file name for standard output.
subject_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
sureLoadDAML(InputStream, String, boolean, int) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load daml resource from the given input stream.
sureLoadRDF(InputStream, String, boolean) - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Load the RDF resource from the given input stream.

T

templatize(String) - Method in class edu.umbc.cs.daml4jess.DjkToD4j
Convert the jess rules in the given string into slot-based jess rules.
templatizeStatment(String, int) - Method in class edu.umbc.cs.daml4jess.DjkToD4j
This is where an old statement is converted to a new statement.
TextCmdReader - class edu.umbc.cs.daml4jess.TextCmdReader.
Generic input reader.
TextCmdReader() - Constructor for class edu.umbc.cs.daml4jess.TextCmdReader
Constructor.
TextCmdReader(InputStream, String) - Constructor for class edu.umbc.cs.daml4jess.TextCmdReader
Constructor.
TextCmdReader(Reader, String) - Constructor for class edu.umbc.cs.daml4jess.TextCmdReader
Constructor.
Thing - Static variable in class edu.umbc.cs.daml4jess.DAML
 
tmplName_ - Variable in class edu.umbc.cs.daml4jess.DjkToD4j
 
toJessQuery(String, String[]) - Static method in class edu.umbc.cs.daml4jess.D4jUtil
Write the given query name and arguments into Jess run-query format, e.g., (run-query *)
toString() - Method in class QasmTextUI.QasmCommand
 
type - Static variable in class edu.umbc.cs.daml4jess.RDF
 
typeCheck() - Method in class edu.umbc.cs.daml4jess.Daml4Jess
Checks to make sure all resources present in the KB have been given a type.

V

value - Static variable in class edu.umbc.cs.daml4jess.RDF
 

X

XmlUtil - class edu.umbc.cs.daml4jess.XmlUtil.
XML untility class.
XmlUtil() - Constructor for class edu.umbc.cs.daml4jess.XmlUtil
 

A B C D E F G H I L M N O P Q R S T V X