private static boolean checkHwReqs(float wfHwCpu, float wfHwMem,float wfHwStorage, String archValue, QuerySolution qs) 
	{
		//iapp HW specs (in MB)
	    float iappHwCpu = 0;
	    float iappHwMem = 0;
	    float iappHwStorage = 0;
	    String iappArch = "";
	    
		 String hwcpu = qs.get("?hwcpu").toString();
		 String hwmem = qs.get("?hwmem").toString();
		 String hwstorage = qs.get("?hwstorage").toString();
		 
		 
		 //CPU calculation
	     ResultSet getHwCPUFeatQR = QueryExecute.execute(svaModel, QueryStrings.getHwFeatValueQS, "hw_uri", hwcpu);
	     
	     if(getHwCPUFeatQR.hasNext())
	     {
		     while(getHwCPUFeatQR.hasNext())
		     {
		    	 QuerySolution cpuqs = getHwCPUFeatQR.next();
		    	 String v = cpuqs.get("?value").toString();
		    	 String u = cpuqs.get("?unit").toString();
		    	 
		    	 if(u.equals("bits")) //arch
		    	 {
		    		 iappArch = v;
		    	 }
		    	 else //freq
		    	 {
		    		 iappHwCpu = Float.valueOf(v) * getUnitFactor(u);
		    	 }
		    	 
		     }
	     }
	     else
	     {
		     System.err.println("Not found iapp CPU for:"+hwcpu);
	     }
	     
	     //MEM calculation
	     ResultSet getHwMemFeatQR = QueryExecute.execute(svaModel, QueryStrings.getHwFeatValueQS, "hw_uri", hwmem);
	     if(getHwMemFeatQR.hasNext())
	     {
	    	 QuerySolution memqs = getHwMemFeatQR.next();
	     
	    	 String mv = memqs.get("?value").toString();
	     	String mu = memqs.get("?unit").toString();
	     	iappHwMem = Float.valueOf(mv) * getUnitFactor(mu);
	     }
	     else
	     {
		     System.err.println("Not found iapp mem for:"+hwmem);
	     }
	     
	     //Storage calculation
	     ResultSet getHwStorageFeatQR = QueryExecute.execute(svaModel, QueryStrings.getHwFeatValueQS, "hw_uri", hwstorage);
	     if(getHwStorageFeatQR.hasNext())
	     {
		     QuerySolution stqs = getHwStorageFeatQR.next();
		     
		     String sv = stqs.get("?value").toString();
		     String su = stqs.get("?unit").toString();
		  
		     iappHwStorage = Float.valueOf(sv) * getUnitFactor(su); 
	     }
	     else
	     {
		     System.err.println("Not found iapp storage for:"+hwstorage);
	     }
		

	     System.out.println("<><><><><><><><><><><> checkHwReqs <><><><><><><><><><>");
	     System.out.println("<> wfHwCpu="+wfHwCpu);
	     System.out.println("<> wfHwMem="+wfHwMem);
	     System.out.println("<> wfHwStorage="+wfHwStorage);
	     System.out.println("<> archValue="+archValue);
	     System.out.println("<><> " +qs.get("?iapp"));
	     System.out.println("<> iappHwCpu="+iappHwCpu);
	     System.out.println("<> iappHwMem="+iappHwMem);
	     System.out.println("<> iappHwStorage="+iappHwStorage);
	     System.out.println("<> iappArch="+iappArch);
	     System.out.println("<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>");
	     
	     if ((iappHwCpu>=wfHwCpu) && (iappHwMem>=wfHwMem) && (iappHwStorage>=wfHwStorage) && (archValue.equals(iappArch)))
	     {
		     System.out.println("<><><><><><><><><><><><><>    IT'S A MATCH      <><><><><><><><><><><><><><><>\n");
	    	 return true;
	     }
	     
	     
		//TODO
		return false;
	}