Give me {minor basilica} that contains the word {st} in their name
Tell me the basilica of a minor whose name contains the word st.
Tell me minor basilica  whose name has the word st in it.
SELECT DISTINCT ?v WHERE { FILTER ( CONTAINS ( LCASE ( ?v ) , 'st' ) ) . ?v rdf:type ontology:minor_basilica }
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/Q120560>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'st')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q120560 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'st')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
San Pietro di Castello San Pietro di Castello Santo Stefano al Monte Celio Santo Stefano Rotondo St. Patrick's Old Cathedral St. Patrick's Old Cathedral Abbey of Santa Giustina Abbey of Santa Giustina San Sebastian Church San Sebastian Church St. George's Church St. George's Church benedictine abbey of Mariastein benedictine abbey of Mariastein St Mark's Basilica St Mark's Basilica Basilica of St. Martin, Bingen am Rhein Basilica of St. Martin, Bingen am Rhein Cathedral Basilica of St. Demetrius Cathedral Basilica of St. Demetrius St. Stephen's Basilica St. Stephen's Basilica St. Maria Lyskirchen, Cologne St. Maria Lyskirchen, Cologne Neustift Abbey Neustift Abbey Stams abbey Stams abbey Basilica di San Tommaso Apostolo Basilica di San Tommaso Apostolo Cathedral Basilica of St. Mary and St. Juvenal Cathedral Basilica of St. Mary and St. Juvenal Basilika St. Marcellinus und Petrus Basilika St. Marcellinus und Petrus St Patrick's Basilica, Fremantle St Patrick's Basilica, Fremantle Holy Hill National Shrine of Mary, Help of Christians Holy Hill National Shrine of Mary, Help of Christians Basilica of St. Severin Basilica of St. Severin Sacro Cuore di Cristo Re Sacro Cuore di Cristo Re St. Stephen's Basilica, Jerusalem St. Stephen's Basilica, Jerusalem Basilica of St. Martin, Tours Basilica of St. Martin, Tours Santa Cecilia in Trastevere Santa Cecilia in Trastevere Santi Apostoli Santi Apostoli