Give me {legal status of medicine} that contains the word {uk} in their name
What is the legal status of medicinal products whose name is UK IN IT?
What are the  legal status of medicine   whose name has the word UK IN IT
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:legal_status_of_medicine . FILTER ( CONTAINS ( LCASE ( ?x ) , 'uk' ) ) }
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/Q26715005>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'uk')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q26715005 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'uk')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
General sales list (UK) General sales list (UK) Pharmacy medicine (UK) Pharmacy medicine (UK)