Something that would be great to get to would be to extract the SPARQLWrapper logic into a separate function that can be imported. Specifically, in multiple files we have the following:
from SPARQLWrapper import SPARQLWrapper
endpoint_url = "https://query.wikidata.org/sparql"
sparql = SPARQLWrapper(endpoint_url)
Terms
Description
Something that would be great to get to would be to extract the SPARQLWrapper logic into a separate function that can be imported. Specifically, in multiple files we have the following:
Maybe we can put all of this into a
wikidata_utils.py
file in src/scribe_data/wikidata 🤔Contribution
Happy to support someone who has interest in working on this, or can also get to it myself at some point 😊