/FileExtraction/Java_unseen/dice-group_REX/src/main/java/org/aksw/rex/domainidentifier/DomainIdentifier.java
package org.aksw.rex.domainidentifier;

import java.net.URL;
import java.util.Set;

import org.aksw.rex.util.Pair;

import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.Resource;
/**
 * Interface to identify a good domain for a given predicate to extract possibly good RDF triple
 * @author r.usbeck
 *
 */
public interface DomainIdentifier {
    URL getDomain(Property p, Set<Pair<Resource, Resource>> posExamples, Set<Pair<Resource, Resource>> negExamples, boolean useCache);
}
