Package org.semanticweb.owlapi.rdf.model

Examples of org.semanticweb.owlapi.rdf.model.RDFTranslator


    protected boolean shouldInsertDeclarations() {
        return format == null || format.isAddMissingTypes();
    }

    protected void createGraph(@Nonnull Set<? extends OWLObject> objects) {
        RDFTranslator translator = new RDFTranslator(
                ontology.getOWLOntologyManager(), ontology,
                shouldInsertDeclarations());
        for (OWLObject obj : objects) {
            obj.accept(translator);
        }
        graph = translator.getGraph();
    }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.rdf.model.RDFTranslator

Copyright © 2018 www.massapicom. 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.