Display all pathways according to an introduced term

Database: 
Statement: 

All biosignaling pathways whose elements contain the term introduced $term$ (Ras, ATP etc.)
A limit of results per page $number$ (e.g. 10)

Query: 
PREFIX biopax-level3: <http://www.biopax.org/release/biopax-level3.owl#> SELECT DISTINCT ?pathwayName WHERE { ?s rdf:type biopax-level3:Pathway . ?s biopax-level3:displayName ?pathwayName. FILTER regex (?pathwayName, "??term", "i") } LIMIT ??number