Error on triple insert in JS

Original email from mailing list:

Hi,

I am trying to add following triple for which following is the code in my javascript file:-

const  triple = "<http://example/book1>  ns:price  42";

conn.query({
               database: "fibo",
                  query: `insert data {'${triple}'}`,
               limit: 10,
               offset: 0
            },

and I am getting this error :

Data block for update operation could not be parsed: Illegal subject value: ""^^<http://www.w3.org/2001/XMLSchema#string>

Please provide your valuable suggestion.

Kind Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.