What is the {company} for {chief executive officer} of {Warren Buffett}
What company does Warren Buffett work for?
What company does Warren Buffett work for?
SELECT DISTINCT ?e WHERE { ?e property:chief_executive_officer resource:Warren_Buffett . ?e rdf:type ontology:company }
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/P169> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q47213> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q783794> } 
 select distinct ?sbj where { ?sbj wdt:P169 wd:Q47213 . ?sbj wdt:P31 wd:Q783794 } 
Berkshire Hathaway