如何在浏览器中通过 HTTP 在 fuseki 中使用 SPARQL 端点

How to use SPARQL endpoint in fuseki with HTTP in the browser

我想在我的浏览器中使用我的 fuseki 端点 http://localhost:3030/ds/query,我试过这样的事情:http://localhost:3030/ds/query=myQuery 但我得到了错误:

Error 404: Not found: dataset='ds' service='query=SELECT+%3Fs+%3Fp+%3Fo%0AWHERE+%7B%0A++%3Fs+%3Fp+%3Fo%0A%7D%0ALIMIT+25'

'ds' 是我的 fuseki 服务器中的默认数据集。

如何在浏览器中使用 HTTP 端点?我只看到带有 curl

的示例

如 AKSE 和 Andy 的评论所述。定义查询参数我使用“?”字符.

像这样:http://localhost:3030/ds/query?query=myQuery
或者这个:http://localhost:3030/ds?query=myQuery