We collect the SPARQL examples in different formats, for different projects of the Dept of Translational Genomics at Maastricht University where we have a public SPARQL endpoint.
In this GitHub pages we have a HTML rendering for a growing number of them.
Futhermore, we have collected many SPARQL queries around Wikidata, some of which are listed here:
This repository is based on the work by the SIB Swiss Institute of Bioinformatics, and specifically this website repository and this utils repository.