You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far I was using the sparqljs Generator to create SPARQL Update strings in the following way:
var sparqljs = require("[email protected]")
var updateStructure = {"type":"update","updates":[{"updateType":"insert","insert":[{"triples":[{"subject":"http://aksw.org/NatanaelArndt","predicate":"http://xmlns.com/foaf/0.1/name","object":"\"Natanael Arndt\"","graph":""}],"type":"graph","name":"http://aksw.org/"}]}]}
var generator = new sparqljs.Generator()
var updateString = generator.stringify(updateStructure)
console.log(updateString)
var sparqljs = require("[email protected]")
var updateStructure = {"type":"update","updates":[{"updateType":"insert","insert":[{"triples":[{"subject":"http://aksw.org/NatanaelArndt","predicate":"http://xmlns.com/foaf/0.1/name","object":"\"Natanael Arndt\"","graph":""}],"type":"graph","name":"http://aksw.org/"}]}]}
var generator = new sparqljs.Generator()
var updateString = generator.stringify(updateStructure)
console.log(updateString)
This issue/new behavior must have been introduced with #80
The text was updated successfully, but these errors were encountered:
So far I was using the sparqljs Generator to create SPARQL Update strings in the following way:
The actual and expected output was (can be reproduced on https://npm.runkit.com/sparqljs):
Since the update to 3.0.0-beta.0 I get the error
value.items is undefined
in this line:SPARQL.js/lib/SparqlGenerator.js
Line 288 in bd5dfe8
This can be reproduced with the following code on https://npm.runkit.com/sparqljs
This issue/new behavior must have been introduced with #80
The text was updated successfully, but these errors were encountered: