Added support for raw n-triples text in saveGraph and mergeGraph