01: package org.ontoware.semversion.dev;
02:
03: import java.io.File;
04: import java.io.FileNotFoundException;
05:
06: import org.ontoware.rdf2go.model.Syntax;
07: import org.ontoware.rdf2go.util.ModelUtils;
08:
09: public class ConvertTurtle2RdfXml {
10:
11: public static void main(String[] args) throws FileNotFoundException {
12: File in = new File("./src/main/resources/semversion.n3");
13: File out = new File("./src/main/resources/semversion.rdf.xml");
14: ModelUtils.convert(in, Syntax.Turtle, out, Syntax.RdfXml);
15: }
16:
17: }
|