Examples of ClassOwlToJena()


Examples of org.apache.stanbol.commons.owl.transformation.JenaToOwlConvert.ClassOwlToJena()

    OWLOntologyManager mgr = OWLManager.createOWLOntologyManager();
    OWLDataFactory factory = mgr.getOWLDataFactory();
    OWLClass c = factory.getOWLClass(IRI.create(CLAZZ));
    OntClass jc = null;
    try {
                    jc = j2o.ClassOwlToJena(c, RDFXML);
                    if(jc==null){
                        fail("Some problem accours");
                    }else{
                      assertEquals(jc.getURI(), c.getIRI().toString());
                    }
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.