SPARQL is the language you can use to query Wikidata. See:
https://query.wikidata.org/
It's used in the last part of the book in the real-world functional application we are developing. This application is querying Wikidata for locations and movies. We are showing how this kind of side-effectful program can be written using just immutable values and pure functions.
After reading and understanding these techniques, a reader can reuse this knowledge to write programs that have SQL queries or Web Service HTTP requests. So, again, SPARQL is just an example. I chose it because chances are Wikidata will stay with us for a loooong loooong time so the book will be up-to-date, hopefully, that long as well.