Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLIndividual.asOWLNamedIndividual()


                        checkScores(iri)[0]++;
                    }
                    // The axiom object gets a +1 in its ontology score.
                    ind = axiom.getObject();
                    if (!ind.isAnonymous()) {
                        iri = ind.asOWLNamedIndividual().getIRI();
                        checkScores(iri)[1]++;
                    }
                } else if (isOntologyOf.equals(prop)) {
                    IRI iri;
                    // The axiom subject gets a +1 in its ontology score.
View Full Code Here


                } else if (isOntologyOf.equals(prop)) {
                    IRI iri;
                    // The axiom subject gets a +1 in its ontology score.
                    OWLIndividual ind = axiom.getSubject();
                    if (!ind.isAnonymous()) {
                        iri = ind.asOWLNamedIndividual().getIRI();
                        checkScores(iri)[1]++;
                    }
                    // The axiom object gets a +1 in its library score.
                    ind = axiom.getObject();
                    if (!ind.isAnonymous()) {
View Full Code Here

                        checkScores(iri)[1]++;
                    }
                    // The axiom object gets a +1 in its library score.
                    ind = axiom.getObject();
                    if (!ind.isAnonymous()) {
                        iri = ind.asOWLNamedIndividual().getIRI();
                        checkScores(iri)[0]++;
                    }
                }

            }
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.