Give me {seven deadly sins} that contains the word {sloth} in their name
Tell me seven deadly sins whose name has the word sloth in it.
Tell me seven deadly sins whose name has the word sloth in it.
SELECT DISTINCT ?l WHERE { FILTER ( CONTAINS ( LCASE ( ?l ) , 'sloth' ) ) . ?l rdf:type ontology:seven_deadly_sins }
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/Q166502>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sloth')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q166502 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sloth')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 