public static String selectQuery(String queryString)
	{
		BasicConfigurator.configure();
		
		//create an object Sparql Query from a parameter string
		Query query = QueryFactory.create(queryString);

		try
		{
			//it connects to the server with Parliament and execute the query
			QueryExecution exec = QueryExecutionFactory.sparqlService(
					OpenstackNetProxyConstants.URL_PARLIAMENT,
					query);

			ResultSet rs = exec.execSelect();
			ByteArrayOutputStream os = new ByteArrayOutputStream();
			//Format the query result in RDF-XML 
			ResultSetFormatter.outputAsRDF(os, "RDF/XML-ABBREV", rs);

			String w="";
			try {
				w = new String(os.toByteArray(),"UTF-8");
			} catch (UnsupportedEncodingException e) {
				e.printStackTrace();
			}
			
			//String tw = ResultSetFormatter.asText(rs);
			//Print the query result
			System.out.println(w);
			
			
			return w;
						
		}
		finally
		{
		}
	}