Added SPARQL query for detecting all document identifiers.