首页 文章

未找到查询和图表Fuseki Info [108] 400错误

提问于
浏览
0

我正在从现场演示(http://biohackathon.org/d3sparql/)运行查询 . SPARQL endpoints 更改为使用Apache Jena Fuseki服务器构建的localhost endpoints . RDF文件上载并存储在服务器中,并设置SPARQL endpoints . 通过HTTP访问RDF文件的设置基本上是成功的,可以通过终端跟踪更改 .

所以,我正在尝试实现D3Sparkle来可视化数据 . 到目前为止我所做的只是更改 endpoints 并将我的SPARQL查询分别放在D3Sparkle实时演示页面中 . 但是,当我尝试运行查询时,我收到此错误:

[2017-02-25 00:05:30] Fuseki     INFO  [108] GET /ds :: 'data' :: <none> ? query=PREFIX%20up%3A%20%3Chttp%3A%2F%2Fpurl.uniprot.org%2Fcore%2F%3E%0APREFIX%20tax%3A%20%3Chttp%3A%2F%2Fpurl.uniprot.org%2Ftaxonomy%2F%3E%0ASELECT%20%3Froot_name%20%3Fparent_name%20%3Fchild_name%0AFROM%20%3Chttp%3A%2F%2Ftogogenome.org%2Fgraph%2Funiprot%3E%0AWHERE%0A%7B%0A%20%20VALUES%20%3Froot_name%20%7B%20%22Tardigrada%22%20%7D%0A%20%20%3Froot%20up%3AscientificName%20%3Froot_name%20.%0A%20%20%3Fchild%20rdfs%3AsubClassOf%2B%20%3Froot%20.%0A%20%20%3Fchild%20rdfs%3AsubClassOf%20%3Fparent%20.%0A%20%20%3Fchild%20up%3AscientificName%20%3Fchild_name%20.%0A%20%20%3Fparent%20up%3AscientificName%20%3Fparent_name%20.%0A%7D%0A%20%20%20%20%20%20

 [2017-02-25 00:05:30] Fuseki     INFO  [108] 400 Neither ?default nor ?graph in the query string of the request (0 ms)

有没有人有同样的经历或建议?

预先感谢您的帮助 .

1 回答

  • 1

    请求不会定向到查询 endpoints . 通常是 /ds/sparql/ds/query .

    它将是 /ds/data ,这是SPARQL图形存储协议(GSP)操作的默认值 .

    错误来自GSP处理程序 .

相关问题