List Reactions for a given pathway name

Documentation: 
List Reactions for a given pathway name. Result includes left and right part of the reaction.
Statement: 
List Reactions for a given Pathway Name $pname$ and Organism $oname$. Result includes left and right part of the reaction.
Query: 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX biopax3: <http://www.biopax.org/release/biopax-level3.owl#> SELECT ?leftName ?componentName ?rightName WHERE { ?pathway rdf:type biopax3:Pathway . ?pathway biopax3:displayName ?pathwayname FILTER regex(?pathwayname, "??pname", "i" ) . ?pathway <http://www.biopax.org/release/biopax-level3.owl#organism> ?organism . ?organism <http://www.biopax.org/release/biopax-level3.owl#name> ?name FILTER regex(?name, "??oname", "i" ). ?pathway <http://www.biopax.org/release/biopax-level3.owl#pathwayComponent> ?component . ?component rdf:type <http://www.biopax.org/release/biopax-level3.owl#BiochemicalReaction> . ?component <http://www.biopax.org/release/biopax-level3.owl#displayName> ?componentName . ?component <http://www.biopax.org/release/biopax-level3.owl#left> ?left . ?left <http://www.biopax.org/release/biopax-level3.owl#displayName> ?leftName . ?component <http://www.biopax.org/release/biopax-level3.owl#right> ?right . ?right <http://www.biopax.org/release/biopax-level3.owl#displayName> ?rightName . }
Tags: