Give me {female beauty pageant} that starts with {'w'}
Give me the name of the females beauty pageant that starts with the letter W.
WHICH IS THE FEMALES BEAUTY PAGEANT THAT STARTS WITH W
SELECT DISTINCT ?m WHERE { FILTER ( STRSTARTS ( LCASE ( ?m ) , 'w' ) ) . ?m rdf:type ontology:female_beauty_pageant }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q58863414>. ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'w')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q58863414 . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'w')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
World Miss University World Miss University World Coffee Queen World Coffee Queen