Components of a pathway, steps of pathway and controller of the chemical reaction and EC of enzyme.

Database: 
Statement: 

Display components and the order of a pathways which contains the term $term$ (e.g. alanine). Display a maximum of $number$ results per page (e.g.10)

Query: 
select* where { ?s<http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://www.biopax.org/release/biopax-level3.owl#Pathway> . ?s<http://www.biopax.org/release/biopax-level3.owl#standardName> ?standardName . ?standardName bif:contains "??term" . OPTIONAL{ ?s<http://www.biopax.org/release/biopax-level3.owl#pathwayOrder>?pathwayOrder . ?pathwayOrder<http://www.biopax.org/release/biopax-level3.owl#stepProcess> ?standardName_pathwayOrder . ?pathwayOrder<http://www.biopax.org/release/biopax-level3.owl#stepConversion>?stepConversion . ?stepConversion<http://www.biopax.org/release/biopax-level3.owl#standardName>?standardName_stepConversion . ?pathwayOrder<http://www.biopax.org/release/biopax-level3.owl#nextStep>?nextStep . ?pathwayOrder<http://www.biopax.org/release/biopax-level3.owl#stepDirection>?stepDirection . } OPTIONAL{ ?s<http://www.biopax.org/release/biopax-level3.owl#pathwayComponent>?pathwayComponent . ?pathwayComponent<http://www.biopax.org/release/biopax-level3.owl#standardName>?standardName_pathwayComponent . } } Limit ??number