Examples of listOntProperties()


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

    stats.add(new StatTO(OWL.intersectionOf.getURI(),
        String.valueOf(ontModel.listIntersectionClasses().toList().size())));
    stats.add(new StatTO(OWL.Restriction.getURI(),
        String.valueOf(ontModel.listRestrictions().toList().size())));
    stats.add(new StatTO(OWL.OntologyProperty.getURI(),
        String.valueOf(ontModel.listOntProperties().toList().size())));
    stats.add(new StatTO(TypeHierarchy.INSTANCE.name(),
        String.valueOf(ontModel.listIndividuals().toList().size())));
    return stats.toArray(new StatTO[stats.size()]);
  }
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.