From: <jen...@us...> - 2010-08-04 14:42:25
|
Revision: 2237 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=2237&view=rev Author: jenslehmann Date: 2010-08-04 14:42:19 +0000 (Wed, 04 Aug 2010) Log Message: ----------- * created a directory test, which can be used for content in alpha/beta status, files required for unit tests or to reproduce issues/bugs * moved some content from /examples to /test Modified Paths: -------------- trunk/examples/sparql/scrobble.conf trunk/examples/sparql/scrobble.kb trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java Added Paths: ----------- trunk/test/ trunk/test/alzheimer/ trunk/test/ore/ trunk/test/suramin/ trunk/test/testDomainRange/ trunk/test/testReasoners/ Removed Paths: ------------- trunk/examples/alzheimer/ trunk/examples/ore/ trunk/examples/suramin/ trunk/examples/testDomainRange/ trunk/examples/testReasoners/ trunk/resources/test/ Modified: trunk/examples/sparql/scrobble.conf =================================================================== --- trunk/examples/sparql/scrobble.conf 2010-08-04 11:29:59 UTC (rev 2236) +++ trunk/examples/sparql/scrobble.conf 2010-08-04 14:42:19 UTC (rev 2237) @@ -14,6 +14,9 @@ * * UK-Tag AND (Rock-Tag OR EXISTS bioEvent.Death) * + * Note as of 2010/08/04: Example seems to work only sometimes. Often it gets stuck without + * finding a solution (for no obvious reason). + * */ sparql.recursionDepth = 3; @@ -24,9 +27,10 @@ refexamples.useNegation = false; refexamples.useAllConstructor = false; refexamples.useCardinalityRestrictions = false; +refexamples.maxExecutionTimeInSeconds = 10; -// refexamples.writeSearchTree = true; -// refexamples.searchTreeFile = "log/searchtree.txt"; +refexamples.writeSearchTree = true; +refexamples.searchTreeFile = "log/searchtree.txt"; // refexamples.replaceSearchTree = true; reasoner = fastInstanceChecker; Modified: trunk/examples/sparql/scrobble.kb =================================================================== --- trunk/examples/sparql/scrobble.kb 2010-08-04 11:29:59 UTC (rev 2236) +++ trunk/examples/sparql/scrobble.kb 2010-08-04 14:42:19 UTC (rev 2237) @@ -5,11 +5,3 @@ // progressive rock is rock "http://dbtune.org/musicbrainz/resource/tag/29" SUBCLASSOF "http://dbtune.org/musicbrainz/resource/tag/7". -//repetition for valid xml by OWL API - -// english implies british -"http://dbtune.org/musicbrainz/resource/tag/tag1391" SUBCLASSOF "http://dbtune.org/musicbrainz/resource/tag/tag171". -// Britain = UK -"http://dbtune.org/musicbrainz/resource/tag/tag171" = "http://dbtune.org/musicbrainz/resource/tag/tag237". -// progressive rock is rock -"http://dbtune.org/musicbrainz/resource/tag/tag29" SUBCLASSOF "http://dbtune.org/musicbrainz/resource/tag/tag7". Modified: trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java =================================================================== --- trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java 2010-08-04 11:29:59 UTC (rev 2236) +++ trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java 2010-08-04 14:42:19 UTC (rev 2237) @@ -124,6 +124,8 @@ // our of memory, it is better to increase the noise parameter and add comments // in the conf file about "optimal" parameters) ignore.add("./examples/sparql/govtrack.conf"); // blank node handling error + ignore.add("./examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf"); // XML parse error (works sometimes) + //working fine here ignore.add("./examples/sparql/SKOSTEST_local.conf"); // Out of Memory Error // ignore.add("./examples/sparql/scrobble.conf"); // HTTP 502 Proxy Error // ignore.add("./examples/family-benchmark/Cousin.conf"); // Out of Memory Error => disallowing ALL helps (TODO find out details) @@ -165,7 +167,7 @@ start.getReasonerComponent().releaseKB(); success = true; } else { - System.out.println("Test skipped, because of GP/SPARQL settings."); + System.out.println("Test skipped, because of GP or SPARQL settings."); } } catch (Exception e) { // unit test not succesful (exceptions are caught explicitly to find This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |