如何在SPARQL REST端点中为MarkLogic指定选项? [英] How do I specify options in the SPARQL REST endpoint for MarkLogic?
本文介绍了如何在SPARQL REST端点中为MarkLogic指定选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我向SPARQL端点查询marklogic时,我正在尝试指定optimize选项:
When I query the SPARQL endpoint for marklogic, I am trying to specify the optimize option:
/v1/graphs/sparql?options=optimize%3D2
这将导致400错误:
REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: No configured options: optimize=2"
This results in a 400 error:
REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: No configured options: optimize=2"
指定此选项和其他选项的正确语法是什么?
What is the correct syntax to specify this and other options?
推荐答案
See reference for GET /v1/graphs/sparql. There is an "optimize" parameter you can specify. For example:
/v1/graphs/sparql?optimize=2
"options"参数接受持久的查询选项.
The "options" parameter accepts the name of persisted query options.
这篇关于如何在SPARQL REST端点中为MarkLogic指定选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文