diff --git a/rdflib/namespace/__init__.py b/rdflib/namespace/__init__.py index a68526e19a..fb6d845b04 100644 --- a/rdflib/namespace/__init__.py +++ b/rdflib/namespace/__init__.py @@ -364,8 +364,8 @@ class NamespaceManager(object): * rdflib: * binds all the namespaces shipped with RDFLib as DefinedNamespace instances * all the core namespaces and all the following: brick, csvw, dc, dcat - * dcmitype, dcterms, dcam, doap, foaf, geo, odrl, org, prof, prov, qb, sdo - * sh, skos, sosa, ssn, time, vann, void, wgs + * dcmitype, dcterms, dcam, doap, foaf, geo, odrl, org, prof, prov, qb, schema + * sh, skos, sosa, ssn, time, vann, void * see the NAMESPACE_PREFIXES_RDFLIB object for the up-to-date list * none: * binds no namespaces to prefixes @@ -906,7 +906,7 @@ def get_longest_namespace(trie: Dict[str, Any], value: str) -> Optional[str]: "prof": PROF, "prov": PROV, "qb": QB, - "sdo": SDO, + "schema": SDO, "sh": SH, "skos": SKOS, "sosa": SOSA, diff --git a/test/test_namespacemanager.py b/test/test_namespace/test_namespacemanager.py similarity index 99% rename from test/test_namespacemanager.py rename to test/test_namespace/test_namespacemanager.py index d688834efb..64a722f1ee 100644 --- a/test/test_namespacemanager.py +++ b/test/test_namespace/test_namespacemanager.py @@ -196,7 +196,7 @@ def test_nman_bind_namespaces( "qb": "http://purl.org/linked-data/cube#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "sdo": "https://schema.org/", + "schema": "https://schema.org/", "sh": "http://www.w3.org/ns/shacl#", "skos": "http://www.w3.org/2004/02/skos/core#", "sosa": "http://www.w3.org/ns/sosa/",