@@ -0,0 +1,1719 @@
+/**%0A * Copyright (c) 2016, German Neuroinformatics Node (G-Node)%0A *%0A * All rights reserved.%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted under the terms of the BSD License. See%0A * LICENSE file in the root of the Project.%0A */%0A%0Apackage org.g_node.converter;%0A%0Aimport com.hp.hpl.jena.rdf.model.Model;%0Aimport org.apache.jena.riot.RiotException;%0Aimport org.apache.log4j.Logger;%0Aimport org.g_node.micro.rdf.RdfFileServiceJena;%0A%0A/**%0A * Class opening an RDF file and saving the resulting model to another RDF format.%0A *%0A * @author Michael Sonntag (sonntag@bio.lmu.de)%0A */%0Apublic final class ConverterJena %7B%0A    /**%0A     * Access to the main LOGGER.%0A     */%0A    private static final Logger LOGGER = Logger.getLogger(ConverterJena.class.getName());%0A%0A    /**%0A     * Method to convert data stored in one RDF format to another RDF format and save the results to a new file.%0A     * @param inputFile File containing RDF data.%0A     * @param outputFile File to which the RDF data will be written.%0A     * @param outputFormat RDF format of the output file.%0A     */%0A    public static void runConverter(final String inputFile, final String outputFile, final String outputFormat) %7B%0A        Model convertData;%0A%0A        try %7B%0A            ConverterJena.LOGGER.info(%22Reading input file...%22);%0A            convertData = RdfFileServiceJena.openModelFromFile(inputFile);%0A%0A        %7D catch (RiotException e) %7B%0A            ConverterJena.LOGGER.error(e.getMessage());%0A            // TODO find out how to print stacktrace to log4j logfile%0A            e.printStackTrace();%0A            return;%0A        %7D%0A%0A        RdfFileServiceJena.saveModelToFile(outputFile, convertData, outputFormat);%0A%0A    %7D%0A%0A%7D%0A

Add rdf to rdf converter class