Register factory for TripleGraph