I think RDF 1.1 allows blank nodes for graph URIs so this check might need expanding