Display all phenotypes from GWAS data set according to the introduced term

Database: 
Statement: 
Display all phenotypes from GAS data sets according to the introduced name $title$ (e.g.,cancer)
A limit of results per page $number$ (e.g.10)
Query: 
select distinct * where { graph ?g {?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://purl.org/gwas/schema#phenotype> . ?s<http://purl.org/dc/terms/title>?title . ?s<http://purl.org/gwas/schema#hpoAnnotation>?hpoAnnotation . ?s<http://purl.org/gwas/schema#meshAnnotation>?meshAnnotation . } FILTER regex(?title, "??title") } limit ??number
Tags: