Examples of listSubProperties()


Examples of com.hp.hpl.jena.ontology.OntProperty.listSubProperties()

      ExtendedIterator<? extends OntProperty> i = null;
      try {
//        if (recursive)
//          i = p.listSubProperties(false);
//        else
          i = p.listSubProperties(true);
      } catch (ConversionException e) {
        logger.debug(e.getMessage());
      }
            for (; i != null && i.hasNext();) {
                OntProperty subP = (OntProperty) i.next();
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntProperty.listSubProperties()

      }
    }

    OntProperty predicate = model.getOntProperty(prefix
        + pattern.get(predicateIndex));
    ExtendedIterator<? extends OntProperty> subPredicates = predicate
        .listSubProperties();

    boolean match = false;
    while (subPredicates.hasNext()) {
      String subPredicate = subPredicates.next().getLocalName();
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.