Question: what is fictional detective that contains the word sam in their name
Paraphrase: What is a fictional detective whose name contains the word sam?
SPARQL (Wikidata): SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q3656924 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sam')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Answer: Sam Spade, Sam Spade, John Sampson, John Sampson