What is the {company} for {product or material produced} of {Facebook}
[]
Which company is Facebook owned by?
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:company . ?n property:product_or_material_produced resource:Facebook }
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/P1056> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q355> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q783794> } 
 select distinct ?sbj where { ?sbj wdt:P1056 wd:Q355 . ?sbj wdt:P31 wd:Q783794 } 
Facebook, Inc.