From: <jen...@us...> - 2008-10-13 09:35:56
|
Revision: 1369 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1369&view=rev Author: jenslehmann Date: 2008-10-13 09:34:50 +0000 (Mon, 13 Oct 2008) Log Message: ----------- beautification of some conf files Modified Paths: -------------- trunk/examples/semantic_bible/woman.conf trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf trunk/examples/sparql/scrobble.conf trunk/src/dl-learner/org/dllearner/Info.java trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java Modified: trunk/examples/semantic_bible/woman.conf =================================================================== --- trunk/examples/semantic_bible/woman.conf 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/examples/semantic_bible/woman.conf 2008-10-13 09:34:50 UTC (rev 1369) @@ -1,8 +1,7 @@ - /** +/** + * Women in Semantic Bible. */ - -// export("arch.owl"); import("NTNcombined.owl"); algorithm = refexamples; Modified: trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf =================================================================== --- trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf 2008-10-13 09:34:50 UTC (rev 1369) @@ -1,29 +1,19 @@ - /* - * Some woman, that are Politicians - - Note: DBpedia is always subject to change, solutions will change over time - - Solution - http://dbpedia.org/class/yago/Executive110069645 (length 1, depth 1) - http://dbpedia.org/class/yago/CorporateExecutive109966255 (length 1, depth 1) - http://dbpedia.org/class/yago/President110468559 (length 1, depth 1) +/* + * Some woman, who are politicians. + * + * Note: DBpedia is always subject to change. Solutions will change over time. + * + * Solution: + * http://dbpedia.org/class/yago/Executive110069645 + * http://dbpedia.org/class/yago/CorporateExecutive109966255 + * http://dbpedia.org/class/yago/President110468559 */ // SPARQL options - - - -// SPARQL options -//necessary: sparql.recursionDepth = 1; - - -//predefined filter (1 = YAGO based learning) -// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter sparql.predefinedFilter = "YAGO"; sparql.predefinedEndpoint = "DBPEDIA"; - import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); sparql.instances = { @@ -34,12 +24,10 @@ "http://dbpedia.org/resource/Angela_Merkel", "http://dbpedia.org/resource/Christine_Todd_Whitman"}; - - /** examples **/ +"http://dbpedia.org/resource/Indira_Gandhi" +"http://dbpedia.org/resource/Sonia_Gandhi" -"http://dbpedia.org/resource/Hillary_Rodham_Clinton" -"http://dbpedia.org/resource/Princess_Leia_Organa" -"http://dbpedia.org/resource/Angela_Merkel" --"http://dbpedia.org/resource/Christine_Todd_Whitman" \ No newline at end of file +-"http://dbpedia.org/resource/Christine_Todd_Whitman" Modified: trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf =================================================================== --- trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf 2008-10-13 09:34:50 UTC (rev 1369) @@ -18,19 +18,12 @@ */ -// SPARQL options - - refinement.useAllConstructor = false; //refinement.useExistsConstructor = true; refinement.useNegation = false; -// recursion depth of extraction algorithm +// SPARQL options sparql.recursionDepth = 1; - - -//predefined filter (1 = YAGO based learning) -// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter sparql.predefinedFilter = "YAGO"; sparql.predefinedEndpoint = "DBPEDIA"; @@ -48,14 +41,10 @@ }; - - - /** examples **/ +"http://dbpedia.org/resource/Tony_Blair" +"http://dbpedia.org/resource/Margaret_Thatcher" +"http://dbpedia.org/resource/John_Major" - +"http://dbpedia.org/resource/James_Callaghan" -"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" Modified: trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf =================================================================== --- trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf 2008-10-13 09:34:50 UTC (rev 1369) @@ -1,27 +1,5 @@ - /* -Note: DBpedia is always subject to change, solutions will change over time - - - - - */ - // SPARQL options - -refinement.heuristic = flexible; - -refinement.useAllConstructor = false; -//refinement.useExistsConstructor = true; -refinement.useNegation = false; - -// SPARQL options -//necessary: -// recursion depth of extraction algorithm sparql.recursionDepth = 1; - - -//predefined filter (1 = YAGO based learning) -// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter sparql.predefinedFilter = "YAGO"; sparql.predefinedEndpoint = "DBPEDIA"; @@ -32,7 +10,6 @@ ,"http://dbpedia.org/resource/Margaret_Thatcher" ,"http://dbpedia.org/resource/John_Major" - ,"http://dbpedia.org/resource/Harold_Macmillan" ,"http://dbpedia.org/resource/Alec_Douglas-Home" ,"http://dbpedia.org/resource/Liaquat_Ali_Khan" @@ -43,14 +20,11 @@ }; - - /** examples **/ +"http://dbpedia.org/resource/Tony_Blair" +"http://dbpedia.org/resource/Margaret_Thatcher" +"http://dbpedia.org/resource/John_Major" - +"http://dbpedia.org/resource/Harold_Macmillan" +"http://dbpedia.org/resource/Alec_Douglas-Home" -"http://dbpedia.org/resource/Liaquat_Ali_Khan" Modified: trunk/examples/sparql/scrobble.conf =================================================================== --- trunk/examples/sparql/scrobble.conf 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/examples/sparql/scrobble.conf 2008-10-13 09:34:50 UTC (rev 1369) @@ -24,9 +24,9 @@ refexamples.useAllConstructor = false; refexamples.useCardinalityRestrictions = false; -refexamples.writeSearchTree = true; -refexamples.searchTreeFile = "log/searchtree.txt"; -refexamples.replaceSearchTree = true; +// refexamples.writeSearchTree = true; +// refexamples.searchTreeFile = "log/searchtree.txt"; +// refexamples.replaceSearchTree = true; reasoner = fastInstanceChecker; Modified: trunk/src/dl-learner/org/dllearner/Info.java =================================================================== --- trunk/src/dl-learner/org/dllearner/Info.java 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/src/dl-learner/org/dllearner/Info.java 2008-10-13 09:34:50 UTC (rev 1369) @@ -3,6 +3,6 @@ package org.dllearner; public class Info { - public static final String build = "2008-10-09"; + public static final String build = "2008-10-13"; } \ No newline at end of file Modified: trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java =================================================================== --- trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java 2008-10-11 13:35:40 UTC (rev 1368) +++ trunk/src/dl-learner/org/dllearner/test/junit/ExampleTests.java 2008-10-13 09:34:50 UTC (rev 1369) @@ -89,17 +89,18 @@ // ignored due to errors (should be fixed; in case of long running problems or // our of memory, it is better to increase the noise parameter and add comments // in the conf file about "optimal" parameters) + + // problems before latest release (kept to see if errors re-occurr, + // delete before next release) // ignore.add("./examples/sparql/govtrack.conf"); // HTTP 500 Server error - ignore.add("./examples/sparql/musicbrainz.conf"); // HTTP 502 error - NullPointer in extraction //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/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) //also working fine ignore.add("./examples/sparql/SilentBobWorking2.conf"); // Out of Memory Error // ignore.add("./examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf"); // Pellet: literal cannot be cast to individual // ignore.add("./examples/family-benchmark/Aunt.conf"); // did not terminate so far (waited 45 minutes) => disallowing ALL helps (TODO find out details) // ignore.add("./examples/krk/KRK_ZERO_against_1to5_fastInstance.conf"); // Out of Memory Error - //removed ignore.add("./examples/semantic_bible/normal_test.conf"); // did not terminate (waited 55 minutes) - + int failedCounter = 0; for (String path : confFiles.keySet()) { for (String file : confFiles.get(path)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |