public static void main(String[] args) throws IOException, KarmaException {
Group options = createCommandLineOptions();
Parser parser = new Parser();
parser.setGroup(options);
parser.setGroup(options);
HelpFormatter hf = new HelpFormatter();
parser.setHelpFormatter(hf);
parser.setHelpTrigger("--help");
CommandLine cl = parser.parseAndHelp(args);
if (cl == null || cl.getOptions().size() == 0 || cl.hasOption("--help")) {
hf.setGroup(options);
hf.print();
return;
}
filepath = (String) cl.getValue("--filepath");
triplestoreURL = (String) cl.getValue("--triplestoreurl");
context = (String) cl.getValue("--context");