Error in using sparql DELETE query using rdflib python -
I am trying to use the triangle rdflib library from the RDF graph, but did not succeed in doing this . My query is learned from follwong. Plugin ('sparkle', 'rdflib.query.Result', ' 'Rdfextras.sparql.query', 'SPARQLQueryResult') bdel = graph.query ("" "PREFIX bibo: This is giving the following error, thanks in advance for any query to solve this problem. Versions of SPARQL queries To run any SPARQL update, you must use Hope it helps!
Pipering. Perpendicular Expectations: Expected "SELECT" (116 in four), (line: 4, colonel: 17) As mentioned, it seems that you are trying to use graph.query which actually expects 'SELECT' only. graph.processUpdate () would be required. For your example, with the following:
process update (graph, "" "PREFIX bibo:
Comments
Post a Comment