Get all genes related to an enzyme according to the E.C number introduced

Database: 
Statement: 
All genes related to an enzyme according to the E.C number introduced $EC$ (e.g. 4.1.3.36)
A limit of results $number$ (e.g. 10)
Query: 
select distinct ?uri ?name where { { ?uri <http://khaos.uma.es/pathways/enzymaticActivity> <http://bio2rdf.org/ec:??EC>. ?uri a <http://khaos.uma.es/pathways/Protein>. ?uri <http://khaos.uma.es/pathways/name> ?name_protein. } UNION { <http://bio2rdf.org/ec:??EC> <http://khaos.uma.es/pathways/gene> ?uri. ?uri a <http://khaos.uma.es/pathways/Gene>. ?uri <http://khaos.uma.es/pathways/id> ?name_gene. } } Limit ??number
Tags: