org.dllearner.utilities.examples
Class AutomaticNegativeExampleFinderSPARQL2
java.lang.Object
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
AutomaticNegativeExampleFinderSPARQL2
public AutomaticNegativeExampleFinderSPARQL2(SparqlEndpoint se)
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.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann