sparqlGraphLibrary/src/main/java/com/ge/research/semtk/ontologyTools/OntologyInfo.java
public void load(SparqlEndpointInterface endpoint, String domain, boolean owlImportFlag) throws Exception {
		Table tab;
		// find, then recursively load owl imports
		if (owlImportFlag) {
			tab = endpoint.executeQueryToTable(OntologyInfo.getOwlImportsQuery(endpoint.getGraph()));
			this.loadOwlImports(endpoint, tab.getColumn("importee"));
		}
		
		// execute each sub-query in order
		tab = endpoint.executeQueryToTable(OntologyInfo.getSuperSubClassQuery(endpoint.getGraph(), domain));
		this.loadSuperSubClasses(tab.getColumn("x"), tab.getColumn("y"));
		
		tab = endpoint.executeQueryToTable(OntologyInfo.getTopLevelClassQuery(endpoint.getGraph(), domain));
		this.loadTopLevelClasses(tab.getColumn("Class"));
		
		tab = endpoint.executeQueryToTable(OntologyInfo.getLoadPropertiesQuery(endpoint.getGraph(), domain));
		this.loadProperties(tab.getColumn("Class"),tab.getColumn("Property"),tab.getColumn("Range"));
		
		tab = endpoint.executeQueryToTable(OntologyInfo.getSuperSubPropertyQuery(endpoint.getGraph(), domain));
		this.loadSuperSubProperties(tab.getColumn("subProp"), tab.getColumn("superProp"));
		
		tab = endpoint.executeQueryToTable(OntologyInfo.getEnumQuery(endpoint.getGraph(), domain));
		this.loadEnums(tab.getColumn("Class"),tab.getColumn("EnumVal"));
		
		tab = endpoint.executeQueryToTable(OntologyInfo.getAnnotationLabelsQuery(endpoint.getGraph(), domain));
		this.loadAnnotationLabels(tab.getColumn("Elem"), tab.getColumn("Label"));
		
		tab = endpoint.executeQueryToTable(OntologyInfo.getAnnotationCommentsQuery(endpoint.getGraph(), domain));
		this.loadAnnotationComments(tab.getColumn("Elem"), tab.getColumn("Comment"));
		
		this.validate();
	}
/**
	 * Not-quite-deprecated but not recommended function signature
	 * @param endpoint
	 * @param domain - only remains for backwards compatibility
	 * @param owlImportFlag
	 * @throws Exception
	 */
Not-quite-deprecated but not recommended function signature
@param endpoint
@param domain - only remains for backwards compatibility
@param owlImportFlag
@throws Exception
Not - quite - deprecated but not recommended function signature @param endpoint @param domain - only remains for backwards compatibility @param owlImportFlag @throws Exception
public void load(SparqlEndpointInterface endpoint, String domain, boolean owlImportFlag) throws Exception {
		Table tab;
		if (owlImportFlag) {
			tab = endpoint.executeQueryToTable(OntologyInfo.getOwlImportsQuery(endpoint.getGraph()));
			this.loadOwlImports(endpoint, tab.getColumn("importee"));
		}
		tab = endpoint.executeQueryToTable(OntologyInfo.getSuperSubClassQuery(endpoint.getGraph(), domain));
		this.loadSuperSubClasses(tab.getColumn("x"), tab.getColumn("y"));
		tab = endpoint.executeQueryToTable(OntologyInfo.getTopLevelClassQuery(endpoint.getGraph(), domain));
		this.loadTopLevelClasses(tab.getColumn("Class"));
		tab = endpoint.executeQueryToTable(OntologyInfo.getLoadPropertiesQuery(endpoint.getGraph(), domain));
		this.loadProperties(tab.getColumn("Class"),tab.getColumn("Property"),tab.getColumn("Range"));
		tab = endpoint.executeQueryToTable(OntologyInfo.getSuperSubPropertyQuery(endpoint.getGraph(), domain));
		this.loadSuperSubProperties(tab.getColumn("subProp"), tab.getColumn("superProp"));
		tab = endpoint.executeQueryToTable(OntologyInfo.getEnumQuery(endpoint.getGraph(), domain));
		this.loadEnums(tab.getColumn("Class"),tab.getColumn("EnumVal"));
		tab = endpoint.executeQueryToTable(OntologyInfo.getAnnotationLabelsQuery(endpoint.getGraph(), domain));
		this.loadAnnotationLabels(tab.getColumn("Elem"), tab.getColumn("Label"));
		tab = endpoint.executeQueryToTable(OntologyInfo.getAnnotationCommentsQuery(endpoint.getGraph(), domain));
		this.loadAnnotationComments(tab.getColumn("Elem"), tab.getColumn("Comment"));
		this.validate();
	}
public void load ( SparqlEndpointInterface endpoint , String domain , boolean owlImportFlag ) throws Exception { Table tab ; if ( owlImportFlag ) { tab = endpoint . executeQueryToTable ( OntologyInfo . getOwlImportsQuery ( endpoint . getGraph ( ) ) ) ; this . loadOwlImports ( endpoint , tab . getColumn ( "importee" ) ) ; } tab = endpoint . executeQueryToTable ( OntologyInfo . getSuperSubClassQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadSuperSubClasses ( tab . getColumn ( "x" ) , tab . getColumn ( "y" ) ) ; tab = endpoint . executeQueryToTable ( OntologyInfo . getTopLevelClassQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadTopLevelClasses ( tab . getColumn ( "Class" ) ) ; tab = endpoint . executeQueryToTable ( OntologyInfo . getLoadPropertiesQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadProperties ( tab . getColumn ( "Class" ) , tab . getColumn ( "Property" ) , tab . getColumn ( "Range" ) ) ; tab = endpoint . executeQueryToTable ( OntologyInfo . getSuperSubPropertyQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadSuperSubProperties ( tab . getColumn ( "subProp" ) , tab . getColumn ( "superProp" ) ) ; tab = endpoint . executeQueryToTable ( OntologyInfo . getEnumQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadEnums ( tab . getColumn ( "Class" ) , tab . getColumn ( "EnumVal" ) ) ; tab = endpoint . executeQueryToTable ( OntologyInfo . getAnnotationLabelsQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadAnnotationLabels ( tab . getColumn ( "Elem" ) , tab . getColumn ( "Label" ) ) ; tab = endpoint . executeQueryToTable ( OntologyInfo . getAnnotationCommentsQuery ( endpoint . getGraph ( ) , domain ) ) ; this . loadAnnotationComments ( tab . getColumn ( "Elem" ) , tab . getColumn ( "Comment" ) ) ; this . validate ( ) ; }
Not-quite-deprecated but not recommended function signature
 @param endpoint
 @param domain - only remains for backwards compatibility
 @param owlImportFlag
 @throws Exception
Not - quite - deprecated but not recommended function signature @param endpoint @param domain - only remains for backwards compatibility @param owlImportFlag @throws Exception
// find, then recursively load owl imports // execute each sub-query in order