public OWLIndividualAxiom translate(ObjectPropertyAssertion opa) { IRI roleIRI = IRI.create(opa.getProperty().getName()); OWLObjectProperty property = dataFactory.getOWLObjectProperty(roleIRI); OWLIndividual subject = translate(opa.getSubject()); OWLIndividual object = translate(opa.getObject()); return dataFactory.getOWLObjectPropertyAssertionAxiom(property, subject, object); }
IRI iri = opa.getProperty().getIRI(); Integer counter = failures.get(iri); if (counter == null)
private static Statement createStatement(ObjectPropertyAssertion assertion) { return fact.createStatement(getResource(assertion.getSubject()), createURI(assertion.getProperty().getIRI().getIRIString()), getResource(assertion.getObject())); }
private static Statement createStatement(ObjectPropertyAssertion assertion) { return fact.createStatement(getResource(assertion.getSubject()), createURI(assertion.getProperty().getPredicate().getName()), getResource(assertion.getObject())); }
private void process(Connection conn, ObjectPropertyAssertion ax, PreparedStatement uriidStm, Map<SemanticIndexViewID, PreparedStatement> stmMap) throws SQLException { ObjectPropertyExpression ope0 = ax.getProperty(); if (ope0.isInverse()) throw new RuntimeException("INVERSE PROPERTIES ARE NOT SUPPORTED IN ABOX:" + ax); o1 = ax.getObject(); o2 = ax.getSubject(); ope = ope.getInverse(); o1 = ax.getSubject(); o2 = ax.getObject();
for (ObjectPropertyAssertion pa : pas) { URIConstant s = (URIConstant) pa.getSubject(); URIConstant o = (URIConstant) pa.getObject(); Function head = TERM_FACTORY.getFunction(pa.getProperty().getPredicate(), uriTemplateMatcher.generateURIFunction(s.getURI()), uriTemplateMatcher.generateURIFunction(o.getURI()));
for (ObjectPropertyAssertion pa : pas) { IRIConstant s = (IRIConstant) pa.getSubject(); IRIConstant o = (IRIConstant) pa.getObject(); IRI propertyIRI = pa.getProperty().getIRI(); Function head = atomFactory.getMutableTripleHeadAtom( immutabilityTools.convertToMutableTerm(uriTemplateMatcher.generateURIFunction(s.getIRI().getIRIString())),