What is the {taxon} for {produced by} of {coral}
Coral is created by which taxon?
What taxon is produced by coral?
SELECT DISTINCT ?d WHERE { resource:coral property:produced_by ?d . ?d rdf:type ontology:taxon }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171446> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2849> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q16521> } 
 select distinct ?obj where { wd:Q171446 wdt:P2849 ?obj . ?obj wdt:P31 wd:Q16521 } 
Anthozoa