RDFLib / prez

Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Fix broken profiles #185

Closed recalcitrantsupplant closed 10 months ago

recalcitrantsupplant commented 10 months ago

Fixes profiles by creating a system store with Pyoxigraph for system data. At this point only profiles are added to this system graph. When a profiles related endpoint is called, this internal system repo is used. The RDFLib graph cache is still used elsewhere. Ultimately the Pyoxigraph store for system data can replace the various RDFLib caches.

Fixes #184

recalcitrantsupplant commented 10 months ago

The profiles endpoints used the same repo dependency as other endpoints so profiles data was being looked for there rather than the RDFLib Graph where it was stored. And the tests didn't cover these endpoints.