org.dllearner.utilities.examples
Class AutomaticNegativeExampleFinderSPARQL2

java.lang.Object
  extended by org.dllearner.utilities.examples.AutomaticNegativeExampleFinderSPARQL2

public class AutomaticNegativeExampleFinderSPARQL2
extends Object

Utility class for automatically retrieving negative examples from a SPARQL endpoint given a set of positive examples.

Author:
Jens Lehmann, Sebastian Hellmann

Constructor Summary
AutomaticNegativeExampleFinderSPARQL2(SparqlEndpoint se)
           
 
Method Summary
 SortedSet<String> getNegativeExamples(String classURI, SortedSet<String> positiveExamples)
          Get negative examples when learning the description of a class, i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomaticNegativeExampleFinderSPARQL2

public AutomaticNegativeExampleFinderSPARQL2(SparqlEndpoint se)
Method Detail

getNegativeExamples

public SortedSet<String> getNegativeExamples(String classURI,
                                             SortedSet<String> positiveExamples)
Get negative examples when learning the description of a class, i.e. all positives are from some known class. Currently, the method implementation is preliminary and does not allow to configure internals.

Parameters:
classURI - The known class of all positive examples.
positiveExamples - The existing positive examples.


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann