Get all worm gene-phenotype associations according to the identifier introduced

Database: 
Statement: 
Get all worm gene-phenotype associations according to the identifier introduced $term$ (e.g. 0000689)
A limit of results per page $number$ (e.g. 10)
Query: 
select ?label ?phenotype_name where{ ?s<http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://bio2rdf.org/wormbase_vocabulary:Gene-Phenotype-Association> . ?s<http://www.w3.org/2000/01/rdf-schema#label> ?label . ?s<http://bio2rdf.org/wormbase_vocabulary:phenotype>?phenotype . ?phenotype<http://bio2rdf.org/bio2rdf_vocabulary:identifier>?phenotype_name . FILTER regex(?phenotype_name, "??term", "i") } Limit ??number
Tags: