No result found on delete

烈酒焚心 提交于 2019-12-10 10:10:00

问题


I have the following delete statement:

delete {?s ?p ?o} {<http://www.example.org/test/unit213> ?p ?o.
        ?s ?p ?o}

The URI http://www.example.org/test/unit213 is valid, since I get on select, among others,

<http://www.example.org/test/unit213>   rdf:type <http://www.example.org/test/unit>

Still, I get the following result:

No result

Can anyone tell me why?


回答1:


That's probably correct, SPARQL Update operations aren't supposed to return any results.

By the way, I would discourage that style of Update without the WHERE keyword, it's very easy to misread.

- Steve



来源:https://stackoverflow.com/questions/8987825/no-result-found-on-delete

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!