From: <ku...@us...> - 2008-09-15 07:50:04
|
Revision: 1205 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1205&view=rev Author: kurzum Date: 2008-09-15 07:50:00 +0000 (Mon, 15 Sep 2008) Log Message: ----------- small changes Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/scripts/SemanticBible2.java trunk/src/dl-learner/org/dllearner/utilities/owl/ReasoningServiceFactory.java Modified: trunk/src/dl-learner/org/dllearner/scripts/SemanticBible2.java =================================================================== --- trunk/src/dl-learner/org/dllearner/scripts/SemanticBible2.java 2008-09-15 07:43:31 UTC (rev 1204) +++ trunk/src/dl-learner/org/dllearner/scripts/SemanticBible2.java 2008-09-15 07:50:00 UTC (rev 1205) @@ -124,8 +124,11 @@ ComponentManager cm =ComponentManager.getInstance(); try{ - + int i=0; for (File f : confs) { + if(i!=80){ + i++; continue; + } Cache.getDefaultCache().clearCache(); String fileContent = Files.readFile(f); @@ -396,7 +399,7 @@ "sparql.predefinedEndpoint = \"LOCALJOSEKIBIBLE\";\n"+ "sparql.getPropertyInformation = true;\n"+ "refexamples.maxExecutionTimeInSeconds = "+sparqllMaxExecution+";\n"+ - "import(\"lalala\",\"SPARQL\");\n"+ + "import(\"http://localhost:2020/bible\",\"SPARQL\");\n"+ getCombinedOptions()+ ""; return s; Modified: trunk/src/dl-learner/org/dllearner/utilities/owl/ReasoningServiceFactory.java =================================================================== --- trunk/src/dl-learner/org/dllearner/utilities/owl/ReasoningServiceFactory.java 2008-09-15 07:43:31 UTC (rev 1204) +++ trunk/src/dl-learner/org/dllearner/utilities/owl/ReasoningServiceFactory.java 2008-09-15 07:50:00 UTC (rev 1205) @@ -21,6 +21,7 @@ package org.dllearner.utilities.owl; import java.io.File; +import java.net.URL; import java.util.List; import org.dllearner.core.ComponentManager; @@ -69,7 +70,7 @@ // knowledge source KnowledgeSource ks = cm.knowledgeSource(OWLFile.class); - String fileURL = new File(ontologyFile).toURI().toString(); + URL fileURL = new File(ontologyFile).toURI().toURL(); cm.applyConfigEntry(ks, "url", fileURL); ks.init(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |