Constructor and Description |
---|
Helper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkConceptEntities(AbstractReasonerComponent rc,
org.semanticweb.owlapi.model.OWLClassExpression ce)
Checks whether all entities in the given class expression do also occur in the knowledge base.
|
static org.semanticweb.owlapi.model.OWLClass |
checkConcepts(AbstractReasonerComponent rs,
Set<org.semanticweb.owlapi.model.OWLClass> concepts)
Checks whether the roles exist in background knowledge
|
static <T extends org.semanticweb.owlapi.model.OWLEntity> |
checkEntities(AbstractReasonerComponent rs,
Set<T> entities)
Checks whether the entities exist in background knowledge
|
static void |
checkIndividuals(AbstractReasonerComponent reasoner,
Set<org.semanticweb.owlapi.model.OWLIndividual> individuals) |
static org.semanticweb.owlapi.model.OWLObjectProperty |
checkRoles(AbstractReasonerComponent rs,
Set<org.semanticweb.owlapi.model.OWLObjectProperty> roles)
Checks whether the roles exist in background knowledge
|
static Set<org.semanticweb.owlapi.model.OWLClass> |
computeConcepts(AbstractReasonerComponent rs) |
static Set<org.semanticweb.owlapi.model.OWLClass> |
computeConceptsUsingIgnoreList(AbstractReasonerComponent rs,
Set<org.semanticweb.owlapi.model.OWLClass> ignoredConcepts) |
static <T extends org.semanticweb.owlapi.model.OWLEntity> |
computeEntities(AbstractReasonerComponent rs,
org.semanticweb.owlapi.model.EntityType<T> entityType) |
static <T extends org.semanticweb.owlapi.model.OWLEntity> |
computeEntitiesUsingIgnoreList(AbstractReasonerComponent rs,
org.semanticweb.owlapi.model.EntityType<T> entityType,
Set<T> ignoredEntites) |
static void |
displayProgressPercentage(int done,
int total) |
static SortedSet<org.semanticweb.owlapi.model.OWLIndividual> |
getIndividualSet(Collection<String> individuals) |
static SortedSetTuple<org.semanticweb.owlapi.model.OWLIndividual> |
getIndividualTuple(SortedSetTuple<String> tuple) |
static Map<String,SortedSet<String>> |
getStringMap(Map<org.semanticweb.owlapi.model.OWLIndividual,SortedSet<org.semanticweb.owlapi.model.OWLIndividual>> roleMembers) |
static SortedSet<String> |
getStringSet(Collection<org.semanticweb.owlapi.model.OWLIndividual> individuals) |
static SortedSetTuple<String> |
getStringTuple(SortedSetTuple<org.semanticweb.owlapi.model.OWLIndividual> tuple) |
static <T> Set<T> |
intersectionTuple(Set<T> set,
SortedSetTuple<T> tuple) |
static String |
prettyPrintMilliSeconds(long milliSeconds) |
static String |
prettyPrintNanoSeconds(long nanoSeconds) |
static String |
prettyPrintNanoSeconds(long nanoSeconds,
boolean printMicros,
boolean printNanos) |
public Helper()
public static String prettyPrintNanoSeconds(long nanoSeconds)
public static String prettyPrintNanoSeconds(long nanoSeconds, boolean printMicros, boolean printNanos)
public static String prettyPrintMilliSeconds(long milliSeconds)
public static <T> Set<T> intersectionTuple(Set<T> set, SortedSetTuple<T> tuple)
public static SortedSet<org.semanticweb.owlapi.model.OWLIndividual> getIndividualSet(Collection<String> individuals)
public static SortedSetTuple<org.semanticweb.owlapi.model.OWLIndividual> getIndividualTuple(SortedSetTuple<String> tuple)
public static SortedSetTuple<String> getStringTuple(SortedSetTuple<org.semanticweb.owlapi.model.OWLIndividual> tuple)
public static SortedSet<String> getStringSet(Collection<org.semanticweb.owlapi.model.OWLIndividual> individuals)
public static Map<String,SortedSet<String>> getStringMap(Map<org.semanticweb.owlapi.model.OWLIndividual,SortedSet<org.semanticweb.owlapi.model.OWLIndividual>> roleMembers)
public static <T extends org.semanticweb.owlapi.model.OWLEntity> Set<T> computeEntities(AbstractReasonerComponent rs, org.semanticweb.owlapi.model.EntityType<T> entityType)
public static Set<org.semanticweb.owlapi.model.OWLClass> computeConcepts(AbstractReasonerComponent rs)
public static <T extends org.semanticweb.owlapi.model.OWLEntity> Set<T> computeEntitiesUsingIgnoreList(AbstractReasonerComponent rs, org.semanticweb.owlapi.model.EntityType<T> entityType, Set<T> ignoredEntites)
public static Set<org.semanticweb.owlapi.model.OWLClass> computeConceptsUsingIgnoreList(AbstractReasonerComponent rs, Set<org.semanticweb.owlapi.model.OWLClass> ignoredConcepts)
public static org.semanticweb.owlapi.model.OWLObjectProperty checkRoles(AbstractReasonerComponent rs, Set<org.semanticweb.owlapi.model.OWLObjectProperty> roles)
roles
- The roles to check.public static <T extends org.semanticweb.owlapi.model.OWLEntity> T checkEntities(AbstractReasonerComponent rs, Set<T> entities)
entities
- The entities to check.public static org.semanticweb.owlapi.model.OWLClass checkConcepts(AbstractReasonerComponent rs, Set<org.semanticweb.owlapi.model.OWLClass> concepts)
concepts
- The concepts to check.public static boolean checkConceptEntities(AbstractReasonerComponent rc, org.semanticweb.owlapi.model.OWLClassExpression ce)
ce
- The concept to check.true
if all entities of the class expression occur in the knowledge base,
otherwise false
public static void checkIndividuals(AbstractReasonerComponent reasoner, Set<org.semanticweb.owlapi.model.OWLIndividual> individuals) throws ComponentInitException
ComponentInitException
public static void displayProgressPercentage(int done, int total)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann