/** * (21) * * DataPropertyAssertion := 'DataPropertyAssertion' '(' axiomAnnotations * DataPropertyExpression sourceIndividual targetValue ')' */ @Override public void visit(OWLDataPropertyAssertionAxiom ax) { try { IRIConstant c1 = getIndividual(ax.getSubject()); ValueConstant c2 = getValueOfLiteral(ax.getObject()); DataPropertyExpression dpe = getPropertyExpression(ax.getProperty(), builder.dataProperties()); builder.addDataPropertyAssertion(dpe, c1, c2); } catch (InconsistentOntologyException e) { log.warn(INCONSISTENT_ONTOLOGY, ax); throw new RuntimeException(INCONSISTENT_ONTOLOGY_EXCEPTION_MESSAGE + ax); } catch (TranslationException e) { log.warn(NOT_SUPPORTED_EXT, ax, e.getMessage()); } }