Apache Fuseki: invoke str function

老子叫甜甜 提交于 2019-12-11 04:39:38

问题


I would run this query:
SELECT DISTINCT ?id str(?name)
but Fuseki give me this error: This line is invalid.Expected ( VAR1...
I would need a string value of ?name.


回答1:


I suppose you are talking about something like this.

This message is a warning produced by Fuseki component called YASGUI (or rather YASQE).

You have two options:

  • Use more conformant syntax, i. e. SELECT DISTINCT ?id (str(?name) AS ?str_name) etc.

  • Ignore this warning and run your query, Jena ARQ should accept it and return a result.



来源:https://stackoverflow.com/questions/44827708/apache-fuseki-invoke-str-function

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