Examples of ObjPropOwlToJena()


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

    OWLOntologyManager mgr = OWLManager.createOWLOntologyManager();
    OWLDataFactory factory = mgr.getOWLDataFactory();
    OWLObjectProperty op = factory.getOWLObjectProperty(IRI.create(OP));
    ObjectProperty jop = null;
    try {
                    jop = j2o.ObjPropOwlToJena(op, RDFXML);
                    if(jop == null){
                        fail("Some errore occurs");
                    }else{
                        assertEquals(jop.getURI(), op.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.