Open zwelz3 opened 3 years ago
This ticket is interested in a common process for handling namespaces.
Currently, namespaces must be defined like so:
initNs = { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "res": "https://swapi.co/resource/", "voc": "https://swapi.co/vocabulary/", "base": "https://swapi.co/resource/", }
We should be able to support the values being URIRef and Namespace as well. The entire initNs should also support being a NamespaceManager.
URIRef
Namespace
NamespaceManager
We need a common way to process the namespace (maybe a util) so that queries and other methods can use the namespace object without worry.
This ticket is interested in a common process for handling namespaces.
Currently, namespaces must be defined like so:
We should be able to support the values being
URIRef
andNamespace
as well. The entire initNs should also support being aNamespaceManager
.We need a common way to process the namespace (maybe a util) so that queries and other methods can use the namespace object without worry.