package dk.aau.kah.bits.main;

import java.io.IOException;

import org.apache.jena.rdf.model.Model;

import da.aau.kah.bits.exceptions.InvalidDatabaseConfig;
import dk.aau.kah.bits.database.DatabaseConfig;
import dk.aau.kah.bits.database.DatabaseHandler;
import dk.aau.kah.bits.helpers.ConfigurationLoader;
import dk.aau.kah.bits.helpers.PrintHelper;


public class Bits {

	public static void main(String[] args) {	
		DatabaseHandler databaseHandler;
		DatabaseConfig databaseConfig;
	
		try {
			databaseConfig = ConfigurationLoader.load("onto0st-fact0st-dim0st.json");
			databaseHandler = new DatabaseHandler(databaseConfig);
			Model defaultModel = databaseHandler.getFactModel();
			PrintHelper.printModel(defaultModel);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InvalidDatabaseConfig e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} 
		

		//Query database
		
		//display/save results

	}
	


}

@@ -632,22 +632,19 @@
 %09%09Model 
-defaul
+fac
 tModel =
@@ -706,14 +706,11 @@
 del(
-defaul
+fac
 tMod
@@ -746,46 +746,8 @@
 ) %7B%0A
-%09%09%09// TODO Auto-generated catch block%0A
 %09%09%09e
@@ -808,46 +808,8 @@
 ) %7B%0A
-%09%09%09// TODO Auto-generated catch block%0A
 %09%09%09e

Rename variable