Jena Fuseki Sparql No query= error

前端 未结 1 1037
走了就别回头了
走了就别回头了 2021-01-16 07:19

I am trying to inset data in a jena fuseki graph using this simple query:

PREFIX test:  
INSERT {?subject test:hasName \"Bob\"} 
WHERE         


        
相关标签:
1条回答
  • 2021-01-16 07:48

    Make sure you are pointing at the appropriate endpoint. In Fuseki the queries endpoint (for example, http://localhost:13030/mygraph/query) is different than the update endpoint (http://localhost:13030/mygraph/update).

    Selects, asks and constructs should be done using the first one, while updates, inserts and deletes should be done using the second one.

    0 讨论(0)
提交回复
热议问题