public static void main(String[] args) throws IOException { String resultFile = "owl-results.rdf"; if (args.length >= 1) { resultFile = args[0]; } WebOntTestHarness harness = new WebOntTestHarness(); harness.runTests(); // harness.runTest("http://www.w3.org/2002/03owlt/AnnotationProperty/Manifest004#test"); // harness.runTest("http://www.w3.org/2002/03owlt/AnnotationProperty/Manifest003#test"); // harness.runTest("http://www.w3.org/2002/03owlt/Thing/Manifest001#test"); // harness.runTest("http://www.w3.org/2002/03owlt/Thing/Manifest002#test"); // harness.runTest("http://www.w3.org/2002/03owlt/Thing/Manifest003#test"); // harness.runTest("http://www.w3.org/2002/03owlt/Thing/Manifest004#test"); // harness.runTest("http://www.w3.org/2002/03owlt/Thing/Manifest005#test"); RDFWriter writer = harness.testResults.getWriter("RDF/XML-ABBREV"); OutputStream stream = new FileOutputStream(resultFile); writer.setProperty("showXmlDeclaration", "true"); harness.testResults.setNsPrefix("", "http://www.w3.org/1999/xhtml"); writer.write(harness.testResults, stream, BASE_RESULTS_URI); }