" anonymous = " + prop.isAnonymous()); Logger.getLogger(OwlUtility.class).debug( " builtIn = " + prop.isBuiltIn()); Logger.getLogger(OwlUtility.class).debug( " entity type = " + prop.getEntityType());
protected void undeclaredDataProperty(OWLDataProperty property) { if (!property.isBuiltIn() && !property.getIRI().isReservedVocabulary() && !getCurrentOntology().isDeclared(property, INCLUDED)) { violations.add( new UseOfUndeclaredDataProperty(getCurrentOntology(), getCurrentAxiom(), property)); } }
protected void undeclaredDataProperty(OWLDataProperty property) { if (!property.isBuiltIn() && !property.getIRI().isReservedVocabulary() && !getCurrentOntology().isDeclared(property, INCLUDED)) { violations.add( new UseOfUndeclaredDataProperty(getCurrentOntology(), getCurrentAxiom(), property)); } }
protected void undeclaredDataProperty(OWLDataProperty property) { if (!property.isBuiltIn() && !property.getIRI().isReservedVocabulary() && !getCurrentOntology().isDeclared(property, INCLUDED)) { violations.add( new UseOfUndeclaredDataProperty(getCurrentOntology(), getCurrentAxiom(), property)); } }
public Object visit(OWLDataProperty property) { if (!property.isOWLTopDataProperty() && !property.isOWLBottomDataProperty()) { if (property.getIRI().isReservedVocabulary()) { profileViolations.add(new UseOfReservedVocabularyForDataPropertyIRI(getCurrentOntology(), getCurrentAxiom(), property)); } } if (!property.isBuiltIn() && !getCurrentOntology().isDeclared(property, true)) { profileViolations.add(new UseOfUndeclaredDataProperty(getCurrentOntology(), getCurrentAxiom(), property)); } if (getCurrentOntology().containsObjectPropertyInSignature(property.getIRI(), true)) { // TODO: Error } if (getCurrentOntology().containsAnnotationPropertyInSignature(property.getIRI(), true)) { // TODO: Error } return null; }