Examples of ClassJenaToOwl()


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

            JenaToOwlConvert j2o = new JenaToOwlConvert();
            OntModel model = ModelFactory.createOntologyModel();
            OntClass jc = model.createClass(CLAZZ.toString());
            OWLClass wc = null;
            try{
                wc = j2o.ClassJenaToOwl(jc, RDFXML);
                if(wc==null)
                    fail("Some problems accours");
                else{
                    assertEquals(wc.getIRI().toURI().toString(), jc.getURI().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.