Examples of AnnotationPropJenaToOwl()


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

            JenaToOwlConvert j2o = new JenaToOwlConvert();
            OntModel model = ModelFactory.createOntologyModel();
            AnnotationProperty jp = model.createAnnotationProperty(label.toString());
            OWLAnnotationProperty wp = null;
            try{
                wp = j2o.AnnotationPropJenaToOwl(jp, RDFXML);
                if(wp==null){
                    fail("Some errors occur");
                }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.