Examples of oboIdToIRI()


Examples of org.obolibrary.obo2owl.OWLAPIObo2Owl.oboIdToIRI()

        @Nullable
        IRI getIRIByIdentifier(@Nonnull String id) {
            OWLAPIObo2Owl b = new OWLAPIObo2Owl(manager);
            b.setObodoc(new OBODoc());
            return b.oboIdToIRI(id);
        }

        /**
         * Retrieve an {@link IRI} by rdfs:label.
         *
 
View Full Code Here

Examples of org.obolibrary.obo2owl.OWLAPIObo2Owl.oboIdToIRI()

        @Override
        public String getName(String id) {
            // convert OBO id to IRI
            OWLAPIObo2Owl obo2owl = new OWLAPIObo2Owl(
                    ont.getOWLOntologyManager());
            IRI iri = obo2owl.oboIdToIRI(id);
            // look for label of entity
            Set<OWLAnnotationAssertionAxiom> axioms = ont.getAxioms(
                    OWLAnnotationAssertionAxiom.class,
                    OWLAnnotationSubject.class, iri, Imports.INCLUDED,
                    IN_SUB_POSITION);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.