public class Enrichment extends Object
Constructor and Description |
---|
Enrichment(SparqlEndpointKS ks,
org.semanticweb.owlapi.model.OWLEntity resource,
double threshold,
int nrOfAxiomsToLearn,
boolean useInference,
boolean verbose,
int chunksize,
int maxExecutionTimeInSeconds,
boolean omitExistingAxioms) |
Enrichment(SparqlEndpoint se,
org.semanticweb.owlapi.model.OWLEntity resource,
double threshold,
int nrOfAxiomsToLearn,
boolean useInference,
boolean verbose,
int chunksize,
int maxExecutionTimeInSeconds,
boolean omitExistingAxioms) |
Modifier and Type | Method and Description |
---|---|
List<org.dllearner.cli.Enrichment.AlgorithmRun> |
getAlgorithmRuns() |
org.semanticweb.owlapi.model.EntityType<? extends org.semanticweb.owlapi.model.OWLEntity> |
getEntityType(String resourceURI) |
org.semanticweb.owlapi.model.OWLOntology |
getGeneratedOntology() |
org.semanticweb.owlapi.model.OWLOntology |
getGeneratedOntology(boolean withConfidenceAsAnnotations) |
static boolean |
hasHost(URL url) |
static boolean |
isLocalFile(URL url)
Whether the URL is a file in the local file system.
|
static void |
main(String[] args) |
void |
setAllowedNamespaces(List<String> allowedNamespaces) |
void |
setIterativeMode(boolean iterativeMode) |
void |
setProcessClasses(boolean processClasses) |
void |
setProcessDataProperties(boolean processDataProperties) |
void |
setProcessObjectProperties(boolean processObjectProperties) |
void |
setProcessPropertiesTypeInferred(boolean processPropertiesTypeInferred) |
void |
start() |
public Enrichment(SparqlEndpoint se, org.semanticweb.owlapi.model.OWLEntity resource, double threshold, int nrOfAxiomsToLearn, boolean useInference, boolean verbose, int chunksize, int maxExecutionTimeInSeconds, boolean omitExistingAxioms)
public Enrichment(SparqlEndpointKS ks, org.semanticweb.owlapi.model.OWLEntity resource, double threshold, int nrOfAxiomsToLearn, boolean useInference, boolean verbose, int chunksize, int maxExecutionTimeInSeconds, boolean omitExistingAxioms)
public void setAllowedNamespaces(List<String> allowedNamespaces)
public void setIterativeMode(boolean iterativeMode)
iterativeMode
- the iterativeMode to setpublic org.semanticweb.owlapi.model.EntityType<? extends org.semanticweb.owlapi.model.OWLEntity> getEntityType(String resourceURI)
public void start() throws ComponentInitException, IllegalArgumentException, SecurityException
public org.semanticweb.owlapi.model.OWLOntology getGeneratedOntology()
public org.semanticweb.owlapi.model.OWLOntology getGeneratedOntology(boolean withConfidenceAsAnnotations)
public List<org.dllearner.cli.Enrichment.AlgorithmRun> getAlgorithmRuns()
public void setProcessClasses(boolean processClasses)
processClasses
- the processClasses to setpublic void setProcessDataProperties(boolean processDataProperties)
processDataProperties
- the processDataProperties to setpublic void setProcessObjectProperties(boolean processObjectProperties)
processObjectProperties
- the processObjectProperties to setpublic void setProcessPropertiesTypeInferred(boolean processPropertiesTypeInferred)
processPropertiesTypeInferred
- the processPropertiesTypeInferred to setpublic static void main(String[] args) throws IOException, ComponentInitException, IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, LearningProblemUnsupportedException
public static boolean isLocalFile(URL url)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann