diff --git a/docs/docs/integrations/graphs/rdflib_sparql.ipynb b/docs/docs/integrations/graphs/rdflib_sparql.ipynb
index 17d5d562df456..a7eee6dde230a 100644
--- a/docs/docs/integrations/graphs/rdflib_sparql.ipynb
+++ b/docs/docs/integrations/graphs/rdflib_sparql.ipynb
@@ -316,7 +316,7 @@
"id": "eb00a625-a6c9-4766-b3f0-eaed024851c9",
"metadata": {},
"source": [
- "## Return SQARQL query\n",
+ "## Return SPARQL query\n",
"You can return the SPARQL query step from the Sparql QA Chain using the `return_sparql_query` parameter"
]
},
@@ -358,7 +358,7 @@
"\u001b[32;1m\u001b[1;3m[]\u001b[0m\n",
"\n",
"\u001b[1m> Finished chain.\u001b[0m\n",
- "SQARQL query: PREFIX foaf: \n",
+ "SPARQL query: PREFIX foaf: \n",
"SELECT ?workHomepage\n",
"WHERE {\n",
" ?person foaf:name \"Tim Berners-Lee\" .\n",
@@ -370,7 +370,7 @@
],
"source": [
"result = chain(\"What is Tim Berners-Lee's work homepage?\")\n",
- "print(f\"SQARQL query: {result['sparql_query']}\")\n",
+ "print(f\"SPARQL query: {result['sparql_query']}\")\n",
"print(f\"Final answer: {result['result']}\")"
]
},