Give me {inner planet} that contains the word {venus} in their name
Let me know internal plant whose title has the word venus in it.
Tell me inner plant whose name has the word venus in it.
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:inner_planet . FILTER ( CONTAINS ( LCASE ( ?g ) , 'venus' ) ) }
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/Q3504248>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'venus')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q3504248 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'venus')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Venus Venus