support for text/turtle as input type