What is {taxon parent} of {blue whale}, that has {vernacular name} is {Rorcual} ?
Who is the parent of the blue whale, whose title is Rocual?
Who is the parent of the blue whale, whose name is Rocual?
SELECT ?k WHERE { ?k property:taxon_common_name ?n . FILTER ( CONTAINS ( ?n , 'Rorcual' ) ) . resource:Balaenoptera_musculus property:parent_taxon ?k }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42196> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P171>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1843> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Rorcual> . }
SELECT ?answer WHERE { wd:Q42196 wdt:P171 ?answer . ?answer wdt:P1843 ?x FILTER(contains(?x , 'Rorcual'))}