def in_general_ns(uri):
RDFuri = RDF.uri<EOL>RDFSuri = RDFS.uri<EOL>for ns in (RDFuri, RDFSuri, OWL, SKOS, DC):<EOL><INDENT>if uri.startswith(ns):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Return True iff the URI is in a well-known general RDF namespace.

    URI namespaces considered well-known are RDF, RDFS, OWL, SKOS and DC.