//metak renderer
de.unikoblenz.isweb.metak4lena.SesameRenderer renderer = new de.unikoblenz.isweb.metak4lena.SesameRenderer();
org.w3c.dom.Document doc;
try {
/* Set up the repository that contains Fresnel lenses and formats */
fresnelRepository = new SailRepository(new MemoryStore());
fresnelRepository.initialize();
RepositoryConnection fresnelConnection = fresnelRepository.getConnection();
FresnelSesameParser fp = new FresnelSesameParser();
File lensFile= new File(TEST_FRESNEL_PROGRAM_FILE_NAME);
fd = fp.parse(lensFile, Constants.N3_READER);
File fresnelFile = new File(TEST_FRESNEL_PROGRAM_FILE_NAME);
fresnelConnection.add(fresnelFile, fresnelFile.toURL().toString(), RDFFormat.N3);
/* Set up the repository that contains RDF data */
dataRepository = new SailRepository(new MemoryStore());
dataRepository.initialize();
RepositoryConnection dataConnection = dataRepository.getConnection();
File dataFile = new File(FOAF_PLANET_TEST_MODEL_FILE);
dataConnection.add(dataFile, dataFile.toURL().toString(), RDFFormat.TRIX);