def gtype(n):
    """
    Return the a string with the data type of a value, for Graph data
    """
    t = type(n).__name__
    return str(t) if t != 'Literal' else 'Literal, {}'.format(n.language)
def gtype ( n ) : t = type ( n ) . __name__ return str ( t ) if t != 'Literal' else 'Literal, {}' . format ( n . language )
Return the a string with the data type of a value, for Graph data