Get all the reaction of a given pathway according to the pathway name introduced

Database: 
Statement: 
Get all the reaction of a given pathway according to the pathway name introduced $map$ (e.g. Carbohydrate metabolism)
A limit of results per page $number$ (e.g. 10)
Query: 
select distinct ?pathway ?pathname ?o where { ?pathway <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://khaos.uma.es/pathways/Pathway>. ?pathway <http://khaos.uma.es/pathways/reaction> ?o . ?pathway <http://khaos.uma.es/pathways/name> ?pathname . FILTER(regex(?pathname,"??map", "i")) } order by ?pathname limit ??number