SPARQL has a lot of similarities to SQL and also is very different. Here I am going to get the English works of Rabindranath Tagore from Wikidata. I will use this as an exercise to learn SPARQL. As you will see, I have not tried to explain the terms here as I expect some knowledge of SQL and Semantic Triples. Since I go step by step, I think it’s easy to understand.
The Indian government maintains the directory and hierarchy of local governments and administrative areas in India called the Local Government Directory (LGD). Recently I wanted to map them to WikiData items. This means I wanted to map the administrative areas in the local government to items on WikiData. Update them if necessary.
I just finished a small personal data project. Once it was done. I wanted to modify it to use data from WikiData, and I wanted the labels in Kannada. So I tried to get a list of districts and wards from WikiData. That lead me to learn SPARQL. I can’t say I am...