2025-07-15T23:57:57Z

Add the graph accessor methods as a mix-in onto Store.

Create a Namespace class as a subclass of NamedNode (also wrapped by a Proxy) that is transparent and has the old interface plus an accessor-based one.

Dorian Taylor

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

It turns out the Store already has some kind of prefix map but it apparently only contains strings as values, not Namespace factories.

Sense Atlas Front End

The reason why this may not have been done already is that RDF.Namespace is a closure, which means you can't see the namespace URI inside it.

Write an NSMap class that cosplays as an Object (via Proxy) that also encapsulates the term abbreviation/expansion code and just smuggle it in there along with the rest of the mix-in.