From: <ku...@us...> - 2011-11-28 15:20:48
|
Revision: 3447 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3447&view=rev Author: kurzum Date: 2011-11-28 15:20:35 +0000 (Mon, 28 Nov 2011) Log Message: ----------- sparql yet another approach Modified Paths: -------------- trunk/examples/sparql/new_approach.conf Added Paths: ----------- trunk/examples/sparql/new_approach_data_include.conf Modified: trunk/examples/sparql/new_approach.conf =================================================================== --- trunk/examples/sparql/new_approach.conf 2011-11-28 14:44:48 UTC (rev 3446) +++ trunk/examples/sparql/new_approach.conf 2011-11-28 15:20:35 UTC (rev 3447) @@ -73,8 +73,6 @@ Filter ( ?class LIKE <http://dbpedia.org/ontology/%> ) . } " - - reasoner.type = "fast instance checker" reasoner.sources = {ks1, ks2, ks3, ks4 } @@ -92,3 +90,7 @@ // we use the OCEL algorithm alg.type = "ocel" alg.operator = op + +alg.maxExecutionTimeInSeconds = 20 +//alg.terminateOnNoiseReached = false +alg.noisePercentage = 5 Added: trunk/examples/sparql/new_approach_data_include.conf =================================================================== --- trunk/examples/sparql/new_approach_data_include.conf (rev 0) +++ trunk/examples/sparql/new_approach_data_include.conf 2011-11-28 15:20:35 UTC (rev 3447) @@ -0,0 +1,36 @@ + + +ks1.type = "OWL File" +ks1.url = "http://dbpedia.org/sparql" +ks1.defaultGraphURIs= {"http://dbpedia.org"} +ks1.sparql = " +Construct { +<http://dbpedia.org/resource/Berlin> a <http://dbpedia.org/ontology/City> , owl:Thing . +<http://dbpedia.org/resource/City> a owl:Class. +<http://dbpedia.org/resource/London> a <http://dbpedia.org/ontology/Town> , owl:Thing . +<http://dbpedia.org/resource/Town> a owl:Class . +} +{ +} " + +reasoner.type = "fast instance checker" +reasoner.sources = {ks1} + +lp.type = "posNegStandard" +lp.positiveExamples = {"http://dbpedia.org/resource/Berlin"} +lp.negativeExamples = {"http://dbpedia.org/resource/London"} + +// create a refinement operator and configure it +op.type = "rho" +op.useNegation = false +op.useAllConstructor = false +op.useCardinalityRestrictions = false +op.reasoner = reasoner + +// we use the OCEL algorithm +alg.type = "ocel" +alg.operator = op + +alg.maxExecutionTimeInSeconds = 20 +//alg.terminateOnNoiseReached = false +alg.noisePercentage = 5 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |