What is the {enterprise} for {owner of} of {Barbie}
Who is the Barbie company's owner?
Who is the owner of the Barbie enterprise?
SELECT DISTINCT ?e WHERE { ?e property:owner_of resource:Barbie . ?e rdf:type ontology:enterprise }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1830> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q167447> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q6881511> } 
 select distinct ?sbj where { ?sbj wdt:P1830 wd:Q167447 . ?sbj wdt:P31 wd:Q6881511 } 
Mattel