What is the {medication} for {material used} of {vinegar}
Which is the medicine that vinegar is utilized as material?
Which is the medication that vinegar is used as material?
SELECT DISTINCT ?j WHERE { resource:vinegar property:made_from_material ?j . ?j rdf:type ontology:medication }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41354> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P186> . ?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/Q12140> } 
 select distinct ?obj where { wd:Q41354 wdt:P186 ?obj . ?obj wdt:P31 wd:Q12140 } 
Ethanol