Give me all the diseases related to two genes introduced

Database: 
Statement: 
Give me all the diseases related to two genes introduced $gene1$ and $gene2$ (e.g.coagulation factor IX, claudin 3)
A limit of results per page $number$ (e.g. 5)
Note: This query can take too much time according to the limit of results established by the user.
Query: 
SELECT DISTINCT * FROM <http://rdf.disgenet.org> WHERE { ?gda <http://semanticscience.org/resource/SIO_000628> ?gene1,?disease . ?gda2 <http://semanticscience.org/resource/SIO_000628> ?gene2,?disease . FILTER(?gda != ?gda2) FILTER(?gene1 != ?gene2) FILTER regex(?disease, "umls/id") FILTER regex(?gene1, "ncbigene") FILTER regex(?gene2, "ncbigene") ?gene1<http://purl.org/dc/terms/title>?geneName1 . ?gene2<http://purl.org/dc/terms/title>?geneName2 . Filter REGEX(?geneName1, "??gene1", "i") Filter REGEX(?geneName2, "??gene2", "i") ?disease<http://purl.org/dc/terms/title>?title_disease . } LIMIT ??number