| java.lang.Object com.hp.hpl.jena.reasoner.rulesys.test.DebugOWL
DebugOWL | public class DebugOWL (Code) | | Test harnness for investigating OWL reasoner correctness and performance
on specific local test files. Unit testing is done using OWLWGTester or simplar,
this code is a debugging tools rather than a tester.
author: Dave Reynolds version: $Revision: 1.34 $ on $Date: 2008/01/02 12:08:20 $ |
Constructor Summary | |
public | DebugOWL(int config) Construct an empty test harness. |
Method Summary | |
public void | createTest(int depth, int NS, int NI, boolean withProps) Create an artificial data set. | public void | init() Configure the inference graph ready for testing. | long | list(Node s, Node p, Node o, boolean print) Test and time an general access operation. | long | listC0(boolean print) | public void | listClassesOn(String filename) Run default test on a named file. | public void | load(String testFile) Load a test data set from file. | public void | load(String schemaFile, String testFile) Load both a schema and an instance data file. | public static void | main(String[] args) | public void | runListClassesTest(int depth, int NS, int NI, boolean withProps) Create and run a list classes test. | public void | runVolz(int depth, int NS, int NI, boolean withProps) Create and run a volz test. | public void | runVolz() |
EXPT | final public static int EXPT(Code) | | reasoner config: experimental ruleset and config
|
OWL | final public static int OWL(Code) | | reasoner config: normal OWL forward
|
OWLExpt | final public static int OWLExpt(Code) | | reasoner config: experimental OWL
|
OWLFB | final public static int OWLFB(Code) | | reasoner config: normal OWL-FB
|
RDFSFB | final public static int RDFSFB(Code) | | reasoner config: normal RDFS
|
RDFSFinal | final public static int RDFSFinal(Code) | | reasoner config: final RDFS - hybrid + TGC
|
RDFSLPExpt | final public static int RDFSLPExpt(Code) | | reasoner config: LP RDFS exp
|
concepts | Node[] concepts(Code) | | Concepts created by testGenerator, [layer, index]
|
instances | Node[] instances(Code) | | Instances of each concept
|
properties | Node[] properties(Code) | | Instance properties
|
schema | Graph schema(Code) | | The (optional) schema graph used in interpreting the test data
|
testdata | Graph testdata(Code) | | The raw tests data as a Graph
|
DebugOWL | public DebugOWL(int config)(Code) | | Construct an empty test harness.
|
createTest | public void createTest(int depth, int NS, int NI, boolean withProps)(Code) | | Create an artificial data set. This variant puts schema and
instance data into the same testdata graph.
Parameters: depth - the depth of the concept tree Parameters: NS - the number of subclasses at each tree level Parameters: NI - the number of instances of each concept Parameters: withProps - if true then properties are created for each concept and instiated for every third instance |
init | public void init()(Code) | | Configure the inference graph ready for testing.
|
list | long list(Node s, Node p, Node o, boolean print)(Code) | | Test and time an general access operation.
|
listC0 | long listC0(boolean print)(Code) | | Test and time an predefined class extension listing
|
listClassesOn | public void listClassesOn(String filename)(Code) | | Run default test on a named file.
|
load | public void load(String testFile)(Code) | | Load a test data set from file.
|
load | public void load(String schemaFile, String testFile)(Code) | | Load both a schema and an instance data file.
|
runListClassesTest | public void runListClassesTest(int depth, int NS, int NI, boolean withProps)(Code) | | Create and run a list classes test.
|
runVolz | public void runVolz(int depth, int NS, int NI, boolean withProps)(Code) | | Create and run a volz test.
|
runVolz | public void runVolz()(Code) | | Run a standard test squence based on Volz et al sets
|
|
|