Skip to content

Commit c24d38f

Browse files
committed
Fix type mismatch in test
1 parent 17c717d commit c24d38f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sparqlstore_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
graph.add((dbr.Brisbane, dbo.populationTotal, Literal(2)))
4040

4141
# EXAMPLE Update Store 2:
42-
st = SPARQLUpdateStore(query_endpoint="http://localhost:3030/db/sparql", update_endpoint="http://localhost:3030/db/update")
43-
graph = Graph(store=st, identifier="http://dbpedia.org")
42+
update_store = SPARQLUpdateStore(query_endpoint="http://localhost:3030/db/sparql", update_endpoint="http://localhost:3030/db/update")
43+
graph = Graph(store=update_store, identifier="http://dbpedia.org")
4444
graph.add((dbr["Category:Capitals_in_Europe"], RDF.type, SKOS.Concept))
4545
graph.add((dbr["Category:Holy_Grail"], RDF.type, SKOS.Concept))
4646
graph.add((dbr["Category:Hospital_ships_of_Japan"], RDF.type, SKOS.Concept))

0 commit comments

Comments
 (0)