OWLDataProperty pDouble = DataProperty( ns + "pDouble" );
OWLDataProperty pBoolean = DataProperty( ns + "pBoolean" );
OWLIndividual ind = Individual( ns + "ind1" );
OWLConstant valDouble = ind.getDataPropertyValues( ont ).get(pDouble).iterator().next();
OWLConstant valInt = ind.getDataPropertyValues( ont ).get(pInt).iterator().next();
OWLConstant valBoolean = ind.getDataPropertyValues( ont ).get( pBoolean ).iterator().next();
assertTrue( reasoner.isConsistent() );
removeAxioms(ont, propertyAssertion( ind, pDouble, valDouble ) );
reasoner.refresh();
assertTrue( reasoner.getRelatedValues( ind, pDouble ).isEmpty() );
removeAxioms( ont, propertyAssertion( ind, pInt, valInt ) );
reasoner.refresh();
assertTrue( reasoner.getRelatedValues( ind, pInt ).isEmpty() );
removeAxioms( ont, propertyAssertion( ind, pBoolean, valBoolean ) );
reasoner.refresh();
assertTrue( reasoner.getRelatedValues( ind, pBoolean ).isEmpty() );
assertTrue( reasoner.getDataPropertyRelationships( ind ).isEmpty() );
OWLConstant newVal = constant( "0.0", XSD.DOUBLE );
addAxioms( ont, propertyAssertion( ind, pDouble, newVal ) );
reasoner.refresh();
assertTrue( reasoner.isConsistent() );
}