What is the {chemical compound} for {medical condition treated} of {inflammation}
What sedate treats inflammation?
What drug treats inflammation?
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:chemical_compound . ?e property:medical_condition_treated resource:inflammation }
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/P2175> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q101991> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q11173> } 
 select distinct ?sbj where { ?sbj wdt:P2175 wd:Q101991 . ?sbj wdt:P31 wd:Q11173 } 
ibuprofen diclofenac desoximetasone piroxicam indomethacin betamethasone methylprednisolone dexamethasone prednisone nabumetone halcinonide fluorometholone desonide sulindac triamcinolone naproxen meclofenamic acid clobetasol prednicarbate alclometasone amcinonide Clocortolone diflorasone flurandrenolide fluocinonide Rimexolone prednisolone fluocinolone ketorolac tromethamine aspirin