Give me {type of magnets} that contains the word {magnet} in their name
What are the kinds of magnets which begins with the word magnet in their name
Tell me type of magnets whose name has the word  magnet in it.
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_magnets . FILTER ( CONTAINS ( LCASE ( ?k ) , 'magnet' ) ) }
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/Q50002046>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'magnet')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q50002046 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'magnet')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
electromagnet electromagnet horseshoe magnet horseshoe magnet dipole magnet dipole magnet permanent magnet permanent magnet Bitter electromagnet Bitter electromagnet superconducting magnet superconducting magnet rare-earth magnet rare-earth magnet electropermanent magnet electropermanent magnet refrigerator magnet refrigerator magnet field magnet field magnet multipole magnet multipole magnet plastic magnet plastic magnet split magnet split magnet