Hi Bob,

>
>
>Thanks Hugh! 
>
>Any suggestions about point 2? 

Here is what I performed locally on winxp installation:

1. Go to Conductor and click "Create New Account"
2. Enter account name: user11 and also enter pwd, for ex.: 1
3. Check "User Enabled" and "Allow SQL/ODBC Logins"
4. Add roles SPARQL_SELECT and SPARQL_UPDATE
5. Check "Allow DAV logins"
6. Enter for "DAV Home path": /DAV/home/user11/
7. Check the "create" check-box.
8. Click "Save".

Then I've executed this (being in the folder where I have a myfoaf.rdf file):



$ curl -T myfoaf.rdf http://host:port/DAV/home/user11/rdf_sink/myfoaf.rdf -u 
user11:1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><HTML><HEAD><TITLE>201 
Created</TITLE></HEAD><BODY><H1>Created</H1>Resource 
/DAV/home/user11/rdf_sink/myfoaf.rdf has been created.</BODY></HTML>


Hope this to help.

Best Regards,
Rumi

  

>
>Bob
>
>Hugh Williams wrote: 
>Hi Bob, 
>
>
>The problem in point 1 is a known issue, which will be fixed in the next VOS 
>release. A work around in the meantime is a run the following commands to 
>grant the necessary execute permissions on the procedure:
>
>
>grant execute on SPARQL_INSERT_DICT_CONTENT to "SPARQL" 
>grant execute on SPARQL_INSERT_DICT_CONTENT to SPARQL_UPDATE
>
>
>Best Regards
>Hugh Williams
>Professional Services
>OpenLink Software
>Web: http://www.openlinksw.com
>Support: http://support.openlinksw.com
>Forums: http://boards.openlinksw.com/support
>
>
>
>
>
>
>On 10 Feb 2009, at 00:03, Bob DuCharme wrote:
>
>
>I'm not having much luck with the RDF insertion methods that I've tried 
>from at 
>http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFInsert. 
>I'm using Windows XP.
>
>
>1. In the "SPARQL Insert via /sparql endpoint" section, the INSERT query 
>in step 1 did not work at http://localhost:8890/sparql. I took the word 
>"SPARQL" off the beginning and the semicolon off the end and the 
>processor got further with the query, but I got "Error SR186: No 
>permission to execute procedure DB.DBA.SPARQL_INSERT_DICT_CONTENT", even 
>though I was logged in as the dba.
>
>
>2. Trying to do it via HTTP: I defined a user1 ID from the conductor, 
>and it does show up on the Conductor /System Admin/User Accounts page, 
>but I can't log in with that ID.
>
>
>The following just got me "HTTP/1.1 100 Continue, curl: (52) Empty reply 
>from server."
>
>
>      curl -i -T myfoaf.rdf 
>http://localhost:8890/DAV/user1/rdf_sink/myfoaf.rdf -u user1:pw1
>
>
>I was hoping that the following query would work against that data, but 
>it gets me an "HTTP 409 conflict" returned:
>
>
>        curl -i -u "demo1:pw1"  -H "Content-Type: 
>application/sparql-query" -d "SELECT DISTINCT ?p WHERE {?s ?p ?o}" 
>http://localhost:8890/DAV/user1/rdf_sink/myfoaf.rdf
>
>
>Any suggestions as to what I'm doing wrong? I'm more interested in the 
>HTTP interface than the web-based one.
>
>
>thanks,
>
>
>Bob DuCharme
>snee.com/bobdc.blog
>@bobdc
>
>
>
>
>------------------------------------------------------------------------------
>Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
>software. With Adobe AIR, Ajax developers can use existing skills and code to
>build responsive, highly engaging applications that combine the power of local
>resources and data with the reach of the web. Download the Adobe AIR SDK and
>Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>_______________________________________________
>Virtuoso-users mailing list
>Virtuoso-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>
>
>
>--------------------------------------------------------------------------------
>
>
>------------------------------------------------------------------------------
>Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
>software. With Adobe AIR, Ajax developers can use existing skills and code to
>build responsive, highly engaging applications that combine the power of local
>resources and data with the reach of the web. Download the Adobe AIR SDK and
>Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>
>
>--------------------------------------------------------------------------------
>
>
>_______________________________________________
>Virtuoso-users mailing list
>Virtuoso-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to