Give me {binary star} that {constellation} {Canis Major} and which contains the word {sirius} in their name
What is the name of the binary star in Canis Major's constellation that has in its name the word "sirius?"
What is the name of the binary star in the constellation of Canis Major which has the word "sirius" in their name?
SELECT DISTINCT ?d WHERE { FILTER ( CONTAINS ( LCASE ( ?d ) , 'sirius' ) ) . ?d rdf:type ontology:binary_star . ?d property:constellation resource:Canis_Major }
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/Q50053>. ?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/P59> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q10538>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sirius')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q50053 . ?sbj wdt:P59 wd:Q10538 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sirius')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Sirius Sirius Sirius A Sirius A Sirius B Sirius B