Error handling in uri_to_graph
refs #12