Examples of DataPropOwlToJena()


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

    OWLOntologyManager mgr = OWLManager.createOWLOntologyManager();
    OWLDataFactory factory = mgr.getOWLDataFactory();
    OWLDataProperty dp = factory.getOWLDataProperty(IRI.create(DP));
    DatatypeProperty jdp = null;
    try {
                    jdp = j2o.DataPropOwlToJena(dp, RDFXML);
                    if(jdp == null){
                        fail("Some errors accour");
                    }else{
                        assertEquals(jdp.getURI(), dp.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.