Display all chemical compounds and gene associations from CTD database according to the introduced term

Database: 
Statement: 

Display all chemical compounds and gene associations according to the introduced term (gene or chemical compound) $chemicalgene$ (e.g. p53). A limit of results per page $number$ (e.g., 100)

Query: 
select ?s ?label where{ ?s a <http://bio2rdf.org/ctd_vocabulary:Chemical-Gene-Association> . ?s<http://www.w3.org/2000/01/rdf-schema#label>?label . Filter regex (?label, "??chemicalgene", "i") . } limit ??number
Tags: