Give me all diseases associated with genes classified which are matched with the term introduced by the user in the PANTHER classification

Database: 
Statement: 
Give me all diseases associated with genes classified which are matched with the term introduced by the user $name$ (e.g. transporter, hydrolase, isomerase etc.) in the PANTHER classification
A limit of results per page $number$ (e.g.10)
Query: 
SELECT DISTINCT ?disease ?diseaselabel ?diseasename FROM <http://rdf.disgenet.org> WHERE { ?panther rdfs:subClassOf <http://semanticscience.org/resource/SIO_000275> ; <http://xmlns.com/foaf/0.1/name> ?panthername . FILTER regex(?panthername, "??name") ?gene <http://semanticscience.org/resource/SIO_000095>?panther . ?gda <http://semanticscience.org/resource/SIO_000628> ?disease,?gene . ?disease rdf:type <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C7057> . FILTER regex(STR(?disease), "umls/id") ?disease <http://xmlns.com/foaf/0.1/name> ?diseasename . ?disease <http://www.w3.org/2000/01/rdf-schema#label>?diseaselabel } LIMIT ??number