File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,18 +77,18 @@ class SPARQLStore(SPARQLConnector, Store):
7777 ### Usage example
7878
7979 ```python
80- >>> from rdflib import Dataset # doctest: +SKIP
80+ >>> from rdflib import Dataset
8181 >>> from rdflib.plugins.stores.sparqlstore import SPARQLStore
8282 >>>
83- >>> g = Dataset(
83+ >>> g = Dataset( # doctest: +SKIP
8484 ... SPARQLStore("https://query.wikidata.org/sparql", returnFormat="xml"),
8585 ... default_union=True
8686 ... )
8787 >>>
88- >>> res = g.query("SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 5")
88+ >>> res = g.query("SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 5") # doctest: +SKIP
8989 >>>
9090 >>> # Iterate the results
91- >>> for row in res:
91+ >>> for row in res: # doctest: +SKIP
9292 ... pass # but really you'd do something like: print(row)
9393 >>>
9494 >>> # Or serialize the results
You can’t perform that action at this time.
0 commit comments