Display all genes related to SNPs

Statement: 
Display all genes related to SNPs stored in the endpoint
A limit of results per page $number$ (e.g. 10)
Query: 
select ?label ?id_gene ?gene_name where{ ?s<http://www.w3.org/2000/01/rdf-schema#label> ?label . ?s<http://bio2rdf.org/pharmgkb_vocabulary:gene>?gene . ?gene <http://purl.org/dc/terms/identifier>?id_gene . ?gene<http://purl.org/dc/terms/title>?gene_name . } limit ??number