Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to override Sparql Response before calling any rendering plugins #218

Open
EmmanuelDemey opened this issue Feb 22, 2023 · 1 comment

Comments

@EmmanuelDemey
Copy link

Hi,

Before rendering the result of a Sparql query, I would like to do some processing on the JSON returned by the the sparql endpoint (in order to rewrite some data for example).

After looking to the code of Yasgui, Yasr and Yasqe, I did not find any configuration available for this kind of behavior.

Do you have any tips in order implement what I need ?

Thanks.

@tfrancart
Copy link

We have the same need and we do that in the YasR rendering plugin themselves : https://github.com/sparna-git/Sparnatural-yasgui-plugins/blob/main/src/sparnatural-yasr-tablex-plugin/index.ts#L81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants