Give me {theory} that {named by} {Fred Hoyle} and which contains the word {bang} in their name
Let me know the hypothesis that was named by Fred Hoyle and contains the word blast within the title
Tell me the theory that was named by Fred Hoyle and contains the word bang in the name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:theory . ?w property:named_by resource:Fred_Hoyle . FILTER ( CONTAINS ( LCASE ( ?w ) , 'bang' ) ) }
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/Q17737>. ?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/P3938> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q183397>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'bang')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q17737 . ?sbj wdt:P3938 wd:Q183397 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'bang')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 