What is the {enterprise} for {product or material produced} of {butter}
Which industry produces butter?
Which industry produces butter?
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:enterprise . ?f property:product_or_material_produced resource:butter }
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/Q34172> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q6881511> } 
 select distinct ?sbj where { ?sbj wdt:P1056 wd:Q34172 . ?sbj wdt:P31 wd:Q6881511 } 
Rama Ato