Examples of asIntersectionClass()


Examples of com.hp.hpl.jena.ontology.OntClass.asIntersectionClass()

        else if (c_ont.isIndividual()) {
          debugDisplay("  asIndividual          ");// + r.asIndividual().toString() );
          res = local.createIndividual(c_ont);
       
      else if (c_ont.isIntersectionClass()) {
        debugDisplay("  asIntersectionClass " + c_ont.asIntersectionClass().toString());
        res = local.createIntersectionClass(c_ont.getURI(),c_ont.asIntersectionClass().getOperands());
      }
      else if(c_ont.isComplementClass() && (!c_ont.toString().contains("http://www.w3.org/2002/07/owl")) ) {
        debugDisplay("  asComplementClass   " +c_ont.asComplementClass().toString());
        res = local.createComplementClass(c_ont.getURI(), c_ont.asComplementClass().getOperands());
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntClass.asIntersectionClass()

          debugDisplay("  asIndividual          ");// + r.asIndividual().toString() );
          res = local.createIndividual(c_ont);
       
      else if (c_ont.isIntersectionClass()) {
        debugDisplay("  asIntersectionClass " + c_ont.asIntersectionClass().toString());
        res = local.createIntersectionClass(c_ont.getURI(),c_ont.asIntersectionClass().getOperands());
      }
      else if(c_ont.isComplementClass() && (!c_ont.toString().contains("http://www.w3.org/2002/07/owl")) ) {
        debugDisplay("  asComplementClass   " +c_ont.asComplementClass().toString());
        res = local.createComplementClass(c_ont.getURI(), c_ont.asComplementClass().getOperands());
      }
View Full Code Here

Examples of com.hp.hpl.jena.ontology.OntClass.asIntersectionClass()

              }
          }
     
      // intersectionOf
      } else if (c.isIntersectionClass()) {
        IntersectionClass ic = c.asIntersectionClass();
          for (Iterator<? extends OntClass> i = ic.listOperands(); i.hasNext(); ) {
              try {
                OntResource op = i.next();
//                OntClass op = (OntClass) i.next();
                getMembers(op, resources, recursive);
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.