Package ru.spbu.math.ontologycomparison.zhukova.logic.ontologygraph.impl

Examples of ru.spbu.math.ontologycomparison.zhukova.logic.ontologygraph.impl.OntologyGraph


        Set<IOntologyConcept> roots = SetHelper.INSTANCE.setUnion(firstGraph.getRoots(), SetHelper.INSTANCE.setIntersection(secondGraph.getRoots(), secondConcepts));
        HashMap<IRI, IOntologyConcept> uriToConcept = new HashMap<IRI, IOntologyConcept>(firstGraph.getUriToConcept());
        for (IOntologyConcept second : secondConcepts) {
            uriToConcept.put(second.getUri(), second);
        }
        return new OntologyGraph(roots, uriToConcept, null, null, null);
    }
View Full Code Here


        } finally {
            if (reasoner != null) {
                reasoner.dispose();
            }
        }
        return new OntologyGraph(roots, uriToConcept, labelToConcept, uriToProperty, labelToProperty);
    }
View Full Code Here

TOP

Related Classes of ru.spbu.math.ontologycomparison.zhukova.logic.ontologygraph.impl.OntologyGraph

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.