public static Map<Integer, Set<Integer>> getTestQueryAnswers(String queryAnswersPath) {
        Map<Integer, Set<Integer>> queryAnswers = new HashMap<Integer, Set<Integer>>();

        int queryIdColumn = 0;
        int queryAnswersColumn = 1;

        BufferedReader reader = null;
        String line;
        String queryAnswersDelimiter = ":";
        String answersDelimiter = ",";
        try {
            reader = new BufferedReader(new FileReader(queryAnswersPath));
            while ((line = reader.readLine()) != null) {
                String[] columns = line.split(queryAnswersDelimiter);
                Integer queryId = Integer.parseInt(columns[queryIdColumn]);
                String answersString = columns[queryAnswersColumn];
                Set<Integer> answers = new HashSet<Integer>();
                for (String s : answersString.split(answersDelimiter)) {
                    if (!s.equalsIgnoreCase("NO"))
                        answers.add(Integer.parseInt(s));
                }
                queryAnswers.put(queryId, answers);
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
        return queryAnswers;
    }