Give me {astronomical object type} that contains the word {void} in their name
Tell me what is the type of astronomical object containing the word void in its name?
Tell me which is the astronomical object type which contains the word void in it's name?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:astronomical_object_type . FILTER ( CONTAINS ( LCASE ( ?g ) , 'void' ) ) }
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/Q17444909>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'void')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q17444909 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'void')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
void void