public void doSearch(){
        //Actual Web Service Invocation
        //TODO otan i danai ksekoulathei
        String filename = null;
        setChemoResults(null);
        //mock Web Service Invocation
        try{
            logger.info( "Working path: "+new java.io.File(".").getCanonicalPath()  );
            System.out.println("Working path: "+new java.io.File(".").getCanonicalPath());

        } catch (Exception ex){
            logger.error(ex.toString());
        }


        if (annotations.trim().equalsIgnoreCase("0")){  //search1.xml
//            parseMockXMLFile("/home/ubiadmin/BQIfolder/sample1.xml");
            parseXMLFile("/home/ubiadmin/temp/BQIfolder/sample1.xml");            
        }
        
        if (annotations.trim().equalsIgnoreCase("1")){
            DataCloudSPARQLInterface d = new DataCloudSPARQLInterface("SELECT ?ChemoAgent ?Label ?smile ?sdf WHERE { ?ChemoAgent a <http://chem.deri.ie/granatum/ChemopreventiveAgent>. ?ChemoAgent <http://www.w3.org/2000/01/rdf-schema#label> ?Label. ?ChemoAgent <http://bio2rdf.org/ns/ns/ns/pubchem#SMILES> ?smile.?ChemoAgent <http://chem.deri.ie/granatum/sdf_file> ?sdf. filter regex(?Label,\""+ searchterm +"\",\"i\").}");
            try {                           
                filename = d.getAssociatedEntities();
                parseXMLFile(filename);
                File f = new File(filename);
                f.delete();           
                
            } catch (Throwable ex) {
                java.util.logging.Logger.getLogger(SearchBean.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        if (annotations.trim().equalsIgnoreCase("2")){
            DataCloudSPARQLInterface d = new DataCloudSPARQLInterface("SELECT ?mol ?label ?smile ?sameas WHERE { ?mol a <http://chem.deri.ie/granatum/Molecule>. ?mol <http://www.w3.org/2000/01/rdf-schema#label> ?label. ?mol <http://bio2rdf.org/ns/bio2rdf#smiles> ?smile. ?mol <http://bio2rdf.org/ns/bio2rdf#sameAs> ?sameas. filter regex(?label,\"" + searchterm + "\",\"i\").}");
            try {            
                filename = d.getAssociatedEntities();
                System.out.println("filename: " + filename);
                parseXMLFile(filename);
                //File f = new File(filename);
                //f.delete();           
            } catch (Throwable ex) {
                java.util.logging.Logger.getLogger(SearchBean.class.getName()).log(Level.SEVERE, null, ex);
            }
        }        
        
        if (annotations.trim().equalsIgnoreCase("3")){
            DataCloudSPARQLInterface d = new DataCloudSPARQLInterface("SELECT ?Drug ?label WHERE { ?Drug a <http://chem.deri.ie/granatum/Drug>. ?Drug <http://www.w3.org/2000/01/rdf-schema#label> ?label. filter regex(?label,\""+searchterm+"\",\"i\").}");
            try {            
                filename = d.getAssociatedEntities();
                parseXMLFile(filename);
                File f = new File(filename);
                f.delete();                           
            } catch (Throwable ex) {
                java.util.logging.Logger.getLogger(SearchBean.class.getName()).log(Level.SEVERE, null, ex);
            }
        }          
    }