From: <dc...@us...> - 2012-03-27 10:50:42
|
Revision: 3621 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3621&view=rev Author: dcherix Date: 2012-03-27 10:50:33 +0000 (Tue, 27 Mar 2012) Log Message: ----------- Added Paths: ----------- trunk/test/newcomponent/ trunk/test/newcomponent/AristotlePosNeg.conf Added: trunk/test/newcomponent/AristotlePosNeg.conf =================================================================== --- trunk/test/newcomponent/AristotlePosNeg.conf (rev 0) +++ trunk/test/newcomponent/AristotlePosNeg.conf 2012-03-27 10:50:33 UTC (rev 3621) @@ -0,0 +1,49 @@ +/** + * Some people from Greece. + * Note: DBpedia is always subject to change, solutions will change over time + + * Possible Solution: + * Theorist OR (Mathematician AND Physicist) + * + * This is the same as AristotlePos.conf, but positives and negatives + */ + + +// SPARQL options +sparql.type = "sparqls" +sparql.endpointURL = "http://live.dbpedia.org/sparql" +sparql.defaultGraphURIs = {"http://dbpedia.org"} +sparql.recursionDepth = 1 + +sparql.instances = { +"http://dbpedia.org/resource/Democritus", +"http://dbpedia.org/resource/Zeno_of_Elea", +"http://dbpedia.org/resource/Plato", +"http://dbpedia.org/resource/Socrates", +"http://dbpedia.org/resource/Archytas", +"http://dbpedia.org/resource/Pythagoras", +"http://dbpedia.org/resource/Philolaus" +} + +reasoner.type = "fast instance checker" +reasoner.sources = {sparql} + + +// we want to learn from positive and negative examples +lp.type = "posNegStandard" +lp.positiveExamples = { +"http://dbpedia.org/resource/Archytas", +"http://dbpedia.org/resource/Pythagoras", +"http://dbpedia.org/resource/Philolaus" +} +lp.negativeExamples = { +"http://dbpedia.org/resource/Democritus", +"http://dbpedia.org/resource/Zeno_of_Elea", +"http://dbpedia.org/resource/Plato", +"http://dbpedia.org/resource/Socrates" +} +lp.reasoner = reasoner + +// we use the OCEL algorithm +alg.type = "ocel" +alg.reasoner = reasoner This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |