This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new e97edf6 [ZEPPELIN-3644] fixed sparql interpreter documentation e97edf6 is described below commit e97edf67a279ec91f43ed9c581c793244f86017f Author: hsteinmueller <harald.steinmuel...@gmail.com> AuthorDate: Tue Nov 19 15:21:01 2019 +0000 [ZEPPELIN-3644] fixed sparql interpreter documentation ### What is this PR for? see #3480 I fixed the documentation for the new configuration. I also added an Acknowledgement, which I forgot, since I did this as part of a research-project at the Fraunhofer SCS. ### What type of PR is it? Documentation ### Todos ### What is the Jira issue? ### How should this be tested? ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: hsteinmueller <harald.steinmuel...@gmail.com> Closes #3524 from hsteinmueller/sparql-hotfix and squashes the following commits: df2f42035 [hsteinmueller] updated sparql readme --- docs/interpreter/sparql.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/interpreter/sparql.md b/docs/interpreter/sparql.md index 542853c..a8778c3 100644 --- a/docs/interpreter/sparql.md +++ b/docs/interpreter/sparql.md @@ -25,7 +25,7 @@ limitations under the License. ## Overview [SPARQL](https://www.w3.org/TR/sparql11-query/) is an RDF query language able to retrieve and manipulate data stored in Resource Description Framework (RDF) format. -Apache Zeppelin uses [Apache Jena](https://jena.apache.org/) to query SPARQL-Endpoints. +Apache Zeppelin for now only supports [Apache Jena](https://jena.apache.org/) to query SPARQL-Endpoints. To query your endpoint configure it in the Interpreter-Settings and use the **%sparql** interpreter. Then write your query in the paragraph. @@ -39,6 +39,11 @@ If you want the prefixes to replace the URI's, set the replaceURIs setting. <th>Description</th> </tr> <tr> + <td>sparql.engine</td> + <td>jena</td> + <td>The sparql engine to use for the queries</td> + </tr> + <tr> <td>sparql.endpoint</td> <td>http://dbpedia.org/sparql</td> <td>Complete URL of the endpoint</td> @@ -48,8 +53,19 @@ If you want the prefixes to replace the URI's, set the replaceURIs setting. <td>true</td> <td>Replace the URIs in the result with the prefixes</td> </tr> + <tr> + <td>sparql.removeDatatypes</td> + <td>true</td> + <td>Remove the datatypes from Literals so Zeppelin can use the values</td> + </tr> </table> ## Example -<img src="{{BASE_PATH}}/assets/themes/zeppelin/img/docs-img/sparql-example.png" width="100%"/> \ No newline at end of file +<img src="{{BASE_PATH}}/assets/themes/zeppelin/img/docs-img/sparql-example.png" width="100%"/> + +## Acknowledgement + +This work was partially supported by the Bavarian State Ministry of Economic Affairs, +Regional Development and Energy within the framework of the Bavarian Research and +Development Program "Information and Communication Technology". \ No newline at end of file