Fix conrtext_name when graph_uri is set