1818
1919**SPARQLWrapper ** is a simple Python wrapper around a `SPARQL <https://www.w3.org/TR/sparql11-overview/ >`_ service to
2020remotely execute your queries. It helps by creating the query
21- invocation and, optionally, converting the result into a more manageable
22- format .
21+ invocation and, optionally, converting the result into more manageable
22+ formats .
2323
2424Installation & Distribution
2525===========================
@@ -35,13 +35,13 @@ You can install SPARQLWrapper from GitHub::
3535You can install SPARQLWrapper from Debian::
3636
3737 $ sudo apt-get install python-sparqlwrapper
38-
38+
3939.. note ::
4040
4141 Be aware that there could be a gap between the latest version of SPARQLWrapper
4242 and the version available as Debian package.
4343
44- Also, the source code of the package can be downloaded
44+ Also, the source code of the package can be downloaded
4545in ``.zip `` and ``.tar.gz `` formats from `GitHub SPARQLWrapper releases <https://github.com/RDFLib/sparqlwrapper/releases >`_.
4646Documentation is included in the distribution.
4747
@@ -125,9 +125,9 @@ This query gets a boolean response from DBPedia's SPARQL endpoint:
125125
126126 sparql = SPARQLWrapper(" http://dbpedia.org/sparql" )
127127 sparql.setQuery("""
128- ASK WHERE {
128+ ASK WHERE {
129129 <http://dbpedia.org/resource/Asturias> rdfs:label "Asturias"@es
130- }
130+ }
131131 """ )
132132 sparql.setReturnFormat(XML )
133133 results = sparql.query().convert()
@@ -307,7 +307,7 @@ Return formats
307307
308308The expected return formats differs per query type (``SELECT ``, ``ASK ``, ``CONSTRUCT ``, ``DESCRIBE ``...).
309309
310- .. note :: From the `SPARQL specification <https://www.w3.org/TR/sparql11-protocol/#query-success>`_,
310+ .. note :: From the `SPARQL specification <https://www.w3.org/TR/sparql11-protocol/#query-success>`_,
311311 *The response body of a successful query operation with a 2XX response is either: *
312312
313313 * ``SELECT `` and ``ASK ``: a SPARQL Results Document in XML, JSON, or CSV/TSV format.
@@ -430,12 +430,12 @@ in the return value). This features becomes particularly useful when the ``OPTIO
430430 GET or POST
431431^^^^^^^^^^^
432432
433- By default, all SPARQL services are invoked using HTTP **GET ** verb. However,
433+ By default, all SPARQL services are invoked using HTTP **GET ** verb. However,
434434**POST ** might be useful if the size of the query
435435extends a reasonable size; this can be set in the query instance.
436436
437437Note that some combinations may not work yet with all SPARQL processors
438- (e.g., there are implementations where **POST + JSON return ** does not work).
438+ (e.g., there are implementations where **POST + JSON return ** does not work).
439439Hopefully, this problem will eventually disappear.
440440
441441
@@ -914,8 +914,7 @@ Organizations involved:
914914* `Salzburg Research <http://www.salzburgresearch.at >`_
915915* `Foundation CTIC <http://www.fundacionctic.org/ >`_
916916
917-
918- .. |Build Status | image :: https://secure.travis-ci.org/RDFLib/sparqlwrapper.svg?branch=master
919- :target: https://travis-ci.org/RDFLib/sparqlwrapper
917+ .. |Build Status | image :: https://github.com/RDFLib/sparqlwrapper/actions/workflows/test.yml/badge.svg
918+ :target: https://github.com/RDFLib/sparqlwrapper/actions/workflows/test.yml
920919.. |PyPi version | image :: https://badge.fury.io/py/SPARQLWrapper.svg
921920 :target: https://pypi.python.org/pypi/SPARQLWrapper
0 commit comments