Encountered " "limit" "limit "" at line 1, column 56.
Was expecting one of:
<EOF>
";" ...
Hi,
On Tue, Sep 23, 2014 at 9:28 AM, Maatary Okouya <maatar...@gmail.com> wrote:
> I keep on trying to insert some data but it does not work? what am i doing
> wrong ? I just copy the example online:
>
> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX ns:
> <http://example.org/ns#> INSERT DATA { GRAPH <http://example/bookStore> {
> <http://example/book1> ns:price 42 } }
>
> or even something simpler
>
> Insert data {<http://ex.com/me> a <http://ex.com/you>}
>
> I keep on getting the following error:
>
> Error!
>
> Encountered " "limit" "limit "" at line 1, column 56.
> Was expecting one of:
> <EOF>
> ";" ...
I suspect you are trying this via the WebConsole. Try on the command line, e.g.
$ bin/stardog query test "Insert data {<http://ex.com/me> a
<http://ex.com/you>}"
To me it looks like limit is added to a user query by the WebConsole.
The WebConsole does support adding data files, but I guess not update
queries.
~ maatary$ stardog query chap1DB \
> "
> PREFIX dc: <http://purl.org/dc/elements/1.1/>
>
> INSERT DATA
> {
> <http://example/book1> dc:title "A new book" ;
> dc:creator "A.N.Other" .
> }
> "
Not a valid query string or a file: PREFIX dc: <http://purl.org/dc/elements/1.1/>
INSERT DATA
{
<http://example/book1> dc:title A
This kinda frustrating. In my use case i need to update data quite often. What is the proper way to do that with stardog that is w3c compliant ? Other what is the custom way ?
is it? please let me know what i'm doing wrong. That would help.