Hello All,
I did the following to set up personal graph, such that only me can access my
graph via Sparql endpoint.
After creating the user ‘sunday'
1. GRANT SPARQL_UPDATE TO “sunday"
2. DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('nobody', 0);
3. SPARQL CREATE GRAPH <http://example.com/sunday/persons/>;
4. DB.DBA.RDF_GRAPH_USER_PERMS_SET('http://example.com/sunday/persons,
’sunday', 3);
I am using this spaqrlwrapper in my application(django)
https://github.com/RDFLib/sparqlwrapper
<https://github.com/RDFLib/sparqlwrapper>
From the error below I see it’s still using the SPAQRL user to query, but since
I gave permission to only ‘sunday’ it will fail.
How can I query the endpoint within my application via http request and specify
the credentials of the graph owner.
Virtuoso RDF02 Error SR619: SPARUL CLEAR GRAPH access denied: database user 107
(SPARQL) has no write permission on graph http://example.com/sunday/persons/
SPARQL query:
define sql:big-data-const 0
#output-format:application/sparql-results+json
CLEAR GRAPH <http://example.com/sunday/persons/>
Thanks.
Kind Regards.
Sunday Ayandokun
University of Tartu
Tel: +37256724770
Skype: sunday.ayandokun
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users