What is the {animation studio} for {operator} of {American Broadcasting Company}
Notice the activity studio worked for working the American Broadcasting Company
Mention the animation studio built for operating the American Broadcasting Company
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:animation_studio . resource:American_Broadcasting_Company property:operator ?n }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q169889> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P137> . ?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/Q1107679> } 
 select distinct ?obj where { wd:Q169889 wdt:P137 ?obj . ?obj wdt:P31 wd:Q1107679 } 