Biochemical reactions, reactives and products based on a term

Database: 
Statement: 

Display information abour biochemical reactions, reactives and products on the left and right of the reaction based on a term $term$ (e.g. STAT1). Display a maximum of (e.g.100) $number$ results.

Query: 
select distinct ?comment ?Name ?Name_element_left ?Name_element_right where { ?s<http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://www.biopax.org/release/biopax-level3.owl#BiochemicalReaction> . ?s<http://www.biopax.org/release/biopax-level3.owl#comment>?comment . ?s<http://www.biopax.org/release/biopax-level3.owl#displayName>?Name . Filter (regex (?Name , "??term", "i")) . ?s<http://www.biopax.org/release/biopax-level3.owl#left>?left . ?left<http://www.biopax.org/release/biopax-level3.owl#displayName>?Name_element_left . ?s<http://www.biopax.org/release/biopax-level3.owl#right>?right . ?right<http://www.biopax.org/release/biopax-level3.owl#displayName>?Name_element_right . } Limit ??number
Tags: