Error on triple insert in JS

Original email from mailing list:


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";

               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: ""^^<>

Please provide your valuable suggestion.

Kind Regards

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