Examples of listObjectProperties()


Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

    stats.add(new StatTO(OWL.DataRange.getURI(),
        String.valueOf(ontModel.listDataRanges().toList().size())));
    stats.add(new StatTO(OWL.AnnotationProperty.getURI(),
        String.valueOf(ontModel.listAnnotationProperties().toList().size())));
    stats.add(new StatTO(OWL.ObjectProperty.getURI(),
        String.valueOf(ontModel.listObjectProperties().toList().size())));
    stats.add(new StatTO(OWL.imports.getURI(),
        String.valueOf(ontModel.listImportedOntologyURIs().size())));
    stats.add(new StatTO(OWL.Ontology.getURI(),
        String.valueOf(ontModel.listOntologies().toList().size())));
    stats.add(new StatTO(OWL.Class.getURI(),
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                while (jenaclass.hasNext())
                    if (owlclass.contains(factory.getOWLClass(IRI.create(jenaclass.next().getURI())))) countclass++;
                if (countclass == jenaclassset) assertEquals(countclass, jenaclassset);
                else fail("Error in number of classes");

                ExtendedIterator<ObjectProperty> jenaprop = model.listObjectProperties();
                int jenapropset = jenaprop.toSet().size();
                jenaprop = model.listObjectProperties();
                Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                int countprop = 0;
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                if (countclass == jenaclassset) assertEquals(countclass, jenaclassset);
                else fail("Error in number of classes");

                ExtendedIterator<ObjectProperty> jenaprop = model.listObjectProperties();
                int jenapropset = jenaprop.toSet().size();
                jenaprop = model.listObjectProperties();
                Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                int countprop = 0;

                while (jenaprop.hasNext())
                    if (owlprop.contains(factory.getOWLObjectProperty(IRI.create(jenaprop.next().getURI())))) countprop++;
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                while (jenaclass.hasNext())
                    if (owlclass.contains(factory.getOWLClass(IRI.create(jenaclass.next().getURI())))) countclass++;
                if (countclass == jenaclassset) assertEquals(countclass, jenaclassset);
                else fail("Error in number of classes");

                ExtendedIterator<ObjectProperty> jenaprop = jena.listObjectProperties();
                int jenapropset = jenaprop.toSet().size();
                jenaprop = jena.listObjectProperties();
                Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                int countprop = 0;
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                if (countclass == jenaclassset) assertEquals(countclass, jenaclassset);
                else fail("Error in number of classes");

                ExtendedIterator<ObjectProperty> jenaprop = jena.listObjectProperties();
                int jenapropset = jenaprop.toSet().size();
                jenaprop = jena.listObjectProperties();
                Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                int countprop = 0;

                while (jenaprop.hasNext())
                    if (owlprop.contains(factory.getOWLObjectProperty(IRI.create(jenaprop.next().getURI())))) countprop++;
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                    if(countclass==jenaclassset)
                        assertEquals(countclass,jenaclassset);
                    else
                        fail("Error in number of classes");

                    ExtendedIterator<ObjectProperty> jenaprop = model.listObjectProperties();
                    int jenapropset = jenaprop.toSet().size();
                    jenaprop = model.listObjectProperties();
                    Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                    int countprop = 0;
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                    else
                        fail("Error in number of classes");

                    ExtendedIterator<ObjectProperty> jenaprop = model.listObjectProperties();
                    int jenapropset = jenaprop.toSet().size();
                    jenaprop = model.listObjectProperties();
                    Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                    int countprop = 0;

                    while(jenaprop.hasNext())
                        if(owlprop.contains(factory.getOWLObjectProperty(IRI.create(jenaprop.next().getURI()))))
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                    if(countclass==jenaclassset)
                        assertEquals(countclass,jenaclassset);
                    else
                        fail("Error in number of classes");

                    ExtendedIterator<ObjectProperty> jenaprop = jena.listObjectProperties();
                    int jenapropset = jenaprop.toSet().size();
                    jenaprop = jena.listObjectProperties();
                    Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                    int countprop = 0;
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntModel.listObjectProperties()

                    else
                        fail("Error in number of classes");

                    ExtendedIterator<ObjectProperty> jenaprop = jena.listObjectProperties();
                    int jenapropset = jenaprop.toSet().size();
                    jenaprop = jena.listObjectProperties();
                    Set<OWLObjectProperty> owlprop = owl.getObjectPropertiesInSignature();
                    int countprop = 0;

                    while(jenaprop.hasNext())
                        if(owlprop.contains(factory.getOWLObjectProperty(IRI.create(jenaprop.next().getURI()))))
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.