Examples of IOntologyProperty


Examples of ru.spbu.math.ontologycomparison.zhukova.logic.ontologygraph.IOntologyProperty

    public Collection<IOntologyProperty> map() {
        Set<IRI> commonUriSet = SetHelper.INSTANCE.setIntersection(firstGraph.getPropertyUris(),
                secondGraph.getPropertyUris());
        for (IRI uri : commonUriSet) {
            IOntologyProperty first = firstGraph.getUriToProperty().get(uri);
            IOntologyProperty second = secondGraph.getUriToProperty().get(uri);
            bind(first, second, SAME_URI);
        }

        PropertyComparator propertyComparator = new PropertyComparator(mappedConcepts);
        Set<String> commonLabelSet = SetHelper.INSTANCE.setIntersection(firstGraph.getPropertyLabels(),
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.logic.ontologygraph.IOntologyProperty

                if (concept != null) {
                    ranges.add(concept);
                }
            }
        }
        IOntologyProperty ontologyProperty = new OntologyProperty(property.getIRI(), label,
                domains.toArray(new IOntologyConcept[domains.size()]), ranges.toArray(new IOntologyConcept[ranges.size()]),
                property.isFunctional(getOntology()));
        uriToProperty.put(property.getIRI(), ontologyProperty);
        labelToProperty.insert(ontologyProperty.getNormalizedMainLabel(), ontologyProperty);
    }
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.