public static void setup() {
simpleService = new SerializationServiceBuilder().build();
SerializationConfig config = new SerializationConfig();
SerializerConfig scBNode = new SerializerConfig().setImplementation(new BNodeSerializer()).setTypeClass(KiWiAnonResource.class);
config.addSerializerConfig(scBNode);
SerializerConfig scBoolean = new SerializerConfig().setImplementation(new BooleanLiteralSerializer()).setTypeClass(KiWiBooleanLiteral.class);
config.addSerializerConfig(scBoolean);
SerializerConfig scDate = new SerializerConfig().setImplementation(new DateLiteralSerializer()).setTypeClass(KiWiDateLiteral.class);
config.addSerializerConfig(scDate);
SerializerConfig scDouble = new SerializerConfig().setImplementation(new DoubleLiteralSerializer()).setTypeClass(KiWiDoubleLiteral.class);
config.addSerializerConfig(scDouble);
SerializerConfig scInt = new SerializerConfig().setImplementation(new IntLiteralSerializer()).setTypeClass(KiWiIntLiteral.class);
config.addSerializerConfig(scInt);
SerializerConfig scString = new SerializerConfig().setImplementation(new StringLiteralSerializer()).setTypeClass(KiWiStringLiteral.class);
config.addSerializerConfig(scString);
SerializerConfig scTriple = new SerializerConfig().setImplementation(new TripleSerializer()).setTypeClass(KiWiTriple.class);
config.addSerializerConfig(scTriple);
SerializerConfig scUri = new SerializerConfig().setImplementation(new UriSerializer()).setTypeClass(KiWiUriResource.class);
config.addSerializerConfig(scUri);
fullService = new SerializationServiceBuilder().setConfig(config).build();