    private static List<DefactoModel> getTrainingData(String pathToFalseTrainingDirectory) throws IOException {
        List<File> modelFiles = new ArrayList<File>(Arrays.asList(new File("resources/training/data/true").listFiles()));
        modelFiles.addAll(Arrays.asList(new File("resources/training/data/false/" + pathToFalseTrainingDirectory).listFiles()));
        Collections.sort(modelFiles);
        List<String> confirmedFilenames = FileUtils.readLines(new File("resources/training/properties/confirmed_properties_master.txt"));
        List<DefactoModel> models = new ArrayList<DefactoModel>();
        for (File mappingFile : modelFiles) {
            if (!mappingFile.isHidden() && confirmedFilenames.contains(mappingFile.getName())) {
                try {
                    Model model = ModelFactory.createDefaultModel();
                    model.read(new FileReader(mappingFile), "", "TTL");
                    String name = mappingFile.getParent().replace("resources/training/data/", "") + "/" + mappingFile.getName();
                    boolean isCorrect = false;
                    if (mappingFile.getAbsolutePath().contains("data/true")) isCorrect = true;
                    logger.info("Loading "+isCorrect+" triple from file: " + mappingFile.getName());
                    models.add(new DefactoModel(model, name, isCorrect));
                }
                catch (FileNotFoundException e) {
                    e.printStackTrace();
                }
            }
        }
        return models;
    }

    private static List<DefactoModel> getTrainingData(String pathToFalseTrainingDirectory) throws IOException {
        List<File> modelFiles = new ArrayList<File>(Arrays.asList(new File("resources/training/data/true").listFiles()));
        modelFiles.addAll(Arrays.asList(new File("resources/training/data/false/" + pathToFalseTrainingDirectory).listFiles()));
        Collections.sort(modelFiles);
        List<String> confirmedFilenames = FileUtils.readLines(new File("resources/properties/confirmed_properties_master.txt"));
        List<DefactoModel> models = new ArrayList<DefactoModel>();
        for (File mappingFile : modelFiles) {
            if (!mappingFile.isHidden() && confirmedFilenames.contains(mappingFile.getName())) {
                try {
                    Model model = ModelFactory.createDefaultModel();
                    model.read(new FileReader(mappingFile), "", "TTL");
                    String name = mappingFile.getParent().replace("resources/training/data/", "") + "/" + mappingFile.getName();
                    boolean isCorrect = false;
                    if (mappingFile.getAbsolutePath().contains("data/true")) isCorrect = true;
                    logger.info("Loading "+isCorrect+" triple from file: " + mappingFile.getName());
                    models.add(new DefactoModel(model, name, isCorrect));
                }
                catch (FileNotFoundException e) {
                    e.printStackTrace();
                }
            }
        }
        return models;
    }
