Examples of ObjPropJenaToOwl()


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

            JenaToOwlConvert j2o = new JenaToOwlConvert();
            OntModel model = ModelFactory.createOntologyModel();
            ObjectProperty jp = model.createObjectProperty(OP.toString());
            OWLObjectProperty wp = null;
            try{
            wp = j2o.ObjPropJenaToOwl(jp, RDFXML);
                if(wp == null){
                    fail("Some errors occurs");
                }else{
                  assertEquals(wp.getIRI().toURI().toString(), jp.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.