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

OBA will never return data from a graph. #168

Open
DougalW opened this issue Jul 28, 2022 · 1 comment
Open

OBA will never return data from a graph. #168

DougalW opened this issue Jul 28, 2022 · 1 comment
Labels
bug Something isn't working high priority

Comments

@DougalW
Copy link

DougalW commented Jul 28, 2022

When testing OBA on the DBPedia Music example, and creating local API servers, OBA will never return data from a Graph.

Our testing suggests that the framed @context variable is not populated with the result set returned from a triple store, and so when it is processed by PyLD, it drops the graph result set and hence never returns data to the calling web page.

@dgarijo
Copy link
Contributor

dgarijo commented Aug 1, 2022

The context should be populated with the input ontology, and it should be the same for all queries. Basically, the returned data changes but the context remains the same. That's why OBA would be slower if the ontology used was huge.
Are you sure the context is saved correctly? Other than that, we checked this example and had it with Docker in our early releases. I have not checked if after the latest changes from @mosoriob to OBASparql, the example is still ok. We should have some tests to double check that.

@dgarijo dgarijo added bug Something isn't working high priority labels Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

2 participants