Get all gene products that are part of a pathway which contains the introduced term

Statement: 
Get all geneproducts that are part of a pathway which contains an introduced term $title$ (e.g. aspartate, glucose etc.).
A limit number of result per page $number$ (e.g.10)
Query: 
prefix wp: <http://vocabularies.wikipathways.org/wp#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dcterms: <http://purl.org/dc/terms/> select distinct ?pathway ?label where { ?geneProduct a wp:GeneProduct . ?geneProduct rdfs:label ?label . ?geneProduct dcterms:isPartOf ?pathway . FILTER REGEX(?label, "??title", "i") } Limit ??number
Tags: