What is the {branch of science} for {studied by} of {chemical compound}
Chemical compounds are examined in what department of science?
Chemical compounds are studied in what branch of science?
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:branch_of_science . resource:chemical_compound property:studied_by ?z }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11173> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2579> . ?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/Q2465832> } 
 select distinct ?obj where { wd:Q11173 wdt:P2579 ?obj . ?obj wdt:P31 wd:Q2465832 } 
chemistry