fix: change the prefix for https://schema.org/ back to schema (#2… · RDFLib/rdflib@3faa01b (original) (raw)

Original file line number Diff line number Diff line change
@@ -364,8 +364,8 @@ class NamespaceManager(object):
364 364 * rdflib:
365 365 * binds all the namespaces shipped with RDFLib as DefinedNamespace instances
366 366 * all the core namespaces and all the following: brick, csvw, dc, dcat
367 - * dcmitype, dcterms, dcam, doap, foaf, geo, odrl, org, prof, prov, qb, sdo
368 - * sh, skos, sosa, ssn, time, vann, void, wgs
367 + * dcmitype, dcterms, dcam, doap, foaf, geo, odrl, org, prof, prov, qb, schema
368 + * sh, skos, sosa, ssn, time, vann, void
369 369 * see the NAMESPACE_PREFIXES_RDFLIB object for the up-to-date list
370 370 * none:
371 371 * binds no namespaces to prefixes
@@ -906,7 +906,7 @@ def get_longest_namespace(trie: Dict[str, Any], value: str) -> Optional[str]:
906 906 "prof": PROF,
907 907 "prov": PROV,
908 908 "qb": QB,
909 -"sdo": SDO,
909 +"schema": SDO,
910 910 "sh": SH,
911 911 "skos": SKOS,
912 912 "sosa": SOSA,