Genes of organisms that code an enzyme which participates in a chemical reaction

Database: 
Documentation: 

This query allows users to extract information about genes which are coded by an enzyme that participates in a chemical reaction.

Statement: 

Display genes of organisms which code an enzyme which participate in a chemical reaction $term$ (e.g. oxidoreductase and a maximum of $number$ results.

Query: 
select ?Pathway ?Enzyme ?SystematicName ?Gene ?Label_enzyme where { ?s<http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://bio2rdf.org/kegg_vocabulary:Enzyme>. ?s<http://bio2rdf.org/kegg_vocabulary:gene>?Gene . ?s<http://bio2rdf.org/kegg_vocabulary:reaction>?reaction . ?s<http://www.w3.org/2000/01/rdf-schema#label>?Label_enzyme . ?Label_enzyme bif:contains "'??term'" . } Limit ??number