considering graphs when looking for a URI