Examples of AnnotationPropOwlToJena()


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

            OWLOntologyManager mgr = OWLManager.createOWLOntologyManager();
            OWLDataFactory factory = mgr.getOWLDataFactory();
            OWLAnnotationProperty wp = factory.getOWLAnnotationProperty(IRI.create(label));
            AnnotationProperty jp = null;
            try{
                jp = j2o.AnnotationPropOwlToJena(wp, RDFXML);
                if(jp==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.