Relative Content

Tag Archive for pythonsparqlvirtuososparqlwrapper

How to query Virtuoso SPARQL endpoint from Python with user-specific credentials to test performance based on graph permissions?

I am running Virtuoso on a Docker container on localhost:8890. My goal is to test whether adding permissions/restrictions to certain graphs results in time inefficiencies when querying. For this reason, through Virtuoso Conductor, I have created users, other than the dba, with different permissions regarding access to the graphs/ontologies I have loaded. Through the ISQL interface on Virtuoso Conductor (localhost:8890/conductor/isql.vspx), it is possible to run queries by choosing which user is executing it directly from the interface, but there is no way to estimate the response time. Additionally, I would like to do this by querying the endpoint from Python, for example.