I am new to this and struggling to find any information relating to
configuring fuseki so that I can listen to the events when inserting into
the triple store.  I have the following code which I can see is running
from the logs.   But the listener doesn't seem to be triggered.  Any help
would be appreciated.

public class Listener {

    public static void init() {
        System.err.println("Starting process...");
        Model m = ModelFactory.createDefaultModel();

        m.register(new ChangedListener() {
            @Override
            public void addedStatement(Statement statement) {
                System.err.println("New statement added: " + statement);
            }
            @Override
            public void removedStatement(Statement statement) {
                System.err.println("Statement removed: " + statement);
            }
        });

        System.err.println("Registered ChangedListener 0...");

}

Reply via email to