public OWLClass getCurrentClass() { return getDataFactory().getOWLClass(getIRIFromValue(consumer.getCurrentId())); }
public OWLClass getCurrentClass() { return getDataFactory().getOWLClass(getIRIFromOBOId(consumer.getCurrentId())); }
public OWLClass getCurrentClass() { return getDataFactory().getOWLClass(getIRIFromOBOId(consumer.getCurrentId())); }
public void handle(String id, String value) { OWLObjectProperty prop = getOWLObjectProperty(getConsumer().getCurrentId()); OWLClass cls = getOWLClass(value); applyChange(new AddAxiom(getOntology(), getDataFactory().getOWLObjectPropertyDomainAxiom(prop, cls))); }
public void handle(String currentId, String value, String qualifierBlock, String comment) { OWLObjectProperty prop = getOWLObjectProperty(getConsumer().getCurrentId()); OWLClass cls = getOWLClass(value); applyChange(new AddAxiom(getOntology(), getDataFactory().getOWLObjectPropertyDomainAxiom(prop, cls))); }
@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { OWLObjectProperty prop = getOWLObjectProperty(getConsumer().getCurrentId()); OWLClass cls = getOWLClass(value); applyChange(new AddAxiom(getOntology(), getDataFactory().getOWLObjectPropertyDomainAxiom(prop, cls))); }
public void handle(String currentId, String value, String qualifierBlock, String comment) { if (currentId == null) { return; } OWLAnnotation xrefAnnotation = getConsumer().parseXRef(value); IRI subject = getIRIFromOBOId(currentId); OWLAnnotationAssertionAxiom ax = getDataFactory().getOWLAnnotationAssertionAxiom(xrefAnnotation.getProperty(), subject, xrefAnnotation.getValue()); applyChange(new AddAxiom(getOntology(), ax)); if(getConsumer().isTypedef() && xrefAnnotation.getValue() instanceof IRI) { IRI xrefIRI = (IRI) xrefAnnotation.getValue(); String typedefId = getConsumer().getCurrentId(); getConsumer().addSymbolicIdMapping(typedefId, xrefIRI); } }
@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { if (currentId == null) { return; } OWLAnnotation xrefAnnotation = getConsumer().parseXRef(value); IRI subject = getIRIFromOBOId(currentId); OWLAnnotationAssertionAxiom ax = getDataFactory().getOWLAnnotationAssertionAxiom(xrefAnnotation.getProperty(), subject, xrefAnnotation.getValue()); applyChange(new AddAxiom(getOntology(), ax)); if(getConsumer().isTypedef() && xrefAnnotation.getValue() instanceof IRI) { IRI xrefIRI = (IRI) xrefAnnotation.getValue(); String typedefId = getConsumer().getCurrentId(); getConsumer().addSymbolicIdMapping(typedefId, xrefIRI); } }