private boolean isNotDeprecatedTopLevelEntity(OWLEntity parent, OWLEntity child) { return !(parent.isTopEntity() && deprecatedEntityChecker.isDeprecated(child)); } }
protected static boolean thingOrNothing(OWLEntity entity) { return entity.isOWLClass() && (entity.isTopEntity() || entity.isBottomEntity()); }
protected static boolean thingOrNothing(OWLEntity entity) { return entity.isOWLClass() && (entity.isTopEntity() || entity.isBottomEntity()); }
protected static boolean thingOrNothing(OWLEntity entity) { return entity.isOWLClass() && (entity.isTopEntity() || entity.isBottomEntity()); }
protected static boolean thingOrNothing(OWLEntity entity) { return entity.isOWLClass() && (entity.isTopEntity() || entity.isBottomEntity()); }
/** * helper for entities TODO: checks only C top-locality, not R */ @Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return anyUpperValue(); } if (entity.isBottomEntity()) { return noUpperValue(); } return getAllNoneUpper(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noUpperValue(); } if (entity.isBottomEntity()) { return anyUpperValue(); } return getAllNoneUpper(botCLocal() && nc(entity)); }
/** * helper for entities TODO: checks only C top-locality, not R */ @Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return anyUpperValue(); } if (entity.isBottomEntity()) { return noUpperValue(); } return getAllNoneUpper(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noUpperValue(); } if (entity.isBottomEntity()) { return anyUpperValue(); } return getAllNoneUpper(botCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noUpperValue(); } if (entity.isBottomEntity()) { return anyUpperValue(); } return getAllNoneUpper(botCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noUpperValue(); } if (entity.isBottomEntity()) { return anyUpperValue(); } return getAllNoneUpper(botCLocal() && nc(entity)); }
/** * helper for entities TODO: checks only C top-locality, not R */ @Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return anyUpperValue(); } if (entity.isBottomEntity()) { return noUpperValue(); } return getAllNoneUpper(topCLocal() && nc(entity)); }
/** * helper for entities TODO: checks only C top-locality, not R */ @Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return anyUpperValue(); } if (entity.isBottomEntity()) { return noUpperValue(); } return getAllNoneUpper(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { if (OWLRDFVocabulary.OWL_THING.getIRI().equals(entity.getIRI())) { return 1; } return anyLowerValue(); } if (entity.isBottomEntity()) { return noLowerValue(); } return getOneNoneLower(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { if (OWLRDFVocabulary.OWL_THING.getIRI().equals(entity.getIRI())) { return 1; } return anyLowerValue(); } if (entity.isBottomEntity()) { return noLowerValue(); } return getOneNoneLower(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { if (OWLRDFVocabulary.OWL_THING.getIRI().equals(entity.getIRI())) { return 1; } return anyLowerValue(); } if (entity.isBottomEntity()) { return noLowerValue(); } return getOneNoneLower(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { if (OWLRDFVocabulary.OWL_THING.getIRI().equals(entity.getIRI())) { return 1; } return anyLowerValue(); } if (entity.isBottomEntity()) { return noLowerValue(); } return getOneNoneLower(topCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noLowerValue(); } if ((entity.isOWLObjectProperty() || entity.isOWLDataProperty() || entity.isOWLDatatype()) && entity .isBottomEntity()) { return anyLowerValue(); } if (entity.isBottomEntity()) { return 1; } return getOneNoneLower(botCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noLowerValue(); } if ((entity.isOWLObjectProperty() || entity.isOWLDataProperty() || entity.isOWLDatatype()) && entity .isBottomEntity()) { return anyLowerValue(); } if (entity.isBottomEntity()) { return 1; } return getOneNoneLower(botCLocal() && nc(entity)); }
@Override int getEntityValue(OWLEntity entity) { if (entity.isTopEntity()) { return noLowerValue(); } if ((entity.isOWLObjectProperty() || entity.isOWLDataProperty() || entity.isOWLDatatype()) && entity .isBottomEntity()) { return anyLowerValue(); } if (entity.isBottomEntity()) { return 1; } return getOneNoneLower(botCLocal() && nc(entity)); }