I created a notebook demonstrating examples of running SPARQL queries against the Japan Search RDF store using Google Colab. I hope it serves as a useful reference when using RDF stores with Python.
Other reference sites and tutorials include the following.

Japan Search 非公式サポートページ
ジャパンサーチの(主として利活用スキーマの)応用や活用に関する情報。利用のための材料、ツールとSPARQLエンドポイント、技術情報など。
利活用テンプレート | NDLラボ
NDLラボは、次世代の図書館システムの開発に資する要素技術の実証実験を行うためのウェブサイトです。NDLラボでは、国立国会図書館のサーバ環境や国立国会図書館が持つデジタル化資料のデータ・書誌データなどを研究者等に提供し、研究者等はその資源を使ってソフトウェア等の実験をします。



Comments
…