Give me {television character} that {performer} {Basil Rathbone} and which contains the word {holmes} in their name
What is the character previously performed by Basil Rathbone that contains the word " holmes" in its name ?
What is the character already performed by Basil Rathbone that contains the word " holmes" in its name ?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:television_character . FILTER ( CONTAINS ( LCASE ( ?w ) , 'holmes' ) ) . ?w property:performer resource:Basil_Rathbone }
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/Q15773317>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P175> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q336865>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'holmes')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q15773317 . ?sbj wdt:P175 wd:Q336865 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'holmes')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Sherlock Holmes Sherlock Holmes