public OWLIndividualAxiom translate(DataPropertyAssertion opa) { IRI roleIRI = IRI.create(opa.getProperty().getName()); OWLDataProperty property = dataFactory.getOWLDataProperty(roleIRI); OWLIndividual subject = translate(opa.getSubject()); OWLLiteral object = translate(opa.getValue()); return dataFactory.getOWLDataPropertyAssertionAxiom(property, subject, object); }
IRI iri = dpa.getProperty().getIRI(); Integer counter = failures.get(iri); if (counter == null)
private static Statement createStatement(DataPropertyAssertion assertion) { return fact.createStatement(getResource(assertion.getSubject()), createURI(assertion.getProperty().getIRI().getIRIString()), getLiteral(assertion.getValue()) ); }
private static Statement createStatement(DataPropertyAssertion assertion) { return fact.createStatement(getResource(assertion.getSubject()), createURI(assertion.getProperty().getPredicate().getName()), getLiteral(assertion.getValue()) ); }
private void process(Connection conn, DataPropertyAssertion ax, PreparedStatement uriidStm, Map<SemanticIndexViewID, PreparedStatement> stmMap) throws SQLException { DataPropertyExpression dpe0 = ax.getProperty(); DataPropertyExpression dpe = reasonerDag.dataPropertiesDAG().getCanonicalForm(dpe0); int idx = cacheSI.getEntry(dpe).getIndex(); ObjectConstant subject = ax.getSubject(); int uri_id = getObjectConstantUriId(subject, uriidStm); ValueConstant object = ax.getValue();
for (DataPropertyAssertion da : das) { IRIConstant s = (IRIConstant) da.getSubject(); ValueConstant o = da.getValue(); IRI propertyIRI = da.getProperty().getIRI();
for (DataPropertyAssertion da : das) { URIConstant s = (URIConstant) da.getSubject(); ValueConstant o = da.getValue(); Predicate p = da.getProperty().getPredicate();