doing some refactoring (TripleStore should be an injected bean still)