@Override public boolean canHandleStreaming(IRI s, IRI p, IRI o) { // We can't handle this is a streaming fashion, because we can't // be sure that the s, p, o triples have been // parsed. consumer.addAxiom(s); return false; }
@Override public boolean canHandleStreaming(IRI s, IRI p, IRI o) { // We can't handle this is a streaming fashion, because we can't // be sure that the s, p, o triples have been // parsed. consumer.addAxiom(s); return false; }
@Override public boolean canHandleStreaming(IRI s, IRI p, IRI o) { // We can't handle this is a streaming fashion, because we can't // be sure that the s, p, o triples have been // parsed. consumer.addAxiom(s); return false; }
@Override public boolean canHandleStreaming(IRI s, IRI p, IRI o) { // We can't handle this is a streaming fashion, because we can't // be sure that the s, p, o triples have been // parsed. consumer.addAxiom(s); return false; }
protected void add(OWLAxiom axiom) { consumer.addAxiom(axiom); }
protected void add(OWLAxiom axiom) { consumer.addAxiom(axiom); }
protected void add(OWLAxiom axiom) { consumer.addAxiom(axiom); }
protected void add(OWLAxiom axiom) { consumer.addAxiom(axiom); }
@Override public void handleTriple(IRI s, IRI p, IRI o) { consume(s, p, o); IRI listNode = verifyNotNull(getRO(s, OWL_MEMBERS)); if (isOpLax(consumer.getFirstResource(listNode, false))) { Set<OWLObjectPropertyExpression> props = ops(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointObjectPropertiesAxiom(props, anns())); } else { Set<OWLDataPropertyExpression> props = dps(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointDataPropertiesAxiom(props, anns())); } }
@Override public void handleTriple(IRI s, IRI p, IRI o) { consume(s, p, o); IRI listNode = verifyNotNull(getRO(s, OWL_MEMBERS)); if (isOpLax(consumer.getFirstResource(listNode, false))) { Set<OWLObjectPropertyExpression> props = ops(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointObjectPropertiesAxiom(props, anns())); } else { Set<OWLDataPropertyExpression> props = dps(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointDataPropertiesAxiom(props, anns())); } }
@Override public void handleTriple(IRI s, IRI p, IRI o) { consume(s, p, o); IRI listNode = verifyNotNull(getRO(s, OWL_MEMBERS)); if (isOpLax(consumer.getFirstResource(listNode, false))) { Set<OWLObjectPropertyExpression> props = ops(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointObjectPropertiesAxiom(props, anns())); } else { Set<OWLDataPropertyExpression> props = dps(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointDataPropertiesAxiom(props, anns())); } }
@Override public void handleTriple(IRI s, IRI p, IRI o) { consume(s, p, o); IRI listNode = verifyNotNull(getRO(s, OWL_MEMBERS)); if (isOpLax(consumer.getFirstResource(listNode, false))) { Set<OWLObjectPropertyExpression> props = ops(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointObjectPropertiesAxiom(props, anns())); } else { Set<OWLDataPropertyExpression> props = dps(listNode); anns(s); consumer.addAxiom(df.getOWLDisjointDataPropertiesAxiom(props, anns())); } }
consumer.addAxiom(consumer.getDataFactory().getOWLClassAssertionAxiom(ce, ind, consumer.getPendingAnnotations()));
consumer.addAxiom(consumer.getDataFactory().getOWLClassAssertionAxiom(ce, ind, consumer.getPendingAnnotations()));
consumer.addAxiom(consumer.getDataFactory().getOWLClassAssertionAxiom(ce, ind, consumer.getPendingAnnotations()));
consumer.addAxiom(consumer.getDataFactory().getOWLClassAssertionAxiom(ce, ind, consumer.getPendingAnnotations()));
antecedent = listTranslator.translateToSet(ruleBodyIRI); consumer.addAxiom(getRule(remappedNode, annotations, consequent, antecedent));
antecedent = listTranslator.translateToSet(ruleBodyIRI); consumer.addAxiom(getRule(remappedNode, annotations, consequent, antecedent));
antecedent = listTranslator.translateToSet(ruleBodyIRI); consumer.addAxiom(getRule(remappedNode, annotations, consequent, antecedent));
antecedent = listTranslator.translateToSet(ruleBodyIRI); consumer.addAxiom(getRule(remappedNode, annotations, consequent, antecedent));