I tried again with "Allow DAV Logins" checked, and for good measure I
added SPARQL_SELECT, SPARQL_UPDATE, and SPARQL_SPONGE to the list of
Selected Account Roles. (Whenever I add "SPARQL_SPONGE it tells me that
SPARQL_SPONGE is already assigned, even when I don't see it in the list
of assigned roles; is it included by SPARQL_UPDATE?) still get HTTP 100
Empty Reply from Server when I try to insert myfoaf.rdf triples and HTTP
409 Conflict when I try to retrieve the predicates with the SELECT
statement shown below.
thanks,
Bob
Hugh Williams wrote:
Hi Bob,
For point 2 when you created the new user account was this a DAV
enabled account which is required for the data insertion. Their is an
option in the conductor to enable DAV logins when you create a new
account.
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 02:31, Bob DuCharme wrote:
Thanks Hugh!
Any suggestions about point 2?
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
<mailto:Virtuoso-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/virtuoso-users