/** * Gets an IRI from an OBO ID. The OBO ID may be a canonical OBO ID of the * form idspace:sequence or it may be a non-canonical ID. * * @param oboId The OBO ID * @return An IRI obtained from the translation of the OBO ID. */ public IRI getIRIFromOBOId(String oboId) { checkNotNull(oboId, "oboId must not be null."); return getIRI(oboId); }
IRI subject = getIRI(currentId); OWLLiteral con = getDataFactory().getOWLLiteral(unescapeTagValue(value)); IRI annotationPropertyIRI = getIRIFromTagName(tag);
IRI subject = getIRI(currentId); OWLLiteral con = getDataFactory().getOWLLiteral(unescapeTagValue(value)); IRI annotationPropertyIRI = getIRIFromTagName(tag);
/** * Gets an IRI from an OBO ID. The OBO ID may be a canonical OBO ID of the * form idspace:sequence or it may be a non-canonical ID. * * @param oboId The OBO ID * @return An IRI obtained from the translation of the OBO ID. */ public IRI getIRIFromOBOId(String oboId) { checkNotNull(oboId, "oboId must not be null."); return getIRI(oboId); }
IRI subject = getIRI(currentId); OWLLiteral con = getDataFactory().getOWLLiteral(unescapeTagValue(value)); IRI annotationPropertyIRI = getIRIFromTagName(tag);
/** * Gets an IRI from an OBO ID. The OBO ID may be a canonical OBO ID of the * form idspace:sequence or it may be a non-canonical ID. * * @param oboId The OBO ID * @return An IRI obtained from the translation of the OBO ID. */ public IRI getIRIFromOBOId(String oboId) { checkNotNull(oboId, "oboId must not be null."); return getIRI(oboId); }
@SuppressWarnings("null") public OWLClass getCurrentClass() { return getDataFactory().getOWLClass(getIRI(currentId)); }
@SuppressWarnings("null") public OWLClass getCurrentClass() { return getDataFactory().getOWLClass(getIRI(currentId)); }
@SuppressWarnings("null") public OWLClass getCurrentClass() { return getDataFactory().getOWLClass(getIRI(currentId)); }
@SuppressWarnings("null") public OWLEntity getCurrentEntity() { if (isTerm()) { return getCurrentClass(); } else if (isTypedef()) { // Sometimes, we can have symbolic names e.g. has_part. It's not // really clear how to tell the difference IRI propertyIRI = getRelationIRIFromSymbolicIdOrOBOId(currentId); return getDataFactory().getOWLObjectProperty(propertyIRI); } else { return getDataFactory().getOWLNamedIndividual(getIRI(currentId)); } }
@SuppressWarnings("null") public OWLEntity getCurrentEntity() { if (isTerm()) { return getCurrentClass(); } else if (isTypedef()) { // Sometimes, we can have symbolic names e.g. has_part. It's not // really clear how to tell the difference IRI propertyIRI = getRelationIRIFromSymbolicIdOrOBOId(currentId); return getDataFactory().getOWLObjectProperty(propertyIRI); } else { return getDataFactory().getOWLNamedIndividual(getIRI(currentId)); } }
@SuppressWarnings("null") public OWLEntity getCurrentEntity() { if (isTerm()) { return getCurrentClass(); } else if (isTypedef()) { // Sometimes, we can have symbolic names e.g. has_part. It's not // really clear how to tell the difference IRI propertyIRI = getRelationIRIFromSymbolicIdOrOBOId(currentId); return getDataFactory().getOWLObjectProperty(propertyIRI); } else { return getDataFactory().getOWLNamedIndividual(getIRI(currentId)); } }