Hi Núria,

 On 14-Jan-14 11:05 AM, QUERALT ROSINACH, NÚRIA wrote:
Dear all,

I am trying to insert data into named graphs using statements like in a Virtuoso server v7.0.1:

INSERT
   {
     GRAPH <http://example.org>
       {
         ?person  <http://xmlns.com/foaf/0.1/name>  ?name .
         ?person  <http://xmlns.com/foaf/0.1/mbox>  ?email
       }
   }

And the following error come up:

Virtuoso 42000 Error SR186: No permission to execute procedure 
DB.DBA.SPARQL_INSERT_QUAD_DICT_CONTENT with user ID 106, group ID 106

Then i grant "SPARQL" user with the following commands via the isql shell:


grant execute on DB.DBA.SPARQL_INSERT_DICT_CONTENT to "SPARQL";
grant execute on DB.DBA.SPARQL_DELETE_DICT_CONTENT to "SPARQL";

But i've obtained the same error...Could you help me in this issue? Many thanks 
in advance!


As I understand you are trying to execute the insert statement from Virtuoso SPARQL Endpoint ex. http://host:port/sparql is this correct?

If so, by default you cannot insert triples in the Quad Store as public user as I presume you are not using https sparql endpoint rather the default one on http?


Here is collection of examples how you can secure your SPARQL Endpoint -- http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksGuideSPARQLEndpoints

Good example how to set up Virtuoso user permissions ( "SPARQL_UPDATE" Role) so to be able to perform SPARUL over SPARQL protocol: -- http://ods.openlinksw.com/wiki/ODS/OdsSPARQLAuth

Another good example of being able to perform SPARQL Updates: --
Securing your SPARQL Endpoint via OAuth: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtOAuthSPARQL

Documentation: -- http://docs.openlinksw.com/virtuoso/rdfsparql.html#sparqloauthendpointauth


Best Regards,
Rumi Kocis

Best regards,
Núria





--
********************************************************************
Núria Queralt Rosinach
Research Programme on Biomedical Informatics (GRIB)
Department of Experimental and Health Sciences
Universitat Pompeu Fabra
IMIM (Hospital del Mar Medical Research Institute)
C/Dr. Aiguader 88, 08003
Barcelona, Spain
Tel.: +34 93 316 0536
E-mail: nuria.quer...@upf.edu <mailto:nuria.quer...@upf.edu>
http://ibi.imim.es/
********************************************************************



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to