Hello,
I'm attempting to insert new triples via the SPARQL endpoint using the
following query:
INSERT DATA
{ GRAPH { update_test:concepts
skos:hasTopConcept update_test:one .
update_test:one skos:prefLabel "one" . } }
WHERE { ?s ?p ?o }
and receive the following error:
**Inv
Hi Justin,
INSERT DATA is not followed by a WHERE clause - just try removing that
WHERE line - none of the variables there are used in the INSERT clause
anyway.
https://www.w3.org/TR/2013/REC-sparql11-update-20130321/#insertData
It probably fails to parse this on its first attempt and then f
Hi Holger,
Thanks for your response. I tried removing the WHERE line but unfortunately
I'm still receiving the same error as before.
Justin
On Monday, November 16, 2020 at 7:25:13 PM UTC-5 Holger Knublauch wrote:
> Hi Justin,
>
> INSERT DATA is not followed by a WHERE clause - just try removi
To clarify, how are you running this query - are you making web service
calls or do you go through the Web UI? Maybe the prefix definitions are
missing and the parsing fails? Can you make the INSERT DATA variation
work from the web UI?
Holger
On 11/18/2020 2:13 AM, Justin Lien wrote:
Hi Hol
Hi Holger,
I actually just figured it out; it was user error. I was accidentally
hitting to the query endpoint instead of the update endpoint. Everything
works as expected now.
Thank you!
Justin
On Tuesday, November 17, 2020 at 6:07:00 PM UTC-5 Holger Knublauch wrote:
> To clarify, how are y