sparqlGraphLibrary/src/main/java/com/ge/research/semtk/ontologyTools/OntologyInfo.java
public Boolean classIsA(OntologyClass classCompared, OntologyClass classComparedTo){
		
		if(classCompared == null || classComparedTo == null) { return false; }

		if (classCompared.equals(classComparedTo)) { return true; }
		
		ArrayList<OntologyClass> allParents = this.getClassParents(classCompared);
		
		// recursively classCompared parents
		for (OntologyClass parent : allParents){
			if (this.classIsA(parent, classComparedTo) ) {
				return true;
			}
		}			
		
		return false;
	}
/**
	 * returns true/false indicating whether the classCompared is a subclass of the classComparedTo
	 * @param classCompared
	 * @param classComparedTo
	 * @return
	 */
returns true/false indicating whether the classCompared is a subclass of the classComparedTo
@param classCompared
@param classComparedTo
@return
returns true / false indicating whether the classCompared is a subclass of the classComparedTo @param classCompared @param classComparedTo @return
public Boolean classIsA(OntologyClass classCompared, OntologyClass classComparedTo){
		if(classCompared == null || classComparedTo == null) { return false; }
		if (classCompared.equals(classComparedTo)) { return true; }
		ArrayList<OntologyClass> allParents = this.getClassParents(classCompared);
		for (OntologyClass parent : allParents){
			if (this.classIsA(parent, classComparedTo) ) {
				return true;
			}
		}			
		return false;
	}
public Boolean classIsA ( OntologyClass classCompared , OntologyClass classComparedTo ) { if ( classCompared == null || classComparedTo == null ) { return false ; } if ( classCompared . equals ( classComparedTo ) ) { return true ; } ArrayList < OntologyClass > allParents = this . getClassParents ( classCompared ) ; for ( OntologyClass parent : allParents ) { if ( this . classIsA ( parent , classComparedTo ) ) { return true ; } } return false ; }
returns true/false indicating whether the classCompared is a subclass of the classComparedTo
 @param classCompared
 @param classComparedTo
 @return
returns true / false indicating whether the classCompared is a subclass of the classComparedTo @param classCompared @param classComparedTo @return
// recursively classCompared parents