public abstract class AbstractSchemaGenerator extends Object implements SchemaGenerator
Modifier and Type | Field and Description |
---|---|
protected Set<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>> |
axiomTypes |
protected SortedSet<org.semanticweb.owlapi.model.OWLEntity> |
entities |
protected Set<org.semanticweb.owlapi.model.EntityType<? extends org.semanticweb.owlapi.model.OWLEntity>> |
entityTypes |
protected org.semanticweb.owlapi.profiles.OWLProfile |
owlProfile |
protected AxiomLearningProgressMonitor |
progressMonitor |
protected org.aksw.jena_sparql_api.core.QueryExecutionFactory |
qef |
protected SPARQLReasoner |
reasoner |
Constructor and Description |
---|
AbstractSchemaGenerator(org.apache.jena.rdf.model.Model model) |
AbstractSchemaGenerator(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToKnowledgebase(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
Add the axioms to the running knowledge base.
|
protected Set<org.semanticweb.owlapi.model.OWLAxiom> |
applyLearningAlgorithm(org.semanticweb.owlapi.model.OWLEntity entity,
org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType) |
protected SortedSet<org.semanticweb.owlapi.model.OWLEntity> |
getEntities()
Return the entities contained in the current knowledge base.
|
protected <T extends org.semanticweb.owlapi.model.OWLEntity> |
getEntities(org.semanticweb.owlapi.model.EntityType<T> entityType)
Return the entities contained in the current knowledge base for the given entity type.
|
void |
setAccuracyThreshold(double accuracyThreshold) |
void |
setAxiomTypes(org.semanticweb.owlapi.profiles.OWLProfile owlProfile)
Set the types of axioms that are generated by giving an OWL profile.
|
void |
setAxiomTypes(Set<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>> axiomTypes)
Set the types of axioms that are generated.
|
void |
setEntities(SortedSet<org.semanticweb.owlapi.model.OWLEntity> entities) |
void |
setEntityTypes(Set<org.semanticweb.owlapi.model.EntityType<? extends org.semanticweb.owlapi.model.OWLEntity>> entityTypes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateSchema
protected org.aksw.jena_sparql_api.core.QueryExecutionFactory qef
protected org.semanticweb.owlapi.profiles.OWLProfile owlProfile
protected SPARQLReasoner reasoner
protected AxiomLearningProgressMonitor progressMonitor
protected Set<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>> axiomTypes
protected Set<org.semanticweb.owlapi.model.EntityType<? extends org.semanticweb.owlapi.model.OWLEntity>> entityTypes
protected SortedSet<org.semanticweb.owlapi.model.OWLEntity> entities
public AbstractSchemaGenerator(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef)
public AbstractSchemaGenerator(org.apache.jena.rdf.model.Model model)
public void setAxiomTypes(Set<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>> axiomTypes)
axiomTypes
- the axiom types to setpublic void setAxiomTypes(org.semanticweb.owlapi.profiles.OWLProfile owlProfile)
owlProfile
- the OWL profilepublic void setEntityTypes(Set<org.semanticweb.owlapi.model.EntityType<? extends org.semanticweb.owlapi.model.OWLEntity>> entityTypes)
public void setEntities(SortedSet<org.semanticweb.owlapi.model.OWLEntity> entities)
entities
- the entities to setprotected SortedSet<org.semanticweb.owlapi.model.OWLEntity> getEntities()
protected <T extends org.semanticweb.owlapi.model.OWLEntity> SortedSet<T> getEntities(org.semanticweb.owlapi.model.EntityType<T> entityType)
entityType
- the entity typepublic void setAccuracyThreshold(double accuracyThreshold)
accuracyThreshold
- the accuracyThreshold to setprotected Set<org.semanticweb.owlapi.model.OWLAxiom> applyLearningAlgorithm(org.semanticweb.owlapi.model.OWLEntity entity, org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType) throws Exception
Exception
protected void addToKnowledgebase(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
axioms
- the axiomsCopyright © 2007–2016 AKSW, Department of Computer Science, University of Leipzig. All rights reserved.