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
18 stars 7 forks source link

Improve performance for link generation #189

Closed recalcitrantsupplant closed 5 months ago

recalcitrantsupplant commented 6 months ago

Improves the performance of link generation by using pyoxigraph for profiles queries instead of rdflib.

edmondchuc commented 5 months ago

For context, as discussed in this issue https://github.com/RDFLib/prez/issues/178, this is an interim solution to speed up Prez endpoints that use the link generation function. The full solution will rely on the new RDFrame backend processing where we will be able to filter out certain link generations for certain endpoints.

@jamiefeiss, if you have tested it and there's an improvement, then great! Let's merge it in.