From: <sk...@us...> - 2008-10-28 09:21:03
|
Revision: 1467 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1467&view=rev Author: sknappe Date: 2008-10-28 09:18:18 +0000 (Tue, 28 Oct 2008) Log Message: ----------- bugfix Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-10-28 09:02:10 UTC (rev 1466) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-10-28 09:18:18 UTC (rev 1467) @@ -62,7 +62,7 @@ $this->client->applyConfigEntryBoolean($this->id, $this->ksID, "useCache", true); if(empty($negExamples)){ if ($settings->classSystem=="YAGO") $filterClasses=array("http://xmlns.com/foaf/","http://dbpedia.org/ontology/"); - else if ($settings->classSystem=="DBpedia") $filterClasses=array("http://xmlns.com/foaf/","http://dbpedia.org/class/yago/"); + else if ($settings->classSystem=="DBpedia") $filterClasses=array("http://xmlns.com/foaf/","http://dbpedia.org/class/yago/","http://dbpedia.org/ontology/Resource"); $negExamples=$this->client->getNegativeExamples($this->id,$this->ksID,$posExamples,count($posExamples),"http://dbpedia.org/resource/",$filterClasses); $negExamples=$negExamples->item; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |