Examples of OWLOntologyID


Examples of org.semanticweb.owlapi.model.OWLOntologyID

    @Test
    public void testMultipleVersionLoadsNoOntologyVersionIRIFirstTime()
            throws Exception {
        // given
        OWLOntologyDocumentSource documentSource = getDocumentSource();
        OWLOntologyID initialUniqueOWLOntologyID = new OWLOntologyID(
                Optional.of(CREATE0139), Optional.<IRI> absent());
        OWLOntologyDocumentSource secondDocumentSource = getDocumentSource();
        OWLOntologyID secondUniqueOWLOntologyID = new OWLOntologyID(
                Optional.of(CREATE0139), Optional.of(CREATEV2));
        // when
        OWLOntology initialOntology = m
                .createOntology(initialUniqueOWLOntologyID);
        parseOnto(documentSource, initialOntology);
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.