Complexes stored in Reactome or PID database by using Pathwaycommons Database

Database: 
Statement: 

Display all complexes stored in the database $database$ (e.g. Reactome). Display a maximum of $number$ (e.g. 100) results.

Query: 
BASE <http://www.biopax.org/release/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX bp: <biopax-level3.owl#> SELECT ?c ?name ?prov WHERE { ?c rdf:type bp:Complex . ?c bp:name ?name . ?c bp:dataSource ?prov . FILTER regex(?prov, "??database", "i") } Limit ??number