Give me all disease-disease associations related by the NCBI id of a specific gene

Database: 
Statement: 
Give me all disease-disease associations related by the gene introduced $name$ (e.g. ncbi id = 1019)
A limit of results per page $number$ (e.g.10).
Query: 
SELECT DISTINCT ?diseaseName ?diseaseName2 ?gene FROM <http://rdf.disgenet.org> WHERE { ?gda <http://semanticscience.org/resource/SIO_000628> ?disease,?gene . ?gda2 <http://semanticscience.org/resource/SIO_000628> ?disease2,?gene . FILTER regex(?gene, "??name", "i") FILTER (?disease != ?disease2) FILTER (?gda != ?gda2) FILTER regex(?disease, "umls/id") ?disease <http://purl.org/dc/terms/title> ?diseaseName . FILTER regex(?disease2, "umls/id") ?disease2 <http://purl.org/dc/terms/title> ?diseaseName2 . } LIMIT ??number