Open HaritzPuerto opened 1 year ago
Currently, SPARQL will only be shown when it cant get the answer from back-end KG. This could be caused by two reasons:
I agree showing SPARQL would be helpful for explainability. Do we need to change the prediction constructor to make it work?
yes, I think we would need to change the prediction construction, but @timbmg may give a better answer
Hi,
I can print the sparql from https://github.com/UKP-SQuARE/square-core/tree/master/skills/kgqa-kqapro in the UI if it's always returned. To do this, we would need to update the API schema though... and it's getting a bit bulky
Is showing the sparql actually useful? I would indeed help for explainability though
afaik, right now sparql is not only shown for syntax errors in the sparql